Can't enable/add camera on Kuka Youbot in ROS indigo?
Hi I am fairly new to gazebo and ROS indigo. I want to add a camera on the Youbot so that I can track road lanes and do lane keeping which I'm doing for a senior design project. So first I installed the youBot Gazebo package for ROS indigo which i got from the youbot store website: http://www.youbot-store.com/wiki/index.php?title=Gazebo_simulation&hmswSSOID=10b4d7be36c130126e02a9c81ce579a7f71c954f
Now its seems that the youBot package already came with several cameras including the Asus Xtion camera, Kinect camera, and the Microsoft Lifecam with their gazebo.xacro and urdf.xacro files located under the youbotdescription/urdf/sensors folder. So I tried to enable the Microsoft Lifecam sensor by opening the youbot.urdf.xacro file located under youbotdescription/robots folder and added this line:
I also copied and pasted the simulation tags from the bottom of the microsoft_lifecam.urdf.xacro file:
and pasted it near at the bottom of the youbot.urdf.xacro file and modified it to this:
After that, I run the simulation. I run the simulation by typing roscore at the terminal. Then I open a new terminal and type roslaunch youbotgazeborobot youbot.launch and wait for Gazebo to load. But when Gazebo opens up, the Microsoft Lifecam camera doesn't appear anywhere on the Youbot. I have tried to do the same procedure for all three cameras but none of them appear on the Youbot when I run it on the Gazebo. I know I'm doing something wrong, but not sure how to fix. If someone could help me with this issue so that I can simulate a camera on the YouBot, I would appreciate it a lot. Thanks.
Asked by adriancabal on 2015-12-06 22:47:02 UTC
Comments
Can you look for error messages in
~/.gazebo/gzserver.log
?Asked by nkoenig on 2015-12-16 13:20:49 UTC