×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

I need help to connect the pyxis driver to my arduino code !!

You have two files, nightcrawler.h and .cpp. Copy them to something like myrotator.h and .cpp

In INDI CMakelists.txt, search for the nightcrawler section where it builds the executable. Just copy it and change the the source files and the executable (e.g. indi_myrotator_rotator). Also, edit drivers.xml and add an entry there for your rotator.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 3 weeks ago #76663

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 3
ok
so I'm copying and changing the names here for me
/home/christophe/Projects/indi/drivers/rotator
and the new file I can call "mynightcrawler" in h. and cpp.

but i can't find the way to get there
INDI CMakelists.txt

I'm sorry again for my ignorance on the subject
Christophe
1 month 3 weeks ago #76665

Please Log in or Create an account to join the conversation.

/home/christophe/Projects/indi/CMakeLists.txt

I suggest you download QtCreator and use it as your IDE.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 3 weeks ago #76668

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 3
hello
so this is where I need to edit

################ NightCrawler Focusing Rotator ################

SET(nightcrawler_SRC
${CMAKE_CURRENT_SOURCE_DIR}/drivers/rotator/nightcrawler.cpp) !!! here only ? !!!

add_executable(indi_nightcrawler_focus ${nightcrawler_SRC})
target_link_libraries(indi_nightcrawler_focus indidriver)
install(TARGETS indi_nightcrawler_focus RUNTIME DESTINATION bin)

I have just taken QTCreator, it seems to me much more complex to use, I will look at it and try to understand its functioning
Last edit: 1 month 3 weeks ago by Porchet.
1 month 3 weeks ago #76669

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 3
hello Jasem
I have a question, would it not be easier to take the Pyxis driver which is only for a rotator and adapt the arduino code of the nightcrawler to the Pyxis driver or is it not possible?
Unless I find the Pyxis arduino code, but for the moment I haven't found anything.

See you soon
Christophe
1 month 2 weeks ago #76695

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 3
Hello
does anyone have an idea of the commands that Pyxis sends to the rotator and the denomination.
This would be to create arduino code that works with this driver, of course this is possible.

Thank you very much for your help.
1 month 2 weeks ago #76808

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 3
Hello
I'm coming back to you because I would like to have some help to get Pyxis to control an arduino vode that we made.
I would like to know the command syntaxes to give the angle displacement and the gohome.
And I would like to know what it takes for pyxis to recognize and connect to our arduino.
Thank you very much for your help.
1 month 1 week ago #77032

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 3
Hello again
I'm putting you the Pyxis driver doc, it's in chapter 4.
I'm not sure if this is a good idea, but I'm sure it will be.
I would like to know if there is a way to make my arduino code recognized by the Pyxis driver so that it can recognize the commands that the Pyxis driver sends.
I need the gohome and the angle command
of the rotator

Again, thanks to anyone who can help me
1 month 6 days ago #77144

Please Log in or Create an account to join the conversation.

Time to create page: 0.837 seconds