morse-simulator / morse

The Modular OpenRobots Simulation Engine
http://morse-simulator.github.io/
Other
353 stars 156 forks source link

[mw/ros] Fixed accelerometer message type #716

Closed amiller27 closed 7 years ago

PierrickKoch commented 7 years ago

Hello and thanks for the PR. Before merging, I'd like to know what was the issue fixed by this patch ?

amiller27 commented 7 years ago

The old version tried to set the header on a ROS message of type Twist. The message type Twist does not contain a header, but TwistStamped does, so I changed the message to be of type TwistStamped. There wasn't an issue on GitHub for this, I just discovered the bug while I was working on a project.

PierrickKoch commented 7 years ago

Merged. Thanks!