Cannot subscribe bebop_msgs - Unable to load the manifest for package bebop_msgs
Hello everyone,
My ROS version is jade. I am able to publish message to the drone. However, I cannot subscribe any topics due to the error - Unable to load the manifest for package bebop_msgs.
Java ROS bridge is used in the program. Here is the source of the Java ROS bridge: https://github.com/h2r/java_rosbridge
I followed the instruction to use the Java ROS bridge.
Here is the code of subscribing:
mvROSBridge.subscribe("/bebop/states/common/CommonState/BatteryStateChanged", "bebop_msgs/CommonCommonStateBatteryStateChanged", new RosListenDelegate() {
@Override
public void receive(JsonNode data, String stringRep) {
System.out.println(mvDrone.getName() + " received: " + stringRep);
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
});
Problem: Unable to load the manifest for package bebop_msgs
Please help me, thank you.
Asked by myronyau on 2016-02-12 04:39:29 UTC
Comments