intel / gazebo-sitl

A ROS-independent Gazebo plugin for Ardupilot's SITL
Apache License 2.0
10 stars 14 forks source link

Fix missing closing bracket on handle_message #13

Closed guiccbr closed 8 years ago

guiccbr commented 8 years ago

This fix solves issue #12.

A missing bracket was resulting in a critical block of the handle_message switch never being reached. Before this fix, the vehicle would loop forever waiting for those unhandled messages.

Signed-off-by: Guilherme Campos Camargo guilherme.campos.camargo@intel.com

dakerfp commented 8 years ago

Ship it

guiccbr commented 8 years ago

@rchiossi, can you please test this patch in your set-up as well before merging?

rchiossi commented 8 years ago

I'm on the airport now, will try to test it ASAP, but if waiting for me would delay your work, merge it and we send a new patch later if the problem persists

rchiossi commented 8 years ago

Managed to test it. Works for me.

guiccbr commented 8 years ago

@rchiossi, thanks! Merging...