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: 4,000 times
Last updated: Jan 21 '16
how can i send command from RViz or Gazebo to real robot ??
how convert .vcg to .rviz if I have .vcg file?
Could not obtain transform from /gps to base_link
tf2 conversion (bullet to geometry_msgs)
How can i run ORB_SLAM2 on ros indigo
can't use roslaunch ur_bringup ur5_bringup.launch with ur5 robot
distance from a baselink vector to some fixed frame on the map [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.