Highlights:
- Resolved code adaptability issues mentioned in the issues of
imu_utilsandcode_utils - Integrated Python code for visualizing Allan curves
- Provided instructions for building the corresponding Docker container and code for a node that generates simulated IMU data, making the entire tool ready to use out of the box
- ROS 1
- OpenCV
- Ceres 2.2.0
- Boost
or Docker:
- Docker Enginer
- Docker Compose 2.X
- VS Code (Recommend)
- Docker
- Remote Development
- C/C++ Extension Pack
chmox +x start_dev.sh
bash start_dev.shcd /ws
catkin_make -DCATKIN_WHITELIST_PACKAGES="code_utils"
catkin_make -DCATKIN_WHITELIST_PACKAGES="imu_utils"
catkin_make -DCATKIN_WHITELIST_PACKAGES="ros_imu"
catkin_make
cd /ws
source devel/setup.bash
rosrun vio_data_simulation vio_data_simulation_nodecd /ws
source devel/setup.bash
roslaunch imu_utils imu.launchrosbag play -r 500 /root/imu.bagcd src/imu_utils/scripts/python
python3 draw_allan.pyIf you cannot find /dev/ttyUSB0, this page may help: https://askubuntu.com/questions/1403705/dev-ttyusb0-not-present-in-ubuntu-22-04
cd /ws
source devel/setup.bash
roslaunch imu_utils im10a.launchcd /ws
source devel/setup.bash
roslaunch ros_imu imu.launchThen just waiting for imu_utils to finish
The repo is under MIT License.
| Module | Source | Licence |
|---|---|---|
imu_utils |
https://github.com/gaowenliang/imu_utils | MIT |
code_utils |
https://github.com/gaowenliang/code_utils | N/A |
vio_data_simulation |
https://github.com/HeYijia/vio_data_simulation/tree/ros_version | N/A |
code_utils/src/*.cpp: modifyCV_MINMAXtoCV_MMX, modifyCV_LOAD_IMAGE_UNCHANGEDtoIMREAD_UNCHANGEDcode_utils/CMakeLists.txt: add include pathinclude_directories("include/code_utils")- Create
imu_utils/launch/imu.launchto get imu data fromrosbag play vio_data_simulation/src/imu.cpp/IMU::testImu(): modify Euler integral to median integral- Modify
imu_utils/scripts/*.mtoimu_utils/scripts/matlab/*.mand addimu_utils/scripts/python/*.py





