rosflight / rosflight_ros_pkgs

ROS packages for the ROSflight autopilot
http://rosflight.org/
BSD 3-Clause "New" or "Revised" License
86 stars 56 forks source link

Throttle parameters being sent to autopilot #57

Closed dpkoch closed 6 years ago

dpkoch commented 6 years ago

Right now when we call the /param_load_from_file service, it reads the parameters from the file and sends them all as fast it can over the serial connection. This causes some of the parameters to smash or otherwise get lost and not get set on the autopilot. We need to queue up the parameters to send and then throttle the rate at which we send them so they all get there every time.