Robotics StackExchange | Archived questions

ros kinect rosrun openni_tracker openni_tracker

when I run

rosrun opennitracker opennitracker

I get the following error

Failed to contact master at [localhost:11311]. Retrying...

Any clue?

Regards,

Asked by acp on 2011-11-13 21:35:19 UTC

Comments

Answers

Hi, Pls run the rosmaster with the following command in a separate terminal.

roscore 

And then try your

rosrun openni_tracker openni_tracker

I suggest you to go through the tutorials. http://www.ros.org/wiki/ROS/Tutorials

Hope this helps.

Thanks, Karthik

Asked by karthik on 2011-11-13 21:50:28 UTC

Comments

and in the info I get Node [/openni_tracker] Publications: * /rosout [rosgraph_msgs/Log]

Subscriptions: None

Services: * /openni_tracker/get_loggers * /openni_tracker/set_logger_level Pid: 1887 Connections: * topic: /rosout * to: /rosout * direction: outbound * transport: TCPROS

Asked by acp on 2011-11-17 18:47:46 UTC

Well, when I run rosrun openni_tracker openni_tracker,, I get a blank terminal,,, then in a new terminal I run rxgraph and I get /openni_tracker->/rosout->/rosout

Asked by acp on 2011-11-17 18:47:21 UTC

Try checking the rostopic list and see if something is publishing. You can also check this with rxgraph.

Asked by karthik on 2011-11-14 23:27:56 UTC

it seems your ROS installation is fine. But the openni_tracker has the problem. When you say nothing happens, is it with the above mentioned error or you see blank terminal with no msgs after you type the run command.?

Asked by karthik on 2011-11-14 23:26:52 UTC

well, I can run rosrun turtlesim turtlesim_node,......., rosrun rviz rviz,.......,rosrun image_view disparity_view image:=/camera/depth/disparity,.......,rosrun image_view image_view image:=/camera/rgb/image_color,...., however I can not run rosrun openni_tracker openni_tracker,.....,if I want to run the point cloud node, it must be like this rosrun image_view image_view image:=/camera/depth/points,,,,,right?

Asked by acp on 2011-11-14 22:39:03 UTC

Ok are you able to run rosrun openni_camera openni_node? Are you having the problem only with this node. Check the other packages like turtlesim, gazebo.

Asked by karthik on 2011-11-14 02:56:09 UTC

Hi I have done that, first I run roscore in a terminal then I run rosrun openni_tracker openni_tracker in different terminal, but nothing happens, it just hangs

Asked by acp on 2011-11-13 22:04:53 UTC