按照官網說明 http://wiki.ros.org/cob_bringup_sim
export ROBOT=cob4-2 export ROBOT_ENV=ipa-apartment roslaunch cob_bringup_sim robot.launch
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 was written to the log file
sudo apt-get install ros-indigo-care-o-bot
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc . ~/.bashrc source /opt/ros/indigo/setup.bash
roslaunch cob_bringup_sim robot.launch
export ROBOT=cob4-2 export ROBOT_ENV=ipa-apartment roslaunch cob_bringup_sim robot.launch
Author: wsh
Email: [email protected]