roscore
sudo chmod 666 /dev/ttyACM0
Write mpu9250.ino to the Arduino
rosrun rosserial_python serial_node.py /dev/ttyACM0
source devel/setup.bash
roslaunch MPU9250 imu.launch
roscore
sudo chmod 666 /dev/ttyACM0
Write mpu9250_with_madgwick.ino to the Arduino
rosrun rosserial_python serial_node.py /dev/ttyACM0
source devel/setup.bash
roslaunch MPU9250 imu_with_madgwick.launch