Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/y250ht/imu_ros2_cmp10a

The nine-axis ARHS attitude sensor MEMS magnetometer bought from yahboom performs well in ROS1, but when it is used in ROS2, the data of a number of sensors will tend to zero indefinitely and the data will float in chaos. The warehouse has rewritten the driver code of the IMU CMP10A. So that it can read the data correctly in ROS2 HUMBLE.
https://github.com/y250ht/imu_ros2_cmp10a

imu-data imu-sensor ros2-humble

Last synced: about 1 month ago
JSON representation

The nine-axis ARHS attitude sensor MEMS magnetometer bought from yahboom performs well in ROS1, but when it is used in ROS2, the data of a number of sensors will tend to zero indefinitely and the data will float in chaos. The warehouse has rewritten the driver code of the IMU CMP10A. So that it can read the data correctly in ROS2 HUMBLE.

Awesome Lists containing this project

README

        

# IMU_ROS2_CMP10A
The nine-axis ARHS attitude sensor MEMS magnetometer bought from yahboom performs well in ROS1, but when it is used in ROS2, the data of a number of sensors will tend to zero indefinitely and the data will float in chaos. The warehouse has rewritten the driver code of the IMU CMP10A. So that it can read the data correctly in ROS2 HUMBLE.



## Install dependencies
you must have serial, and change CMakeLists.txt
```bash
$ git clone https://github.com/wjwwood/serial
$ make
$ make test
$ make doc
$ sudo make install
```

## Manually set your own serial library path
```bash
set(SERIAL_INCLUDE_DIR /home/nano/ws/src/serial/include)
set(SERIAL_LIBRARY /home/nano/ws/src/serial/build/libserial.a)
```
```bash
$ rosdep update
$ rosdep install --from-paths src --ignore-src -r -y --rosdistro humble
$ colcon build
```
## Use IMU_Driver
```bash
$ . install/setup.bash
$ ros2 launch gnss_imu_sim imu_driver_launch.py
```