×

INDI Library v2.0.0 Released (01 Feb 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.

Focus driver via PPBA

  • Posts: 8
  • Thank you received: 0
Hi,

I've got a Pegasus Power Box Advance, and also purchased the External Motor Controller and motor to control the focus. This isn't currently supported by the PPBA driver, so I thought I'd try and contribute back and extend the current driver. After chatting with Pegasus Astro, they have kindly updated their documentation to include the serial commands for the XMC device (if connected)

pegasusastro.com/wp-content/uploads/2021...al_Command_Table.pdf

I'm just reading through some of the dev documents, but my question is on the best way to structure this.

As it communicates over the same serial to USB interface as the PPBA, I'm assuming it has to be part of the same driver as only one device can connect to the serial port at once. I would just need to add the INDI::Focuser class to it and insert the controls and any other code needed?

Cheers,

Darren.
2 years 2 weeks ago #66346

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

  • Posts: 8
  • Thank you received: 0
Darren,

I also have these only to find out, that the external motor controller is not yet supported, which is why I am looking for info on this. Is there any news on this in the mean time?

Thank you.
Torsten
1 year 10 months ago #69069

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

  • Posts: 8
  • Thank you received: 0
Hi,

I've not had the time to dive into it all unfortunately. I'm not exactly the worlds best coder so its a fairly big job and I'm not really that sure where to start, which was the reason for my original question which never got answered. 

It does look from the instructions that its just a case of sending commands over the same serial port as you do for the main power commands, but how that would be structured in the code I don't currently know.

Darren.
 
1 year 10 months ago #69070

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

  • Posts: 8
  • Thank you received: 0
Hi,

I did some coding in the past, but did never write a driver or something similar. When time allows, I try to dig into the documentation. Another thing to check is, how the internal motor controller of the UPB2 is handled, if at all. I have that, but never connected it to Kstars. Will check, maybe that gives a hint :)

Cheers
Torsten
1 year 10 months ago #69095

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

Time to create page: 0.740 seconds