RethinkRobotics / sawyer_simulator

Gazebo Simulation interface for the Sawyer Robot
http://sdk.rethinkrobotics.com/intera/Gazebo_Tutorial
Apache License 2.0
50 stars 65 forks source link

Fix multiple controllers: protect against empty inactive cmds #10

Closed rethink-rlinsalata closed 7 years ago

rethink-rlinsalata commented 7 years ago

Protect against reading empty msg cmds in inactive controllers, which was causing segfaults when more than 1 controller was loaded and it tried to read values in the cmd that were not populated (e.g. an empty velocity array).

Also fixes wrong #ifndefine in effort_controller.h, and removes leftover JointGroup Controller files/configs.

IanTheEngineer commented 7 years ago

Actually, each commit is self-contained and separate. No squash required.