×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Joystick/gamepad configuration

5 years 5 months ago
MtoAstro
Senior Boarder
Senior Boarder
Posts: 43
More
Topic Author
Joystick/gamepad configuration #3848
A couple of things about the joystick driver I ran across while testing:
Linux mtoastro-K53U 3.19.0-12-generic #12-Ubuntu SMP Fri Apr 3 04:03:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
kstars-bleeding 5:15.04+r5170.208~ubuntu15.04.1 amd64x
indi-eqmod     0.2+r58.208~ubuntu15.04.1 amd64

I'm using a PS3 USB gamepad.

1. Ekos doesn't seem to continue tracking after slew with the joystick
Looking at the log from the testing, there doesn't seem to be anything wrong. Unless Indi should issue a track_sidereal command after slew.
INFO	113.194733 sec	: Telescope slew is complete. Tracking TRACK_SIDEREAL...
INFO	223.785605 sec	: Starting West slew.
INFO	223.862434 sec	: Starting North slew.
INFO	224.291126 sec	: North Slew stopped
INFO	224.321369 sec	: West Slew stopped
INFO	230.228127 sec	: Starting South slew.
INFO	230.300422 sec	: Starting East slew.

2. Is it possible in anyway to adjust the sensitivity of the selection of preset slew speeds in the mount panel?
Using joystick_2 to select the slew speed goes through the list really fast. One press of the joystick down or up just scrolls through the whole list. Any chance of getting this selection behind two buttons?

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

5 years 5 months ago 5 years 5 months ago by Gasman.
Gasman
Gold Boarder
Gold Boarder
Posts: 173
Karma: 1
More
Joystick/gamepad configuration #3849
The default back to tracking after a joystick slew was something I had problems with a while back but I thought Jasem wrote a fix for it and using the latest Kstars-bleeding all seems to be ok with Indi now!. My OS is Netrunner 15 64bit. Just wish I could minimise a Fitsviewer window to its own button ;-) I`m using a bog standard wired joystick.
Steve

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

5 years 5 months ago
MtoAstro
Senior Boarder
Senior Boarder
Posts: 43
More
Topic Author
Joystick/gamepad configuration #3851
Yes, I'm aware of the tracking issue from before. Glad to hear that it's working for you now. The interesting thing is that using the telescope simulator it works for me also, but the messages are different in the log for slewing.
For the simulator I get this
INFO	156.893744 sec	: Telescope slew is complete. Tracking...
INFO	282.167516 sec	: Telescope aborted.
INFO	288.986557 sec	: Telescope aborted.
"Aborted" message for each slew operation with the joystick, but no indication that tracking resumes. But the tracking resumes, at least when looking at the kstars display.
For the eqmod driver I get the messages
INFO	113.194733 sec	: Telescope slew is complete. Tracking TRACK_SIDEREAL...
INFO	223.785605 sec	: Starting West slew.
INFO	223.862434 sec	: Starting North slew.
INFO	224.291126 sec	: North Slew stopped
INFO	224.321369 sec	: West Slew stopped
INFO	230.228127 sec	: Starting South slew.
Again no indication that tracking resumes and it actually does not (checked it from the steppers on the mount). The situation is the same when using the slew buttons from the mount tab in ekos.

Is there anyway to check if the track command is sent?

I'm also using latest kstars-bleeding and indi so that should not be the problem. Running everything on Ubuntu MATE 15.04 beta updated using dist-upgrade.

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

5 years 5 months ago
Gasman
Gold Boarder
Gold Boarder
Posts: 173
Karma: 1
More
Joystick/gamepad configuration #3911
Hi M
Sorry for delay replying. not sure how to check the track command?. Are you using a remote or direct setup. ?I`ve just noticed a few changes in Ekos following an update and the tracking still seems ok!
Steve

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

5 years 5 months ago
MtoAstro
Senior Boarder
Senior Boarder
Posts: 43
More
Topic Author
Joystick/gamepad configuration #3918
Hi. The track command seems to be visible in the Ekos mount panel now. And tracking resumes when using the Ekos mount panel slew buttons, but not after slewing with the joystick. This is what is displayed in the Ekos mount panel:
2015-04-11T15:17:58: East Slew stopped 
2015-04-11T15:17:58: North Slew stopped 
2015-04-11T15:17:56: Starting East slew. 
2015-04-11T15:17:56: Starting North slew. 
2015-04-11T15:17:35: Restarting DE Tracking... 
2015-04-11T15:17:35: West Slew stopped 
2015-04-11T15:17:31: Starting West slew. 
2015-04-11T15:17:20: Restarting DE Tracking... 
2015-04-11T15:17:20: East Slew stopped 
2015-04-11T15:17:12: Starting East slew. 
2015-04-11T15:16:53: Telescope slew is complete. Tracking TRACK_SIDEREAL...

After issuing initial "Track" command from Kstars the mount goes to target and starts tracking. Then I issued slew commands to East and West from the Ekos mount panel and tracking resumes in both cases (even though DE tracking is indicated it is actually the RA axis). Then the next slews are initiated from the joystick and tracking does not resume.

I'm using a local setup.
Linux mtoastro-K53U 3.19.0-13-generic #13-Ubuntu SMP Thu Apr 9 22:56:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
indi-eqmod                 0.2+r60.211~ubuntu15.04.1          amd64
kstars-bleeding      5:15.04+r5176.211~ubuntu15.04.1 amd64

Oh, and thanks Jasem for adding the Park and Unpark commands for the joystick.

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

Time to create page: 0.726 seconds