-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generic messages for commanding and getting states from controlle…
- Loading branch information
1 parent
9aa3680
commit 6c9a028
Showing
7 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# The message defines command for multiple degrees of freedom (DoF) typically used by many controllers. | ||
# The message intentionally avoids 'joint' nomenclature because it can be generally use for command with | ||
# different semantic meanings, e.g., joints, Cartesian axes, or have abstract meaning like GPIO interface. | ||
|
||
# names of degrees of freedom | ||
string[] dof_names | ||
|
||
# values used by most of the controller | ||
float64[] values | ||
|
||
# First derivation of the values, e.g., velocity if values are positions. | ||
# This is useful for PID and similar controllers. | ||
float64[] values_dot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This message presents current controller state of multiple degrees of freedom. | ||
|
||
# Header timestamp should be update time of controller state | ||
std_msgs/Header header | ||
|
||
SingleDOFState[] dof_states |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This message presents current controller state of one degree of freedom. | ||
|
||
# DoF name, e.g., joint or Cartesian axis name | ||
string name | ||
|
||
# The set point, that is, desired state. | ||
float64 reference | ||
|
||
# Current value of the process (ie: latest sensor measurement on the controlled value). | ||
float64 feedback | ||
|
||
# First time-derivative of the process value. E.g., velocity. | ||
float64 feedback_dot | ||
|
||
# The error of the controlled value, essentially process_value - set_point (for a regular PID implementation). | ||
float64 error | ||
|
||
# First time-derivative of the error of the controlled value. | ||
float64 error_dot | ||
|
||
# Time between two consecutive updates/execution of the control law. | ||
float64 time_step | ||
|
||
# Current output of the controller. | ||
float64 output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This message presents current controller state of one degree of freedom. | ||
|
||
# Header timestamp should be update time of controller state | ||
std_msgs/Header header | ||
|
||
SingleDOFState dof_state |