myAHRS+在ubuntu+indigo上安裝過程中遇到的一個錯誤

錯誤:[ERROR] [1498098118.771725090]: Initialize() returns false, please check your devices.

解決:1)ls /dev/tty*  查看所有tty串口,看是否有/dev/ttyACM0;

            2)sudo chmod 666 /dev/ttyACM0  給/dev/ttyACM0權限;

 
myAHRS+安裝如下:

1)安裝

Install the package:

sudo apt-get install ros-indigo-myahrs-driver

Install the package from the github:

cd ~/catkin_ws/src
git clone https://github.com/robotpilot/myahrs_driver.git
cd ~/catkin_ws && catkin_make

2)運行

Run the driver like so:

rosrun myahrs_driver myahrs_driver _port:=/dev/ttyACM0

or

roslaunch myahrs_driver myahrs_driver.launch

3)topic

Published Topics

imu/data_raw (sensor_msgs/Imu)

  • raw data of linear_acceleration and angular_velocity from device.
imu/data (sensor_msgs/Imu)
  • orientation, linear_acceleration, and angular_velocity data from device.
imu/mag (sensor_msgs/MagneticField)
  • magnetic_field data from device.
imu/temperature (std_msgs/Float64) Temperature sensed from device, in degrees centigrade.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章