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,991 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 ??
tf2 conversion (bullet to geometry_msgs)
How can i run ORB_SLAM2 on ros indigo
UR5 zero position and ROS zero position different
How to visualize depthimages from rosbag file with RViz?
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.