Posts: 2,151
Threads: 20
Joined: Jun 2016
Reputation:
63
2021-05-24, 06:22 PM
I am trying to sort this mess out for future pypilot, so I'm curious to hear ways to tack and having too many buttons on the remote is a trade off.
Instead of a tack button, it may be possible instead to press two (or more) keys at the same time to initiate a tack. The remote controls I am using all support multiple buttons as does buttons directly wired to the raspberry.
Posts: 65
Threads: 4
Joined: Sep 2020
Reputation:
2
Hi Sean,
For RF controls, you have provided two buttons TackPort and TackStarboard. Currently the pi0 crashes and restarts if I use them.
Why not transform them into -Tack and +Tack to switch to compass mode and decrease or increase the compass heading when pressing button using the tack angle defined with ap.tack.angle
It seems easier to implement and above all much simpler to use with little risk of error.
The user can then switch back to wind mode when the boat has regained speed.
Thank you for this beautiful work
Posts: 2,151
Threads: 20
Joined: Jun 2016
Reputation:
63
The plan is to tack when both +10 and +1 buttons are pressed if there is not a tack button available.
Posts: 65
Threads: 4
Joined: Sep 2020
Reputation:
2
2021-06-05, 05:48 PM
(This post was last modified: 2021-06-05, 05:50 PM by Jean-Marc Douroux.)
Hi Sean
After reflection, I wonder if a long press on the keys 10 is not preferable. The NKE pilot used by many solo racers controls thus the tacks. They are very satisfied.
Posts: 2,151
Threads: 20
Joined: Jun 2016
Reputation:
63
it can be difficult to detect long presses depending on the remote.
In any case, I think pressing the tack button, then port or starboard to indicate direction to tack could work
Posts: 63
Threads: 7
Joined: Oct 2019
Reputation:
1
No A is engage and disengage, M is Menu and select.
In the menu A is straight all the way back to home, so if you are lost in the menu and want do a correction you only have to push A once.
In the menu the arrows are up and down.
Green led means engaged, green led blinking means Tack mode.
Red led and buzzer we want to use for errors. now it turns on when you push a button and you hear a beep from the buzzer.
In Standby you can keep the arrows pressed the drive will move progressively.
In Auto /Engaged the arrows will do 1 degree with single push if you keep it pressed it wil do 5 then 10 and 10 till 100 degrees, at every step the red led will blink and the buzzer will beep.