Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #15 on: January 16, 2017, 10:46:39 am »
Maybe a stupid idea...why not using your pwm output directly from your receiver?
Hardware: F450 Frame--Revolution Board--EMax 2213-935kv--BullTec 30A Opto--5000mAh 3S 30C LiPo--NEO M8N GPS+MAG--Fr Sky Taranis Plus + OPLink Mini
Addon: sj5000x + two axis gimbal + minimosd + eachine VT + easycap
Software: Black Rhino, LP2GO

karla

  • *****
  • 629
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #16 on: January 16, 2017, 02:35:40 pm »
interesting, please explain a bit what you mean  :)

paulj

  • *
  • 25
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #17 on: January 16, 2017, 03:04:36 pm »
interesting, please explain a bit what you mean  :)

This is what I understand his comment to mean: If you plug the servo channel input for the rudder into the flight controller, you can plug the sail servo directly into the receiver - there is no need to pass the signal through the FC if you don't want to have any management of the sail control at the moment. The method I proposed with the accessory0 should also achieve this - what happened when you tried this?

Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #18 on: January 16, 2017, 04:40:27 pm »
Yes thats exactly what i mean...just doing it the oldschool way ;-)
Hardware: F450 Frame--Revolution Board--EMax 2213-935kv--BullTec 30A Opto--5000mAh 3S 30C LiPo--NEO M8N GPS+MAG--Fr Sky Taranis Plus + OPLink Mini
Addon: sj5000x + two axis gimbal + minimosd + eachine VT + easycap
Software: Black Rhino, LP2GO

Mateusz

  • *
  • 808
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #19 on: January 16, 2017, 05:16:31 pm »
Should be more or less similar to adding buzzer http://librepilot.atlassian.net/wiki/plugins/servlet/mobile?contentId=6324237#content/view/6324237 if you don't use sbus/ppm receiver and have pwm output on it you can connect servo directly to receiver.

karla

  • *****
  • 629
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #20 on: January 17, 2017, 04:56:57 am »
Maybe a stupid idea...why not using your pwm output directly from your receiver?

Now I understand what you mean. I dont have a separate receiver, I use OPlink so this is not an option.

Quote
Should be more or less similar to adding buzzer http://librepilot.atlassian.net/wiki/plugins/servlet/mobile?contentId=6324237#content/view/6324237 if you don't use sbus/ppm receiver and have pwm output on it you can connect servo directly to receiver.

This works because the Vehicle type is not a ground vehicle, there is no nice way to assign the output if you look at the Car type.

Thats what I have been trying to explain.
It should be possible to do ut directly in the system settings... but How?

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #21 on: January 17, 2017, 08:07:24 am »
Go to the System tab > UAVOBrowser
Search for MixerSettings, assuming you want the output 7 linked with Accessory0 you need this:



Mixer7Type set to the Accessory you want and Curve1 set to 127
Save in UAVOBrowser.
If you save from the Vehicle tab you lost the Accessory/linking settings.

and next set the Output settings:


karla

  • *****
  • 629
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #22 on: January 19, 2017, 02:07:51 am »
Yes!
Finally got a chance to test it.
It works fine so the configuration is now set up the way I wanted.
Thanks a lot!

Now will do calibrations etc to get INS13 to work and then some test :)

karla

  • *****
  • 629
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #23 on: March 04, 2017, 05:25:15 pm »
Some steps of improvement here.
Its still ice on my lake so I can not sail yet,
however I have set up the boat just like this car and yesterday I had a chance to test the car performance for some autonomous tasks like Return to base, Position hold and Waypoints.



It worked well over my expectations and clearly better than using Openpilot (last version 15.05.02, just going in circles).



Really encouraging results for putting the same configuration on to the sailboat.

For the car project, now I need some Lidars and functions to avoid obstacles :)
« Last Edit: March 04, 2017, 05:31:01 pm by karla »

karla

  • *****
  • 629
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #24 on: April 17, 2017, 12:46:31 am »
Success!

The ice has melted long ago at my lake and I have been there a couple of times this spring but not until last weekend did I get all the autonomous functions to work, Failsafe RTB, Position hold, Pathfinder with Waypoints.



We join the boat when just about to reach Waypoint 2. It turned out I accidentally put the line between WP 1 and WP 2 almost straight into the wind. However, it started to do random tacking and still made it against the wind to the WP.

The last problem that fixed it all was changing the altitude at each waypoint from a default i think of 15m to 0m. I also made the waypoints location fixed and not relative to home. Works like a clock.

I will post details in the showroom later.
Attached is the UAV file.

Thank you all who helped!
/Karl
« Last Edit: April 18, 2017, 09:34:35 am by karla »

Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #25 on: April 17, 2017, 05:00:22 am »
Video is private.  Also I don't have a youtube account.  If you set it to have a password and post that here, it should do what you need.  :)

karla

  • *****
  • 629
Re: Sailboat RC Laser set up for waypoints with Revo and Libre 16.09
« Reply #26 on: April 17, 2017, 05:33:01 am »
Oh sorry, I thought I saved it as Unlisted, not private.
Now it should work.
Thanks