Skip to content

HarvestX/MGS1600GY-ROS2

Repository files navigation

MGS1600GY-ROS2

RoboteQ line sensor module controller for ROS2.

Image

ROS2 Distro Build status
humble ci_humble

Requirements

Setup

Add the user to the dialout group.

sudo adduser $USER dialout

The user will need to log out & log back in again for this to take effect.

Install

Locate the package in the workspace

mkdir -p ~/<Your Workspace>/src
cd ~/<Your Workspace>/src
git clone git@github.com:HarvestX/MGS1600GY-ROS2.git

Install dependencies

source /opt/ros/$ROS_DISTRO/setup.bash
cd ~/<Your Workspace>/src/MGS1600GY-ROS2
setup.bash

Build source

cd ~/<Your Workspace>
colcon build

Launch

source ~/<Your Workspace>/install/setup.bash
ros2 launch mgs1600gy_bringup mgs1600gy.launch.py dev:=<Your Path to Device>

Calibration

ros2 run mgs1600gy_tool gyro_calibrator --ros-args -p dev:=<Your Path to Device>

References