publish and service error when running rosjs example [closed]

asked 2012-10-26 19:06:47 -0500

clark gravatar image

As a learning step for rosbridge v2, I tried the example under rosjs, https://github.com/RobotWebTools/rosjs

So i did follow the instruction and ran the steps below and also opened the index.html file in Firefox,

roscore
rostopic pub /listener std_msgs/String "howdy"
rostopic echo /robot_pose
rosrun rospy_tutorials add_two_ints_server
rosrun rosapi rosapi.py
rosrun rosbridge_server rosbridge.py

but in the terminal window running rosbridge_server, I got the following error,


[INFO] [WallTime: 1351397051.222834] Client connected. 1 clients total. [ERROR] [WallTime: 1351397051.266227] [Client 0] [id: publish:/robot_pose:2] publish: argument of type 'int' is not iterable [INFO] [WallTime: 1351397051.271229] [Client 0] Subscribed to /listener [ERROR] [WallTime: 1351397051.321112] [Client 0] [id: call_service:/rosapi/get_param_names:5] call_service ServiceException: service [/rosapi/get_param_names] responded with an error: error processing request: [ERROR] [WallTime: 1351397051.321883] [Client 0] [id: call_service:/rosapi/get_param:9] call_service ServiceException: service [/rosapi/get_param] responded with an error: error processing request: [ERROR] [WallTime: 1351397051.322698] [Client 0] [id: call_service:/rosapi/set_param:8] call_service ServiceException: service [/rosapi/set_param] responded with an error: error processing request: [INFO] [WallTime: 1351397051.364633] [Client 0] Unsubscribed from /listener


The error occurred when publish "/robot_pose" and call service "/rosapi/get_param".

Any clues?

thanks clark

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-09-18 18:44:05.589903