×

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

Bi-monthly release with minor bug fixes and improvements

Avalon mzero Stargo with lx200 protocol

  • Posts: 15
  • Thank you received: 2
Wolfgang,

Here is the google document. The sync homing commands are a bit more involved and require calculating the LST (Local Sidereal Time) and uploading that to the StarGO. I am currently updating the spreadsheet with more detail on the syncing steps as my understanding increases.

docs.google.com/spreadsheets/d/1J-Hycie6...xbk/edit?usp=sharing

CanisUrsa
6 years 1 month ago #23899

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

One idea might to subclass LX200Generic and then add your own modifications. But if the differences are too great, then start a new driver.
6 years 1 month ago #23901

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

  • Posts: 1187
  • Thank you received: 370
Sure, I will try to find an appropriate base class. Last weekend I tried using lx200_classic. This does not work out of the box since it uses the ACK command during the initial handshake. StarGo does not respond to this command. On the other hand lx200_basic reads the current RA position in the initial handshake which works fine.

I will keep you updated.

Btw: is there somebody out there who can help me with cmake etc? My knowledge is slightly rusty. Maybe not directly here on this thread but rather in direct communication.
6 years 1 month ago #23911

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

  • Posts: 1187
  • Thank you received: 370
OK folks, one step in advance, next problem found :-)

Simply subclassing LX200Generic is not that easy:
  1. LX200Generic contains a local variable called telescope which is a reference to the scope specific subclass of LX200Generic
  2. This local variable is instantiated through the first run of the IsInit method of LX200Generic
My first (naive) idea was simply overriding IsInit() and setting telescope with my new subclass LX200StarGo.

Unfortunately, I cannot access the "telescope" variable from a subclass. Or did I miss some framework magic?

As far as I understand, if I want to use LXGeneric, I need to touch LXGeneric.IsInit adding my new subclass. But this does not look very nice, I do not want to touch the framework itself.

Any suggestions?
6 years 1 month ago #23992

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

  • Posts: 1187
  • Thank you received: 370
Hi,
a first alpha version of my LX200 based StarGo driver is available for testing: github.com/sterne-jaeger/indi.git

It uses LX200Generic als parent, so please do not expect any StarGo specifics. This will be now be added step by step.

Feedback welcome!

Cheers
Wolfgang
The following user(s) said Thank You: Jasem Mutlaq
6 years 1 month ago #24063

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

  • Posts: 1187
  • Thank you received: 370
please use the "stargo_work" branch.
The following user(s) said Thank You: Jasem Mutlaq
6 years 1 month ago #24067

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

  • Posts: 18
  • Thank you received: 4
Good Wolfgang. No : very good.
I will build it and test and try it.
Jean-Jacques
6 years 1 month ago #24101

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

  • Posts: 1187
  • Thank you received: 370
The latest version contains already a "Sync Home Position" button. Feedback welcome.
6 years 1 month ago #24102

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

  • Posts: 18
  • Thank you received: 4
Hello Wolfgang,
I build it and test il yesterday night in my garage.
I do a synchronisation with th button in the indi panel, then I do some gotos.
The area pointed was always good.
Next step, I try it on the sky.
Very goog job !!!!!
Jean-Jacques
6 years 1 month ago #24118

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

  • Posts: 1187
  • Thank you received: 370
Great to hear. At least it works once on two different devices. :-)

I am already in contact with Luciano from Avalon. My next steps are some standard functions like unparking and tracking rates.
6 years 1 month ago #24119

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

  • Posts: 18
  • Thank you received: 4
No three devices :
- an old laptop with ubuntu 17.10 32 bits.
- a newer one with ubuntu 16.04 64 bits.

I will try it on an asus Thinkerboard (lroge.scenari-community.org/KstarsEkosIndi/#Materiel).

It is a good idea to contact Luciano.
6 years 1 month ago #24120

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

  • Posts: 15
  • Thank you received: 2
I have apparently been duplicating work Wolfgang has been doing. When I finished the Focuser and tried to get a telescope up and running I ran into issues with the serial port. I fixed that by making an Avalon driver that handles both Telescope and Focuser (AUX1). Instead of using the lx200basic as a starting point I rolled my own. My intent is to take this knowledge and write an updated bluetooth application.

Features:
- Set Site Location
- Set Park Location
- Park
- Unpark
- Sync Home
- Goto Home
- Set Movement Speed (Guiding/Centering/Finding/Slewing)
- Move mount (N/S/E/W)
- Abort Motion
- Goto RA/DEC
- Sync to RA/DEC
- Abort Telescope Motion
- Turn tracking On/Off
- Change tracking rate Lunar/Solar/SIdereal (the commands are implemented but I think they only activate when you try to slew to the moon or sun, I am trying to get clarification from Jasem)
- Get Firmware Info (Manufacturer/Firmware Version/Firmware Date)
- Change Focuser Speed (Not recommended, Avalon's implementation seems a bit strange, suggest leaving it at "2")
- Move Focuser by Time (Not recommended, still a bit wonky)
- Move Focuser by Absolute Position
- Move Focuser by Relative Motion
- Sync Focuser to Position
- Abort Focuser Motion

If you are interested in trying it out see: github.com/CanisUrsa/indi grab branch canisursa/avalon_work The readme in 3rdparty/indi-avalon should provide you with any information you need.
The following user(s) said Thank You: Wolfgang Reissenberger
Last edit: 6 years 1 month ago by Christopher Contaxis.
6 years 1 month ago #24204

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

Time to create page: 1.046 seconds