You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/wheels_hall_sensor.md
+27-1
Original file line number
Diff line number
Diff line change
@@ -52,4 +52,30 @@ The magnet ring of this new design uses simple 1mm double-sided tape to attach o
52
52
53
53
Arduino's firmware and `jmoab-ros-wheels-rpm` are same.
54
54
55
-
Please check on [this video](https://youtu.be/tCoUMoUfn2s), of how to operate it.
55
+
Please check on [this video](https://youtu.be/tCoUMoUfn2s), of how to operate it.
56
+
57
+
## Nodes
58
+
59
+
Once you started `jmoab-ros-wheels-rpm.py`, it's publishing
60
+
61
+
-`wheels_rpm` as array of [left_rpm, right_rpm]
62
+
63
+
-`wheels_speed` as array of [VL, VR], linear velocity of the wheels
64
+
65
+
-`odom` as Odometry topic, this is quite poor because our sensor is only 8 ticks per revolution.
66
+
67
+
To improve the odom topic, we need [robot_pose_ekf package](http://wiki.ros.org/robot_pose_ekf) to fuse the sensor of wheel's odometry with IMU sensors.
68
+
69
+
I changed [this](https://github.com/ros-planning/robot_pose_ekf/blob/fd6cef32b447e8b344a1111373e515aa2f8bfc50/robot_pose_ekf.launch#L5)`base_footprint` to `base_link`, and disable [this](https://github.com/ros-planning/robot_pose_ekf/blob/fd6cef32b447e8b344a1111373e515aa2f8bfc50/robot_pose_ekf.launch#L10)`vo_used` to false.
You will get `ekf_odom` topic for a fused odom. Please check on this [demo video](https://www.youtube.com/watch?v=SlqJzMmxYxU&ab_channel=stepbystep-robotics).
80
+
81
+
The green arrow is `ekf_odom`, red arrow is original `odom`.
0 commit comments