Search found 4 matches

by natolambert
Wed Oct 17, 2018 9:48 pm
Forum: Support
Topic: Publishing Identical PWMs with Differing Performance
Replies: 1
Views: 1304

Publishing Identical PWMs with Differing Performance

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...
by natolambert
Tue Aug 21, 2018 10:37 pm
Forum: Developer Discussions
Topic: Publishing PWM values for motors
Replies: 14
Views: 7524

Re: Publishing PWM values for motors

Thanks for the insight. It seemed like our system was trying to log too fast while sending commands. We turned off more log commands that we weren't using as state data and further compressed a couple floats down to fewer bytes (eg. compress yaw pitch and roll each to 10bits and package all three in...
by natolambert
Sun Aug 19, 2018 2:54 pm
Forum: Developer Discussions
Topic: Publishing PWM values for motors
Replies: 14
Views: 7524

Re: Publishing PWM values for motors

Thanks for the follow up. I'll add a few more details to our approach, which is very similar and where the issues may be coming up. We only use the premade datapackets as a carrier for sending PWM values, we do not send velocity or state data. Plan on refactoring the code to make a new packet type l...
by natolambert
Fri Aug 17, 2018 10:47 pm
Forum: Developer Discussions
Topic: Publishing PWM values for motors
Replies: 14
Views: 7524

Re: Publishing PWM values for motors

All, I have been trying to do the same direct PWM setting with ROS+Crazyflie, but have been running into timing issues. Here is how we are sending out PWM values: 1. Value generated in controller python script acting as a ROSnode. 2. We changed an existing crtpCommander packet type (cmdVel) to store...