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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: [ros-users] Filling in all fields of a ROS msg in C++, at once
Hi,

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 = , ... } ?

regards,

Steven