Emanuele created a new topic ' specific question about set get eval' in the forum. 4 years ago

Here's the problem

I've to move the mount (skywatcher az-eq6) to a couple of angles. I saw in other topics that other users manager to move the mount. In a page of the developer manual, there's a description of the set_prop get_prop tools, but not the actions or the properties, argument to write in the tools in command line. Another question is the following: The set get and eval call any sort of executable on the server or client? If yes, where are situated the related repositories?

Read More...

Emanuele replied to the topic 'Pyindi-client wrappers problem' in the forum. 4 years ago

Ok thanks, I finally managed to follow and complete all the steps :) problem solved :) :cheer:

Read More...

Emanuele replied to the topic 'Pyindi-client wrappers problem' in the forum. 4 years ago

I just realised your comment :woohoo: sorry, just a lapsus :silly:

Read More...

Emanuele replied to the topic 'Pyindi-client wrappers problem' in the forum. 4 years ago

With your last suggestion it worked! :) thank you so much! just a thing... the following step is not very clear for me (sorry, I'm new to this kind of things :S )

6. install ws4py:
sudo mkdir /opt/ws4py
sudo chown user:user /opt/ws4py # !!! you must change user on your system login!

at the end of the 5. step, I'm currently in the libindipython dir. Shall I have to change the dir or follow the step as I read them? and I don't understand # !!! you must change user on your system login! ... Sorry again :dry:

Read More...

Emanuele replied to the topic 'Pyindi-client wrappers problem' in the forum. 4 years ago

CFTSIO will be good for Ubuntu 15.10? I'm currently using a virtual machine. anyway, even in Ekos returns an analogue problem at the same step. :unsure: I'll reply as soon I'll try to install CFTSIO :)

Thanks for all!

Read More...

Emanuele replied to the topic 'Pyindi-client wrappers problem' in the forum. 4 years ago

Ok as soon as possible I will try this. This passage has to be done before anything else or there's no problem of temporal succession?
Is it possible to use Ekos virtual machine to do the steps?

Read More...

Emanuele replied to the topic 'Pyindi-client wrappers problem' in the forum. 4 years ago

Ok then, I followed your steps but I still get an error at cmake ../swig-indi-python

emalabro@emalabro-VirtualBox:~/libindipython$ cmake ../swig-indi-python
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.10")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'libindi'
-- found libindi, version 1.2.0
-- Could NOT find INDI (missing: INDI_MAIN_LIBRARIES) (found version "1.2.0")
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CFITSIO_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/emalabro/swig-indi-python
used as include directory in directory /home/emalabro/swig-indi-python
CFITSIO_LIBRARIES (ADVANCED)
linked by target "_PyIndiDriver" in directory /home/emalabro/swig-indi-python

-- Configuring incomplete, errors occurred!
See also "/home/emalabro/libindipython/CMakeFiles/CMakeOutput.log".

Read More...

Emanuele created a new topic ' Pyindi-client wrappers problem' in the forum. 4 years ago

Dear all

I'm trying to follow the steps on sourceforge.net/p/pyindi-client/wiki/Home/ , but when I try to cmake ../swig-indi-python it returns me the following error:
emalabro@emalabro-VirtualBox:~/libindipython$ cmake ../swig-indi-python
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.2/Modules/FindPythonLibs.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/emalabro/libindipython/CMakeFiles/CMakeOutput.log".

Any suggestion?

Read More...

Emanuele is friends with Jasem Mutlaq

Emanuele replied to the topic 'Mount Control' in the forum. 4 years ago

*scripting tools

Read More...

Emanuele replied to the topic 'Mount Control' in the forum. 4 years ago

Ok then, I think I could use the INDI protocol but create my client by using the script ong tolse to interface my program on Python to the server right?

Read More...

Emanuele replied to the topic 'Mount Control' in the forum. 4 years ago

Ok! But what about set properties not by using INDI protocol between client and server? If I want to set properties from values send by my PC to Raspberry pi on my own way via local network, Once the Pi receive values and in my cpp program i store values as (for example) float dec and float ar, can I use the lib to set properties and send the commando to the Mount? Then I think driver will do the rest, or not? You told me that the .cpp and .h that I can include un my .cpp main don't have methods but can I set properties from values that I have in the program I want to realise?

Read More...

Emanuele replied to the topic 'Mount Control' in the forum. 4 years ago

The project I'm trying to develop is not related to astronomy application. Is about track UAV with an high gain antenna on the Mount. Think you for your support, Really! so there's no way to create a server from myself by inserting the proper .cpp, .h and set properties by not using the INDI client and server ? (Pass the value with socket communication)

Read More...