ipa320 / cob_simulation

The cob_simulation stack includes packages to work with Care-O-bot within simulation environments, e.g. gazebo.
www.care-o-bot.org
Apache License 2.0
73 stars 106 forks source link

How to install the cob_simulation #164

Closed jinhooi closed 5 years ago

jinhooi commented 5 years ago

I start to work with care-o-bot4. But I cannot install simulation by "http://wiki.ros.org/Robots/Care-O-bot/indigo" (I have confirmed that it was installed in the last year, but not now.) So I want to install by cob_simulator but I don't know how to install by cob_simulator in github. Before I activate the hardware, I want to simulation hard. I want you to help me simulate. Thank you.

fmessmer commented 5 years ago

Please provide more infromation about what you are doing:

jinhooi commented 5 years ago

I use the ubuntu 16.04 and ros kinetic so I have set up by 'sudo apt-get install ros-kinectic-care-o-bot' (I used ros indigo but when I set by 'sudo apt-get install ros-indigo-care-o-bot' I cannot install it. So I changed to ros kinetic.)

But I have some error issues. I can launch that "export ROBOT=cob4-5 export ROBOT_ENV=ipa-apartment roslaunch cob_bringup_sim robot.launch"

but I cannot use other apt. For example, when I use 'roslaunch cob_bringup dashboard.launch' error message is error loading tag: file does not exist [/opt/ros/kinetic/share/cob_default_robot_config/robots/!!NO_ROBOT_SET!!/script_server/command_gui_buttons.yaml] XML is The traceback for the exception was written to the log file

and other when I command 'roslaunch cob_gazebo robot.launch' error message is while processing /opt/ros/kinetic/share/cob_bringup/robots/!!NO_ROBOT_SET!!.xml: Invalid roslaunch XML syntax: [Errno 2] No such file or directory: u'/opt/ros/kinetic/share/cob_bringup/robots/!!NO_ROBOT_SET!!.xml' The traceback for the exception was written to the log file

In addition, running other things produces similar errors. I want to simulate variance environment in gazebo and then excute hardware (I have cob4-5). please some help.

thank you.

floweisshardt commented 5 years ago

you're missing the robot launch argument or ROBOT environment variable. So either export ROBOT=cob4-5 and export ROBOT_ENV=ipa-apartment in each terminal or provide launch file arguments, e.g. roslaunch cob_bringup dashboard.launch robot:=cob4-5 robot_env:=ipa-apartment. (The variables are exaplined in http://wiki.ros.org/care-o-bot#Robots.2BAC8-Care-O-bot.Environment_variables)