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: admittance_controller/doc/userdoc.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The controller implements ``ChainedControllerInterface``, so it is possible to a
11
11
The controller requires an external kinematics plugin to function. The `kinematics_interface <https://github.com/ros-controls/kinematics_interface>`_ repository provides an interface and an implementation that the admittance controller can use.
Copy file name to clipboardExpand all lines: diff_drive_controller/doc/userdoc.rst
+28-33Lines changed: 28 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,71 +6,66 @@ diff_drive_controller
6
6
=====================
7
7
8
8
Controller for mobile robots with differential drive.
9
-
Input for control are robot body velocity commands which are translated to wheel commands for the differential drive base.
10
-
Odometry is computed from hardware feedback and published.
11
-
12
-
Velocity commands
13
-
-----------------
14
9
15
-
The controller works with a velocity twist from which it extracts the x component of the linear velocity and the z component of the angular velocity. Velocities on other components are ignored.
10
+
As input it takes velocity commands for the robot body, which are translated to wheel commands for the differential drive base.
16
11
17
-
Hardware interface type
18
-
-----------------------
19
-
20
-
The controller works with wheel joints through a velocity interface.
12
+
Odometry is computed from hardware feedback and published.
21
13
22
14
Other features
23
15
--------------
24
16
25
-
Realtime-safe implementation.
26
-
Odometry publishing
27
-
Task-space velocity, acceleration and jerk limits
28
-
Automatic stop after command time-out
17
+
+ Realtime-safe implementation.
18
+
+ Odometry publishing
19
+
+ Task-space velocity, acceleration and jerk limits
20
+
+ Automatic stop after command time-out
29
21
30
22
31
-
ros2_control Interfaces
32
-
------------------------
23
+
Description of controller's interfaces
24
+
------------------------------------------------
33
25
34
26
References
35
-
,,,,,,,,,,,
27
+
,,,,,,,,,,,,,,,,,,
36
28
29
+
(the controller is not yet implemented as chainable controller)
37
30
38
-
States
39
-
,,,,,,,
31
+
Feedback
32
+
,,,,,,,,,,,,,,
40
33
34
+
As feedback interface type the joints' position (``hardware_interface::HW_IF_POSITION``) or velocity (``hardware_interface::HW_IF_VELOCITY``,if parameter ``position_feedback=false``) are used.
41
35
42
-
Commands
36
+
Output
43
37
,,,,,,,,,
44
38
39
+
Joints' velocity (``hardware_interface::HW_IF_VELOCITY``) are used.
45
40
46
-
ROS2 Interfaces
47
-
----------------
41
+
42
+
ROS 2 Interfaces
43
+
------------------------
48
44
49
45
Subscribers
50
46
,,,,,,,,,,,,
47
+
51
48
~/cmd_vel [geometry_msgs/msg/TwistStamped]
52
-
Velocity command for the controller.
49
+
Velocity command for the controller, if ``use_stamped_vel=true``. The controller extracts the x component of the linear velocity and the z component of the angular velocity. Velocities on other components are ignored.
53
50
54
51
~/cmd_vel_unstamped [geometry_msgs::msg::Twist]
55
-
56
-
~/cmd_vel_out []
57
-
58
-
52
+
Velocity command for the controller, if ``use_stamped_vel=false``. The controller extracts the x component of the linear velocity and the z component of the angular velocity. Velocities on other components are ignored.
59
53
60
54
61
55
Publishers
62
56
,,,,,,,,,,,
63
-
~/odom []
57
+
~/odom [nav_msgs::msg::Odometry]
58
+
This represents an estimate of the robot's position and velocity in free space.
64
59
65
-
/tf
60
+
/tf [tf2_msgs::msg::TFMessage]
61
+
tf tree. Published only if ``enable_odom_tf=true``
66
62
67
-
68
-
Services
69
-
,,,,,,,,,
63
+
~/cmd_vel_out [geometry_msgs/msg/TwistStamped]
64
+
Velocity command for the controller, where limits were applied. Published only if ``publish_limited_velocity=true``
70
65
71
66
72
67
Parameters
73
-
------------
68
+
,,,,,,,,,,,,
74
69
75
70
Check `parameter definition file for details <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/diff_drive_controller/src/diff_drive_controller_parameter.yaml>`_.
Copy file name to clipboardExpand all lines: doc/writing_new_controller.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ The following is a step-by-step guide to create source files, basic tests, and c
27
27
28
28
3. **Adding declarations into header file (.hpp)**
29
29
30
-
1. Take care that you use header guards. ROS2-style is using ``#ifndef`` and ``#define`` preprocessor directives. (For more information on this, a search engine is your friend :) ).
30
+
1. Take care that you use header guards. ROS 2-style is using ``#ifndef`` and ``#define`` preprocessor directives. (For more information on this, a search engine is your friend :) ).
31
31
32
32
2. include ``"controller_interface/controller_interface.hpp"`` and ``visibility_control.h`` if you are using one.
0 commit comments