LibrePilot Forum

Development => Firmware General => Topic started by: lucas on May 02, 2016, 07:03:29 pm

Title: Support for Multishot?
Post by: lucas on May 02, 2016, 07:03:29 pm
Hi there, I just saw that Laurent implemented Oneshot42 support. PR # 236.

How hard is it to include Multishot in that PR?  Multishot is a 5us - 25us signal.  More info here:

https://github.com/rs2k/BLHeli/commit/6e8df04e095500d3cc3979a11a725705201d1aac

Oneshot42 should be great but it is only available in KISS ESCs which are expensive, hard to get and run Closed Source FW.  Multishot on the other hand is OpenSource and practically any modern ESC can run it.

Thanks. ;)
Title: Re: Support for Multishot?
Post by: f5soh on May 02, 2016, 08:34:51 pm
Done
https://bitbucket.org/librepilot/librepilot/pull-requests/236/lp-233-support-oneshot42/diff
Title: Re: Support for Multishot?
Post by: lucas on May 02, 2016, 09:59:37 pm
hehehe thanks. ;D

You are fast f5soh!
Title: Re: Support for Multishot?
Post by: nitromethane on May 07, 2016, 08:51:42 pm
Speaking of ESC protocols, is there such a thing as straight pwm for directly controlling a mosfet that would be used to control small brushed motors?

If not, is there any plans to implement that.

Also Sparky2 has some mosfets on board that can be used to drive small brushed motors...
Title: Re: Support for Multishot?
Post by: f5soh on May 08, 2016, 09:43:35 am
Maybe you can use the UavoBrowser and configure the ActuatorsSettings Uavo to fit your needs ?
Still a small space at full output, a static value that still somewhere but you can get 0 to ~98% duty cycle.

https://www.youtube.com/watch?v=OTD1cstH1rA
Title: Re: Support for Multishot?
Post by: nitromethane on May 08, 2016, 11:31:13 am
Sweet!! :D
98% max duty cycle shouldn't be much of a problem given, that multirotors hover somewhere around 50% throttle...
Title: Re: Support for Multishot?
Post by: charles on May 17, 2016, 02:45:11 am
Done
https://bitbucket.org/librepilot/librepilot/pull-requests/236/lp-233-support-oneshot42/diff


How do i enable multishot ?
Title: Re: Support for Multishot?
Post by: hwh on May 17, 2016, 03:11:41 am
...How do i enable multishot ?
If you're running the "next" development branch and want to test it before it's released you just select it on the output tab instead of PWM or one of the other selections.

If not you can wait until the next release or compile and run the next branch of the code.  The instructions are in the developer wiki at https://librepilot.atlassian.net/wiki/display/LPDOC/Developer+Manual

 
Title: Re: Support for Multishot?
Post by: Tomcatt on June 11, 2016, 07:08:00 pm
For starters, he needs to have ECS that support it.  But it's location to turn it on will be under the "motors" page.

Speaking of MultiShot, I'm testing it out now.  It works great under RaceFlight.  What I've notice is that it take WAY too long for the ESC's to finish booting up.  Meaning, it doesn't get the last part of it's little tunes until minutes later.
Title: Re: Support for Multishot?
Post by: hwh on June 11, 2016, 11:06:03 pm
...But it's location to turn it on will be under the "motors" page....
That would be kind of difficult since LibrePilot doesn't have a "motors" page.  It's on the output tab.
Title: Re: Support for Multishot?
Post by: Tomcatt on June 12, 2016, 05:17:58 am
was thinking of the other app page


Sent from my iPhone using Tapatalk