Ramune6110 / MPU9250-ROS

0 stars 0 forks source link

MPU9250-ROS

MPU9250 with Arduino

Use the following libraries

Execution method with imu_tools

STEP1

roscore

STEP2

sudo chmod 666 /dev/ttyACM0

Write mpu9250.ino to the Arduino

rosrun rosserial_python serial_node.py /dev/ttyACM0

STEP3

source devel/setup.bash
roslaunch MPU9250 imu.launch

Result

Screenshot from 2021-02-21 19-42-46

Movie

rviz movie

Execution method with madgwick filter

STEP1

roscore

STEP2

sudo chmod 666 /dev/ttyACM0

Write mpu9250_with_madgwick.ino to the Arduino

rosrun rosserial_python serial_node.py /dev/ttyACM0

STEP3

source devel/setup.bash
roslaunch MPU9250 imu_with_madgwick.launch

Result

Screenshot from 2021-02-21 22-55-20

Movie

rviz movie