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 -0600
Seen: 4,160 times
Last updated: Jan 21 '16
how convert .vcg to .rviz if I have .vcg file?
how can i send command from RViz or Gazebo to real robot ??
Could not obtain transform from /gps to base_link
What's the best way to convert a ros message to a string or xml?
transform Laser Scan To PointCloud
subscribing to data from gazebo plugin
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.