Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion control_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ find_package(rosidl_default_generators REQUIRED)
find_package(action_msgs REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(std_msgs REQUIRED)
find_package(sensor_msgs REQUIRED)
Comment thread
bmagyar marked this conversation as resolved.
find_package(trajectory_msgs REQUIRED)

set(msg_files
msg/AdmittanceControllerState.msg
msg/DynamicJointState.msg
msg/GripperCommand.msg
msg/InterfaceValue.msg
Expand Down Expand Up @@ -52,7 +54,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
${srv_files}
${action_files}
DEPENDENCIES action_msgs builtin_interfaces geometry_msgs std_msgs trajectory_msgs
DEPENDENCIES action_msgs builtin_interfaces geometry_msgs std_msgs trajectory_msgs sensor_msgs
Comment thread
destogl marked this conversation as resolved.
Outdated
ADD_LINTER_TESTS
)
ament_export_dependencies(rosidl_default_runtime)
Expand Down
12 changes: 12 additions & 0 deletions control_msgs/msg/AdmittanceControllerState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sensor_msgs/JointState joint_state # calculated admittance offsets in joint space
std_msgs/Float64MultiArray damping # 6-vector of damping terms used in the admittance calculation
std_msgs/Float64MultiArray mass # 6-vector of mass terms used in the admittance calculation
std_msgs/Int8MultiArray selected_axes # 6-vector of 0/1 describing if admittance is enable in the correspondence control frame axis
Comment thread
bmagyar marked this conversation as resolved.
Outdated
std_msgs/Float64MultiArray stiffness # 6-vector of stiffness terms used in the admittance calculation
Comment thread
bmagyar marked this conversation as resolved.
geometry_msgs/WrenchStamped wrench_base # wrench used in the admittance calculation
geometry_msgs/TwistStamped admittance_acceleration # calculated admittance acceleration in cartesian space
geometry_msgs/TwistStamped admittance_velocity # calculated admittance velocity in cartesian space
geometry_msgs/TransformStamped admittance_position # calculated admittance position in cartesian space
geometry_msgs/Quaternion rot_base_control # quaternion describing the orientation of the control frame
geometry_msgs/TransformStamped ref_trans_base_ft # force torque sensor transform at the reference joint configuration
std_msgs/String ft_sensor_frame # name of the force torque frame
6 changes: 0 additions & 6 deletions control_msgs/msg/JointTrajectoryControllerState.msg
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
std_msgs/Header header

string[] joint_names
trajectory_msgs/JointTrajectoryPoint desired
trajectory_msgs/JointTrajectoryPoint actual
trajectory_msgs/JointTrajectoryPoint error # Redundant, but useful

string[] multi_dof_joint_names
trajectory_msgs/MultiDOFJointTrajectoryPoint multi_dof_desired
trajectory_msgs/MultiDOFJointTrajectoryPoint multi_dof_actual
trajectory_msgs/MultiDOFJointTrajectoryPoint multi_dof_error # Redundant, but useful
1 change: 1 addition & 0 deletions control_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<depend>builtin_interfaces</depend>
<depend>geometry_msgs</depend>
<depend>std_msgs</depend>
<depend>sensor_msgs</depend>
Comment thread
bmagyar marked this conversation as resolved.
<depend>trajectory_msgs</depend>

<exec_depend>rosidl_default_runtime</exec_depend>
Expand Down