Publishing Identical PWMs with Differing Performance

Post here to get support
Post Reply
natolambert
Beginner
Posts: 4
Joined: Tue Aug 14, 2018 9:30 pm

Publishing Identical PWMs with Differing Performance

Post by natolambert » Wed Oct 17, 2018 9:48 pm

Hi CF World,

We have been publishing direct PWM values for our rl project here: https://sites.google.com/berkeley.edu/mbrl-quadrotor/. But, when doing open loop takeoff we find that the flight path is substantially different with the same PWM values across different runs. Anyone experience something similar? This is going from 0 motor voltage to a set value. Sometimes will go straight up and sometimes will veer to positive pitch for example.

Thanks!

tobias
Bitcraze
Posts: 1818
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Publishing Identical PWMs with Differing Performance

Post by tobias » Thu Oct 18, 2018 9:24 am

Very exiting stuff you are working on, we look forward to seeing the outcome!

I have no idea how predictive a takeoff would be by just sending PWM values. First thing, how are you setting the PWM values? Any chance they ate not set at the same time?

If you have some code to share we could do some quick tests here to see what result we get.

Post Reply