vanadiumlabs / arbotix_ros

Arbotix ROS drivers repository
Other
77 stars 99 forks source link

ModuleNotFoundError: No module named 'ax12'. when i "roslaunch mrobot_description arbotix_mrobot_with_kinect.launch " #42

Closed guan4286 closed 5 years ago

guan4286 commented 5 years ago

g@g:~/catkin_ws$ roslaunch mrobot_description arbotix_mrobot_with_kinect.launch ... logging to /home/g/.ros/log/0767860a-efe0-11e8-a5fc-2cfda1bc2526/roslaunch-g-10554.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.

started roslaunch server http://g:40353/

SUMMARY

PARAMETERS

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 [10567] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 0767860a-efe0-11e8-a5fc-2cfda1bc2526 process[rosout-1]: started with pid [10580] started core service [/rosout] process[arbotix-2]: started with pid [10598] process[joint_state_publisher-3]: started with pid [10599] process[robot_state_publisher-4]: started with pid [10600] process[rviz-5]: started with pid [10601] Traceback (most recent call last): File "/home/g/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver", line 36, in from arbotix_python.arbotix import ArbotiX, ArbotiXException File "/home/g/catkin_ws/src/arbotix_ros/arbotix_python/src/arbotix_python/arbotix.py", line 34, in from ax12 import ModuleNotFoundError: No module named 'ax12' [arbotix-2] process has died [pid 10598, exit code 1, cmd /home/g/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver name:=arbotix log:=/home/g/.ros/log/0767860a-efe0-11e8-a5fc-2cfda1bc2526/arbotix-2.log]. log file: /home/g/.ros/log/0767860a-efe0-11e8-a5fc-2cfda1bc2526/arbotix-2.log ================================================================================REQUIRED process [rviz-5] has died! process has finished cleanly log file: /home/g/.ros/log/0767860a-efe0-11e8-a5fc-2cfda1bc2526/rviz-5*.log Initiating shutdown!

[rviz-5] killing on exit [joint_state_publisher-3] killing on exit [robot_state_publisher-4] killing on exit [rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done

guan4286 commented 5 years ago

how to install "ax12" module?

mikeferguson commented 5 years ago

ax12 is part of this package, so I think something is wrong with your workspace.

guan4286 commented 5 years ago

When i compile it again.it worked now