Hi!
I get
[ 80%] Building CXX object srv_tools/bag_tools/CMakeFiles/extract_image_positions.dir/src/extract_image_positions.cpp.o /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp: In member function ‘void ImagePositions::msgsCallback(const NavStsConstPtr&, const ImageConstPtr&, const CameraInfoConstPtr&)’: /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp:83:48: error: ‘const _orientation_type {aka const struct geometry_msgs::Vector3_<std::allocator<void> >}’ has no member named ‘roll’ double roll = nav_sts_msg->orientation.roll; ^ /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp:84:48: error: ‘const _orientation_type {aka const struct geometry_msgs::Vector3_<std::allocator<void> >}’ has no member named ‘pitch’ double pitch = nav_sts_msg->orientation.pitch; ^ /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp:85:48: error: ‘const _orientation_type {aka const struct geometry_msgs::Vector3_<std::allocator<void> >}’ has no member named ‘yaw’ double yaw = nav_sts_msg->orientation.yaw; ^ srv_tools/bag_tools/CMakeFiles/extract_image_positions.dir/build.make:62: recipe for target 'srv_tools/bag_tools/CMakeFiles/extract_image_positions.dir/src/extract_image_positions.cpp.o' failed
using ros-kinetic as of today.
It compiles with
double roll = nav_sts_msg->orientation.x; double pitch = nav_sts_msg->orientation.y; double yaw = nav_sts_msg->orientation.z;
but I do not know if this complies to the docs. I think the api changed.
http://docs.ros.org/kinetic/api/auv_msgs/html/msg/NavSts.html
geometry_msgs/Vector3 orientation has no rpy.
Have fun
Edit: By the way, auv_msgs is not in the dependencies I can see.
Hi! I get
[ 80%] Building CXX object srv_tools/bag_tools/CMakeFiles/extract_image_positions.dir/src/extract_image_positions.cpp.o /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp: In member function ‘void ImagePositions::msgsCallback(const NavStsConstPtr&, const ImageConstPtr&, const CameraInfoConstPtr&)’: /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp:83:48: error: ‘const _orientation_type {aka const struct geometry_msgs::Vector3_<std::allocator<void> >}’ has no member named ‘roll’ double roll = nav_sts_msg->orientation.roll; ^ /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp:84:48: error: ‘const _orientation_type {aka const struct geometry_msgs::Vector3_<std::allocator<void> >}’ has no member named ‘pitch’ double pitch = nav_sts_msg->orientation.pitch; ^ /usr/local/src/catkin_ws/src/srv_tools/bag_tools/src/extract_image_positions.cpp:85:48: error: ‘const _orientation_type {aka const struct geometry_msgs::Vector3_<std::allocator<void> >}’ has no member named ‘yaw’ double yaw = nav_sts_msg->orientation.yaw; ^ srv_tools/bag_tools/CMakeFiles/extract_image_positions.dir/build.make:62: recipe for target 'srv_tools/bag_tools/CMakeFiles/extract_image_positions.dir/src/extract_image_positions.cpp.o' failed
using ros-kinetic as of today.
It compiles with
double roll = nav_sts_msg->orientation.x; double pitch = nav_sts_msg->orientation.y; double yaw = nav_sts_msg->orientation.z;
but I do not know if this complies to the docs. I think the api changed. http://docs.ros.org/kinetic/api/auv_msgs/html/msg/NavSts.html geometry_msgs/Vector3 orientation has no rpy.Have fun
Edit: By the way, auv_msgs is not in the dependencies I can see.