Thibault thanked Hans in topic 10Micron Mount Modelling 2 weeks ago
Thibault replied to the topic 'Setting exposure impossible with CCD Simulator' in the forum. 3 weeks ago

Right ! I am sorry for my last message, what happened is that I had multiple indi binary on my system, and I was launching

./indiserver -vvv indi_simulator_ccd

instead of
./indiserver -vvv [i][b]./[/b][/i]indi_simulator_ccd

Now the error is gone, and I can resume my current work.
But I am still interested in any ressource that would help me to undersand the snooping mechanism.

Read More...

Thibault replied to the topic 'Setting exposure impossible with CCD Simulator' in the forum. 3 weeks ago

I tried with the latest version, but unfortunately, I still get the same error, after setting EQ PE in Simulator config

Read More...

Thibault replied to the topic 'Setting exposure impossible with CCD Simulator' in the forum. 3 weeks ago

Ok, looking at the code from

libindi/libs/indibase/indiccd.cpp
, I realized that I did not understood your advice.

Looking at this code, it looks absolutely impossible to use CCD Simulator without pairing with a telescope as a "snooping device".

I may be wrong on this, but to me, it looks like it is impossible to setup a simple script that launch acquisition on a camera, without first pairing it through a complex mechanism (snooping) to another device that is absolutely not used.

Read More...

Thibault replied to the topic 'Setting exposure impossible with CCD Simulator' in the forum. 3 weeks ago

Thank you@knro for your valuable help.
However, it is still very difficult for me to apply your advices:

First I had to check wether the property you where talking about was a switch/text/number, and found answer in the c++ source code: it looks like it is a hierarchical number.
Then I tried to send those to the server and it looks like it did not worked :

2018-01-03T16:55:01: Client 0: read newNumberVector CCD Simulator EQUATORIAL_PE 
      RA_PE='12'
     DEC_PE='45'
2018-01-03T16:55:01: Driver indi_simulator_ccd: queuing responsible for <newNumberVector device='CCD Simulator' name='EQUATORIAL_PE'>
2018-01-03T16:55:01: Driver indi_simulator_ccd: sending msg copy 1 nq 1:
<newNumberVector device="CCD Simulator" name="EQUATORIAL_PE">
    <oneNumber name="RA_PE">
12
    </oneNumber>
    <oneNumber name="DEC_PE">
45
    </oneNumber>
</newNumberVector>

2018-01-03T16:55:01: Driver indi_simulator_ccd: read setNumberVector CCD Simulator EQUATORIAL_PE Ok
      RA_PE='12'
     DEC_PE='45'
2018-01-03T16:55:01: Client 0: queuing <setNumberVector device='CCD Simulator' name='EQUATORIAL_PE'>
2018-01-03T16:55:01: Client 0: sending msg copy 1 nq 1:
<setNumberVector device="CCD Simulator" name="EQUATORIAL_PE" state="Ok" timeout="60" timestamp="2018-01-03T16:55:01">
    <oneNumber name="RA_PE">
12
    </oneNumber>
    <oneNumber name="DEC_PE">
45
    </oneNumber>
</setNumberVector>

2018-01-03T16:55:01: Client 0: read newNumberVector CCD Simulator CCD_EXPOSURE 
 CCD_EXPOSURE_VALUE='5'
2018-01-03T16:55:01: Driver indi_simulator_ccd: queuing responsible for <newNumberVector device='CCD Simulator' name='CCD_EXPOSURE'>
2018-01-03T16:55:01: Driver indi_simulator_ccd: sending msg copy 1 nq 1:
<newNumberVector device="CCD Simulator" name="CCD_EXPOSURE">
    <oneNumber name="CCD_EXPOSURE_VALUE">
5
    </oneNumber>
</newNumberVector>

2018-01-03T16:55:01: Driver indi_simulator_ccd: read message CCD Simulator   '[ERROR] Telescope coordinates missing. Make sure telescope is connected and its name is set in CCD Options.'

What should I do ? (I am using your ppa version of indi for now, and currently retrieving the github version for further investigations)

Read More...

Thibault replied to the topic 'Survey type work, seeking right approach' in the forum. 3 weeks ago

Thank you for the prompt response.
I did not took a look into ekos source code yet, but is there a chance that some functionality may be accessible through python wrappers ?

Read More...

Thibault replied to the topic 'Survey type work, seeking right approach' in the forum. 3 weeks ago

Very interesting topic.
As I would like to bypass completely ekos/kstars I was curious about wether it would be possible to use autofocus and plate solver with pyindi ?

If no, why, and what part of indi should I write additional wrapper for ?

Read More...

Thibault created a new topic ' Setting exposure impossible with CCD Simulator' in the forum. 3 weeks ago

Dear all,

As usual, I start with thanking developer of Indi, which for me, THE opensource software that I was waiting for, in order to realize my dream:have a robotic observatory.
Although I am used to C++, I decided to go for python, as I would like to focus more later on high level scientifi stuff.

Unfortunately, I found programming with PyIndi very difficult because of the very sparse documentation, and I found myself unable to find informations about the various python class availbable.

Currently, it looks like I cannot launch an exposure on the CCD simulator because of the following error:

[ERROR] Telescope coordinates missing. Make sure telescope is connected and its name is set in CCD Options.

It looks like the super class of CCDSimulator, IndiCCD, has RA and Dec attributes, that should be set ?!
Although I am not sure to understand why, conceptually it is mandatory to know RA and Dec coordinates before perfoming a shoot, I would like to know how could I overcome this problem, for instance by setting a random value to those.

I took a look at the Python examples here: indilib.org/support/tutorials/166-instal...on-raspberry-pi.html

And it looks like the ccd device should "snoop" for another device informations :
# Ensure the CCD simulator snoops the telescope simulator
# otherwise you may not have a picture of vega
ccd_active_devices=device_ccd.getText("ACTIVE_DEVICES")
while not(ccd_active_devices):
    time.sleep(0.5)
    ccd_active_devices=device_ccd.getText("ACTIVE_DEVICES")
ccd_active_devices[0].text="Telescope Simulator"
indiclient.sendNewText(ccd_active_devices)

It is still unclear to me why the ccd_active_devices is sent to the indiclient directly, and not the ccd device itself ?
Also, what should I do If I dont have a telescope device connected through indi, for instance If I only want to use Indi to automatize ccd acquisition but not mount related stuff ?

Thank you in advance for your help.

Read More...

Thibault thanked Hans in topic 10Micron Mount Modelling 3 months ago
Thibault thanked Jasem Mutlaq in topic 10Micron Mount Modelling 3 months ago
Thibault thanked Jasem Mutlaq in topic Post your INDI Setup! 3 months ago
Thibault replied to the topic 'CF card fills up on Canon 350D?' in the forum. 4 months ago

I'll test that tonight, to see if I get the same error

Read More...

Thibault replied to the topic 'PyIndi/C++ client, how to send text/text vector to indi server' in the forum. 4 months ago

Thank you very much Jaseem !
Worked like a charm, I can know make my old EOS350D to make long exposure shot (I just need to disable automounting of the DSLR as a disk).
Very first step of my automatic acquisition setup is made, there are so many experiments I can do now :)

Thank you again for your precious help.

Read More...

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!