[ros-users] Filling in all fields of a ROS msg in C++, at once

Steven Bellens steven.bellens at mech.kuleuven.be
Sat Feb 12 22:29:45 UTC 2011


is there a way to declare a ROS msg in C++ and filling in all message
fields at once?
E.g. I want a message geometry_msgs/Pose:
const geometry_msgs::Pose world = {position.x = , ... } ?



More information about the ros-users mailing list