ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi Lorentz, I read your answer and I tryed to update an example.
In manifest file, I added the following line after the line about std_msgs
<depend package="std_msgs" />
<depend package="sensor_msgs" />
Later, I executed rosmake because I thought that rosjava could generate package for sensor_msgs but when I tried to update a Publisher object, I didn't use any object from the package about sensor_msgs.
Publisher<org.ros.message.std_msgs.String> publisher =
node.newPublisher("battery", "std_msgs/String");
How to use sensor_msgs with lateset ROSjava? what is the difference between std_msgs and sensor_msgs?