-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from UM-ARM-Lab/merge_control_mode_status_and_…
…command Merge control mode status and command
- Loading branch information
Showing
31 changed files
with
879 additions
and
1,055 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 @@ | ||
package victor_hardware_interface; | ||
|
||
struct control_mode | ||
{ | ||
const int8_t IS_POSITION_MOTION=0; // Flag to bitmask | ||
const int8_t IS_CARTESIAN_MOTION=1; // Flag to bitmask | ||
const int8_t IS_IMPEDANCE_CONTROL=2; // Flag to bitmask | ||
const int8_t JOINT_POSITION=0; | ||
const int8_t JOINT_IMPEDANCE=2; | ||
const int8_t CARTESIAN_POSE=1; | ||
const int8_t CARTESIAN_IMPEDANCE=3; | ||
int8_t mode; | ||
} |
11 changes: 2 additions & 9 deletions
11
...terface/lcm_defs/control_mode_command.lcm → ...face/lcm_defs/control_mode_parameters.lcm
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 |
---|---|---|
@@ -1,19 +1,12 @@ | ||
package victor_hardware_interface; | ||
|
||
struct control_mode_command | ||
struct control_mode_parameters | ||
{ | ||
victor_hardware_interface.joint_impedance_parameters joint_impedance_params; | ||
victor_hardware_interface.cartesian_impedance_parameters cartesian_impedance_params; | ||
victor_hardware_interface.cartesian_control_mode_limits cartesian_control_mode_limits; | ||
victor_hardware_interface.joint_path_execution_parameters joint_path_execution_params; | ||
victor_hardware_interface.cartesian_path_execution_parameters cartesian_path_execution_params; | ||
victor_hardware_interface.control_mode control_mode; | ||
double timestamp; | ||
const int8_t IS_POSITION_MOTION=0; // Flag to bitmask | ||
const int8_t IS_CARTESIAN_MOTION=1; // Flag to bitmask | ||
const int8_t IS_IMPEDANCE_CONTROL=2; // Flag to bitmask | ||
const int8_t JOINT_POSITION=0; | ||
const int8_t JOINT_IMPEDANCE=2; | ||
const int8_t CARTESIAN_POSE=1; | ||
const int8_t CARTESIAN_IMPEDANCE=3; | ||
int8_t control_mode; | ||
} |
19 changes: 0 additions & 19 deletions
19
victor_hardware_interface/lcm_defs/control_mode_status.lcm
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.