Cob_simulation wrong
According to the official website Http://wiki.ros.org/cob_bringup_sim
1. Git clone https://github.com/ipa320/cob_simulation.git
2. Then put the cob_simulation package into catking work space
3. Editing
4. Transportation
Export Robot=cob4-2
Export Robot_env=ipa-apartment
Roslaunch Cob_bringup_sim Robot.launch
The mistake:
While Processing/home/wsh/bzrobot_ws/src/cob_environments/cob_hardware_config/common/upload_robot.launch:
Invalid <param> tag:cannot Load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/ xacro.py '/home/wsh/bzrobot_ws/src/cob_environments/cob_hardware_config/cob3-1/urdf/cob3-1.urdf.xacro '] returned with code [1].
Param XML is <param command= "$ (find Xacro)/xacro.py ' $ (arg pkg_hardware_config)/$ (Arg robot)/urdf/$ (Arg robot). Urdf.xacro ' "name=" robot_description "/>
The Traceback for the exception is written to the log file
And then there's this passage:
1. Software Requirements
Make sure the cob_simulation stack installed on your system.
Make sure that Cob_simulation has been installed, and I'll call it a good name for editing.
Then I installed (http://wiki.ros.org/Robots/Care-O-bot/electric), I am Indigo version:
sudo apt-get install Ros-indigo-care-o-bot
There are a couple of packages in the system where the environment changes.
Environment change do not forget to set the settings:
echo "Source/opt/ros/indigo/setup.bash" >> ~/.BASHRC
. ~/.bashrc
Source/opt/ros/indigo/setup.bash
Then:
Roslaunch Cob_bringup_sim Robot.launch
According to the old numbers, the above mistakes are obvious.
The correct approach is to set the environment variable first and then run:
Export Robot=cob4-2
Export Robot_env=ipa-apartment
Roslaunch Cob_bringup_sim Robot.launch
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
(Ros/moveit) Cob_simulation wrong