Skip to content

Commit

Permalink
Update docs with note about odometry calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Jun 17, 2024
1 parent 0a5e563 commit bc87e31
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions mecanum_drive_controller/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,24 @@
mecanum_drive_controller
=========================

Library with shared functionalities for mobile robots controllers with mecanum drive (four wheels).
Library with shared functionalities for mobile robot controllers with mecanum drive (four wheels).
The library implements generic odometry and update methods and defines the main interfaces.

Execution logic of the controller
----------------------------------

The controller uses velocity input, i.e., stamped or unstamped Twist messages where linear ``x``, ``y``, and angular ``z`` components are used.
Values in other components are ignored.
In the chain mode the controller provides three reference interfaces, one for linear velocity and one for steering angle position.
In the chain mode, the controller provides three reference interfaces, one for linear velocity and one for steering angle position.
Other relevant features are:

- odometry publishing as Odometry and TF message;
- input command timeout based on a parameter.

Note about odometry calculation:
In the DiffDRiveController, the velocity is filtered out, but we prefer to return it raw and let the user perform post-processing at will.
We prefer this way of doing so as filtering introduces delay (which makes it difficult to interpret and compare behavior curves).


Description of controller's interfaces
--------------------------------------
Expand All @@ -39,7 +43,7 @@ States

Subscribers
,,,,,,,,,,,,
Used when controller is not in chained mode (``in_chained_mode == false``).
Used when the controller is not in chained mode (``in_chained_mode == false``).

- <controller_name>/reference [geometry_msgs/msg/TwistStamped]

Expand All @@ -52,6 +56,6 @@ Publishers
Parameters
,,,,,,,,,,,

For list of parameters and their meaning, see the YAML file in the ``src`` folder of the controller's package.
For a list of parameters and their meaning, see the YAML file in the ``src`` folder of the controller's package.

For an exemplary parameterization see the ``test`` folder of the controller's package.
For an exemplary parameterization, see the ``test`` folder of the controller's package.

0 comments on commit bc87e31

Please sign in to comment.