ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Rosbridge and roslibjs: Unable to load the manifest for package

asked 2014-06-30 03:35:08 -0600

genzostyle gravatar image

updated 2014-06-30 03:53:56 -0600

Hello, I'm trying the communication between javascript and Ros.

I use the example code of "github.com/RobotWebTools/roslibjs/blob/develop/examples/simple.html " with these changes:

var cmdVel = new ROSLIB.Topic({
    ros : ros,
    name : '/fromRos2Can',
    messageType : 'ackermann_msgs/AckermannDrive'    
  });

and

  var twist = new ROSLIB.Message({
    speed:1.0,
    acceleration:2.0,
    jerk:3.0,
    steering_angle:4.0,
    steering_angle_velocity:5.2
  });

and I receive these two error message:

[ERROR] [WallTime: 1404116229.210210] [Client 2] [id: advertise:/fromRos2Can:1] advertise: Unable to load the manifest for package ackermann_msgs. Caused by: ackermann_msgs

[ERROR] [WallTime: 1404116229.213060] [Client 2] [id: publish:/fromRos2Can:2] publish: Cannot infer topic type for topic /fromRos2Can as it is not yet advertised

My c++ program works with AckermannDrive.msg and a test with a std_msg/String works too.

Where is my mistake? Thanks

edit retag flag offensive close merge delete

Comments

Have you done source devel/setup.bash for you catkin_workspace in the terminal that rosbridge is running in? What distro/ROS version are you running? Are they up to date?

rtoris288 gravatar image rtoris288  ( 2014-07-09 08:36:24 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-22 14:50:40 -0600

genzostyle gravatar image

updated 2014-07-23 04:18:44 -0600

Yes I've done it, also because the test with the integer, instead AckermannDrive, works. Hydro

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-30 03:35:08 -0600

Seen: 2,776 times

Last updated: Jun 30 '14