Home » ROS2与传感器教程 » ros2与传感器-整合imu传感器razor 9dof m0

ros2与传感器-整合imu传感器razor 9dof m0

ros2与传感器-整合imu传感器razor 9dof m0

说明:

  • 介绍如何在ros2下使用razor 9dof m0
  • 刷固件参考教程,https://www.ncnynl.com/archives/201904/2950.html

相关设备:

步骤:

  • 安装依赖
pip3 install pygments==2.4.1
pip3 install transforms3d
pip3 install vpython 
pip3 install wxPython 
  • 源码编译
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ git clone https://github.com/ncnynl/ros2_razor_imu
$ cd  ~/catkin_ws
$ colcon build --symlink-install

测试:

  • 启动imu和rviz
$ ros2 launch ros2_razor_imu razor-pub-and-display.launch.py
  • 启动imu
$ ros2 launch ros2_razor_imu razor-pub.launch.py
  • 启动rviz
$ ros2 launch ros2_razor_imu razor-display.launch.py

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: ros2与传感器