python路径规划仿真实验_ROS探索总结(十四)—— move_base(路径规划)

古月大神,您好,我按照您的视频运行arbotixe的launch文件:arbotix_mbot_with_camera_xacro.launch,总会出现如下错误—

tandongxu@tandongxu-ThinkPad-Edge-E440:~/catkin_ws$ roslaunch mbot_description arbotix_mbot_with_camera_xacro.launch

… logging to /home/tandongxu/.ros/log/53363cc0-96e8-11e9-95af-38b1d87fac7f/roslaunch-tandongxu-ThinkPad-Edge-E440-6189.log

Checking log directory for disk usage. This may take awhile.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

SUMMARY

========

PARAMETERS

* /arbotix/controllers/base_controller/Kd: 12

* /arbotix/controllers/base_controller/Ki: 0

* /arbotix/controllers/base_controller/Ko: 50

* /arbotix/controllers/base_controller/Kp: 12

* /arbotix/controllers/base_controller/accel_limit: 1.0

* /arbotix/controllers/base_controller/base_frame_id: base_footprint

* /arbotix/controllers/base_controller/base_width: 0.26

* /arbotix/controllers/base_controller/ticks_meter: 4100

* /arbotix/controllers/base_controller/type: diff_controller

* /arbotix/sim: True

* /robot_description:

* /rosdistro: kinetic

* /rosversion: 1.12.14

* /use_gui: False

NODES

/

arbotix (arbotix_python/arbotix_driver)

joint_state_publisher (joint_state_publisher/joint_state_publisher)

robot_state_publisher (robot_state_publisher/robot_state_publisher)

rviz (rviz/rviz)

auto-starting new master

process[master]: started with pid [6202]

ROS_MASTER_URI=http://localhost:11311

setting /run_id to 53363cc0-96e8-11e9-95af-38b1d87fac7f

process[rosout-1]: started with pid [6215]

started core service [/rosout]

process[arbotix-2]: started with pid [6228]

process[joint_state_publisher-3]: started with pid [6233]

process[robot_state_publisher-4]: started with pid [6234]

process[rviz-5]: started with pid [6235]

Traceback (most recent call last):

File "/home/tandongxu/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver", line 33, in

from arbotix_msgs.msg import *

ImportError: No module named arbotix_msgs.msg

[arbotix-2] process has died [pid 6228, exit code 1, cmd /home/tandongxu/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver __name:=arbotix __log:=/home/tandongxu/.ros/log/53363cc0-96e8-11e9-95af-38b1d87fac7f/arbotix-2.log].

log file: /home/tandongxu/.ros/log/53363cc0-96e8-11e9-95af-38b1d87fac7f/arbotix-2*.log

^C[rviz-5] killing on exit

[robot_state_publisher-4] killing on exit

[joint_state_publisher-3] killing on exit

[rosout-1] killing on exit

[master] killing on exit

shutting down processing monitor…

… shutting down processing monitor complete

done

tandongxu@tandongxu-ThinkPad-Edge-E440:~/catkin_ws$ roslaunch mbot_description arbotix_mbot_with_camera_xacro.launch

… logging to /home/tandongxu/.ros/log/888624f8-96e8-11e9-95af-38b1d87fac7f/roslaunch-tandongxu-ThinkPad-Edge-E440-6427.log

Checking log directory for disk usage. This may take awhile.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

SUMMARY

========

PARAMETERS

* /arbotix/controllers/base_controller/Kd: 12

* /arbotix/controllers/base_controller/Ki: 0

* /arbotix/controllers/base_controller/Ko: 50

* /arbotix/controllers/base_controller/Kp: 12

* /arbotix/controllers/base_controller/accel_limit: 1.0

* /arbotix/controllers/base_controller/base_frame_id: base_footprint

* /arbotix/controllers/base_controller/base_width: 0.26

* /arbotix/controllers/base_controller/ticks_meter: 4100

* /arbotix/controllers/base_controller/type: diff_controller

* /arbotix/sim: True

* /robot_description:

* /rosdistro: kinetic

* /rosversion: 1.12.14

* /use_gui: False

NODES

/

arbotix (arbotix_python/arbotix_driver)

joint_state_publisher (joint_state_publisher/joint_state_publisher)

robot_state_publisher (robot_state_publisher/robot_state_publisher)

rviz (rviz/rviz)

auto-starting new master

process[master]: started with pid [6440]

ROS_MASTER_URI=http://localhost:11311

setting /run_id to 888624f8-96e8-11e9-95af-38b1d87fac7f

process[rosout-1]: started with pid [6453]

started core service [/rosout]

process[arbotix-2]: started with pid [6464]

process[joint_state_publisher-3]: started with pid [6471]

process[robot_state_publisher-4]: started with pid [6472]

process[rviz-5]: started with pid [6473]

Traceback (most recent call last):

File "/home/tandongxu/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver", line 36, in

from arbotix_python.arbotix import ArbotiX, ArbotiXException

ImportError: No module named arbotix

[arbotix-2] process has died [pid 6464, exit code 1, cmd /home/tandongxu/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver __name:=arbotix __log:=/home/tandongxu/.ros/log/888624f8-96e8-11e9-95af-38b1d87fac7f/arbotix-2.log].

log file: /home/tandongxu/.ros/log/888624f8-96e8-11e9-95af-38b1d87fac7f/arbotix-2*.log

^C[rviz-5] killing on exit

[robot_state_publisher-4] killing on exit

[joint_state_publisher-3] killing on exit

[rosout-1] killing on exit

[master] killing on exit

shutting down processing monitor…

… shutting down processing monitor complete

done

我看其他博主说要把arbotix模块添加到环境里,可是我添加以后还是这样,请问该怎么解决(从书上下载的代码也是这样,arbotix用不了)。

你可能感兴趣的:(python路径规划仿真实验)