convert from int32 to int
How to compare int32 with int or convert int32 to int?
Looks like No working this way: Int = (int) Int32;
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
How to compare int32 with int or convert int32 to int?
Looks like No working this way: Int = (int) Int32;
If the int32 come from a std::msgs you can access the value with .data
int var = yourMsg.data
here is the documentation : http://docs.ros.org/api/std_msgs/html/msg/Int32.html
Asked: 2016-01-20 14:55:37 -0500
Seen: 3,990 times
Last updated: Jan 21 '16
Could not obtain transform from /gps to base_link
how convert .vcg to .rviz if I have .vcg file?
how can i send command from RViz or Gazebo to real robot ??
How can i run ORB_SLAM2 on ros indigo
UR5 zero position and ROS zero position different
Custom message out of ros to windows?
How to write ROS message object into BAG file?
Convert geometry_ msgs/Pose to Point
Some problems of conversion xacro to urdf (Mastering ROS Chapter 2) [closed]
This forum is primarily for questions about ROS (Robot Operating System), and your question does not appear to be about ROS. You will probably get a better answer by asking on a general programming site like Stack Overflow.