Skip to content

Commit 92fb6ef

Browse files
committed
Update README
1 parent 41c98b3 commit 92fb6ef

File tree

1 file changed

+51
-35
lines changed

1 file changed

+51
-35
lines changed

README.md

Lines changed: 51 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,78 @@
11
IMU tools for ROS
2-
===================================
2+
=================
33

44
Overview
5-
-----------------------------------
5+
--------
66

7-
IMU-related filters and visualizers. The stack contains:
7+
IMU-related filters and visualizers. The repository contains:
88

9-
* `imu_filter_madgwick`: a filter which fuses angular velocities,
10-
accelerations, and (optionally) magnetic readings from a generic IMU
11-
device into an orientation. Based on the work of [1].
9+
* `imu_filter_madgwick`: a filter which fuses angular velocities,
10+
accelerations, and (optionally) magnetic readings from a generic IMU
11+
device into an orientation. Based on the work of [1].
1212

13-
* `imu_complementary_filter`: a filter which fuses angular velocities,
14-
accelerations, and (optionally) magnetic readings from a generic IMU
15-
device into an orientation quaternion using a novel approach based on a complementary fusion. Based on the work of [2].
13+
* `imu_complementary_filter`: a filter which fuses angular velocities,
14+
accelerations, and (optionally) magnetic readings from a generic IMU
15+
device into an orientation quaternion using a novel approach based on a
16+
complementary fusion. Based on the work of [2].
17+
18+
* `rviz_imu_plugin` a plugin for rviz which displays `sensor_msgs::Imu` messages
19+
20+
[1]: https://www.x-io.co.uk/open-source-imu-and-ahrs-algorithms/
21+
22+
[2]: https://www.mdpi.com/1424-8220/15/8/19302
1623

17-
* `rviz_imu_plugin` a plugin for rviz which displays `sensor_msgs::Imu`
18-
messages
1924

2025
Installing
21-
-----------------------------------
26+
----------
27+
28+
### From binaries
29+
30+
This repo has been released into all current ROS1 and ROS2 distros. To install,
31+
simply:
32+
33+
sudo apt-get install ros-<YOUR_ROSDISTO>-imu-tools
2234

23-
### From source ###
35+
### From source (ROS1)
2436

25-
[Create a catkin workspace](http://wiki.ros.org/catkin/Tutorials/create_a_workspace)
26-
(e.g., `~/ros-hydro-ws/`) and source the `devel/setup.bash` file.
37+
[Create a catkin workspace](https://wiki.ros.org/catkin/Tutorials/create_a_workspace)
38+
(e.g., `~/catkin_ws/`) and source the `devel/setup.bash` file.
2739

2840
Make sure you have git installed:
2941

30-
sudo apt-get install git-core
42+
sudo apt-get install git
3143

32-
Download the stack from our repository into your catkin workspace (e.g.,
33-
`ros-hydro-ws/src`; use the proper branch for your distro, e.g., `groovy`,
34-
`hydro`...):
44+
Clone this repository into your catkin workspace (e.g., `~/catin_ws/src`; use
45+
the proper branch for your distro, e.g., `melodic`, `noetic`, ...):
3546

36-
git clone -b <distro> https://github.com/ccny-ros-pkg/imu_tools.git
47+
git clone -b <YOUR_ROSDISTO> https://github.com/CCNYRoboticsLab/imu_tools.git
3748

38-
Install any dependencies using [rosdep](http://www.ros.org/wiki/rosdep).
49+
Install any dependencies using [rosdep](https://www.ros.org/wiki/rosdep).
3950

4051
rosdep install imu_tools
4152

4253
Compile the stack:
4354

44-
cd ~/ros-hydro-ws
55+
cd ~/catkin_ws
4556
catkin_make
4657

58+
### From source (ROS2)
59+
60+
Follow the steps from the ROS2 [Creating a
61+
workspace](https://docs.ros.org/en/rolling/Tutorials/Workspace/Creating-A-Workspace.html)
62+
documentation, but instead of cloning the sample repo, clone the proper branch
63+
of this repo instead:
64+
65+
git clone -b <YOUR_ROSDISTO> https://github.com/CCNYRoboticsLab/imu_tools.git
66+
67+
4768
More info
48-
-----------------------------------
69+
---------
4970

50-
http://wiki.ros.org/imu_tools
71+
All nodes, topics and parameters are documented on [this repo's ROS wiki
72+
page](https://wiki.ros.org/imu_tools).
5173

5274

53-
pre-commit Formatting Checks
75+
pre-commit formatting checks
5476
----------------------------
5577

5678
This repo has a [pre-commit](https://pre-commit.com/) check that runs in CI.
@@ -74,16 +96,10 @@ pre-commit install
7496
```
7597

7698
License
77-
-----------------------------------
78-
79-
* `imu_filter_madgwick`: currently licensed as GPL, following the original implementation
80-
81-
* `imu_complementary_filter`: BSD
99+
-------
82100

83-
* `rviz_imu_plugin`: BSD
101+
* `imu_filter_madgwick`: currently licensed as GPL, following the original implementation
84102

85-
References
86-
-----------------------------------
87-
[1] http://www.x-io.co.uk/open-source-imu-and-ahrs-algorithms/
103+
* `imu_complementary_filter`: BSD
88104

89-
[2] http://www.mdpi.com/1424-8220/15/8/19302
105+
* `rviz_imu_plugin`: BSD

0 commit comments

Comments
 (0)