Can't send commands to INDI server using NodeJS and indi-client

Can't send commands to INDI server using NodeJS and indi-client - INDI Forum
  • Posts: 2
  • Thank you received: 0

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 212
  • Thank you received: 104
You forget indiClient.getProperties();
The following user(s) said Thank You: Enzo
8 months 20 hours ago #98306

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

  • Posts: 1191
  • Thank you received: 371
I would recommend starting with an existing INDI client (e.g. KStars/EKOS) to observe, which INDI commands are used.

Slewing to the target is not done with TELESKOPE_MOTION_XY. Better take a look at Mount::sendCoords(SkyPoint * ScopeTarget) in KStars, which shows the complexity of simply slewing

Cheers
Wolfgang
8 months 19 hours ago #98308

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

  • Posts: 212
  • Thank you received: 104
A good place to learn the basic properties is the Standard Properties page: www.indilib.org/develop/developer-manual...dard-properties.html
Then you can try the different function with the command indi_setprop to be sure it do what you expect.
I also suggest you start with the mount simulator to prevent unwanted effect on your real mount.
8 months 16 hours ago #98311

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


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 2
  • Thank you received: 0

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 2
  • Thank you received: 0

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

Time to create page: 0.431 seconds