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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: [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