×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

myFocuserPro or myFocuserPro2 and INDI

  • Posts: 554
  • Thank you received: 138
Would it be worth being generous about what is accepted?

Take the string sent, remove the leading ':' and the trailing '#' and parse what is left as a decimal integer.
It could accept :8#, :08#, :008# and so on.
That way the code can be agnostic about the version of the code on the other side.

Chris
The following user(s) said Thank You: knro
1 year 7 months ago #44365
The topic has been locked.

Ok sorry I thought that was the actual fix to communicate with the firmware. Please agree on a solution and we'll take it from there.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 7 months ago #44370
The topic has been locked.
  • Posts: 77
  • Thank you received: 13
I have updated my focuser firmware to the latest 291, and set the Indi focuser driver to only work with 291 or greater.

I have made sure isMoving and Max position behave as expected.
I have implemented Reverse Motion, and removed option tab Reverse Direction (to use standard functions).

I am about to push these changes (this will also revert KNRO earlier change).
The following user(s) said Thank You: Acapulco Rolf
1 year 7 months ago #44379
The topic has been locked.
  • Posts: 77
  • Thank you received: 13
So I have hit this problem, I have no idea what todo?!

alan@alan-kubuntu:~/indi$ git status
On branch master
Your branch and 'origin/master' have diverged,
and have 8 and 11 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

modified: drivers/focuser/myfocuserpro2.cpp
modified: drivers/focuser/myfocuserpro2.h

alan@alan-kubuntu:~/indi$ git commit -m "Update myFocuserPro2 to work with firmware 291 or greater"
[master 3874b71] Update myFocuserPro2 to work with firmware 291 or greater
2 files changed, 22 insertions(+), 31 deletions(-)
alan@alan-kubuntu:~/indi$ git pull
Auto-merging drivers/focuser/myfocuserpro2.cpp
CONFLICT (content): Merge conflict in drivers/focuser/myfocuserpro2.cpp
Automatic merge failed; fix conflicts and then commit the result.
alan@alan-kubuntu:~/indi$


How do I resolve this?
1 year 7 months ago #44382
The topic has been locked.
I also fixed other issues in a prior commit, so this is why it complains. Just edit the file and manually fix the conflicts. or if you can create a PR then I'll resolve the conflicts myself.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 7 months ago #44386
The topic has been locked.
  • Posts: 77
  • Thank you received: 13
As stated many times before, I have never worked in git as a developer, and I am by no means a linux guru, so your previous comment really doesn't help me get any closer to a solution. My biggest concern is that I will loose my changes, by not really understanding what is going on, I also understand you are a very busy man, and don't have time to answer these sort of requests. Unfortunately I too am busy, and can't commit the time to learning git at this moment in time. Maybe we need a developer git help forum? I guess my problem was I didn't do a "git fetch" before starting my edits at lunch time?

After a bit of googling, I think I am back to some sort of synchronisation. You said "if I can create a PR....", I believe I already had, with a commit from myself, then one from you and now another from me just now. I manually opened the problem file with "nano" (horrible text editor) and then checked line by line looking for merge messages (there must be a better way of doing this?)

Anyway, I have done a commit. and my end says it is up to date, so I assume somehow I have muddled through and pushed my changes?
1 year 7 months ago #44388
The topic has been locked.
Pretty much all developers hate GIT when they start working with it, then slowly comes in terms with its power. So everything is sorted out, thanks. Can you double check the code, is everything there?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 7 months ago #44430
The topic has been locked.
  • Posts: 19
  • Thank you received: 3
Hi everyone,

This is my first post.
I read carefully most of the threads on this forum since few months. In fact since I installed a RPi3b+, running Stellarmate as server for my astronomy equipment. I learn a lot and most of the time, I find answers to my questions. thanks to all for that.
I just received a "myFocuser Pro2" from Robert Brown in New Zeeland and I would like to test it, first via Kstars/Indi device manager and then, directly via ekos.
My problem is that I do not find the driver in the list of the focusers, even after having updated Indi... Probably I missed something :(

Thanks for your help,

Pierre-Yves
Pierre-Yves
SW 200/1000, SW 72ED, EOS-100D, ASI-178MC, HEQ5-Pro (Rowan belt kit),
MyFP2ProM/v305 focuser, Joystick 8BitDo-N30, GPS dongle
Rpi4-2Mb/Stellarmate 1.5.6 server, Dell Inspiron 13.3/Linux Mint 19.3
Kstars/Ekos 3.5.2
1 year 7 months ago #44431
The topic has been locked.
Hello Pierre-Yves,

Welcome to INDI forum. The focuser is not yet available in the stable release. It should be within a couple of weeks with the next stable release of INDI.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 7 months ago #44443
The topic has been locked.
  • Posts: 19
  • Thank you received: 3
Ok Jasem, thanks for your feedback. I was misled by the indi web page regarding this focuser that suggests that the driver is available.
Pierre-Yves
Pierre-Yves
SW 200/1000, SW 72ED, EOS-100D, ASI-178MC, HEQ5-Pro (Rowan belt kit),
MyFP2ProM/v305 focuser, Joystick 8BitDo-N30, GPS dongle
Rpi4-2Mb/Stellarmate 1.5.6 server, Dell Inspiron 13.3/Linux Mint 19.3
Kstars/Ekos 3.5.2
1 year 7 months ago #44444
The topic has been locked.
It is available in the INDI Nightly Builds.

The documentation says it is available INDI Library >= v1.8.2

Current stable INDI version is v1.8.1
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
Last edit: 1 year 7 months ago by knro.
1 year 7 months ago #44447
The topic has been locked.
  • Posts: 19
  • Thank you received: 3
Sorry, I did'nt pay attention to the Indi release numbering.
Thanks Jasem.
Pierre-Yves
SW 200/1000, SW 72ED, EOS-100D, ASI-178MC, HEQ5-Pro (Rowan belt kit),
MyFP2ProM/v305 focuser, Joystick 8BitDo-N30, GPS dongle
Rpi4-2Mb/Stellarmate 1.5.6 server, Dell Inspiron 13.3/Linux Mint 19.3
Kstars/Ekos 3.5.2
1 year 7 months ago #44448
The topic has been locked.
Time to create page: 0.660 seconds