Skip to content

Commit

Permalink
Add old tactile sensor messages (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnzenha-s authored May 15, 2023
1 parent 8fcf8a8 commit a2c2845
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sr_robot_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ add_message_files(
MotorSystemControls.msg
MST.msg
MSTAll.msg
MSTReading.msg
MSTSensor.msg
MSTFinger.msg
MSTPalm.msg
reverseKinematics.msg
sendupdate.msg
ShadowContactStateStamped.msg
Expand Down
2 changes: 2 additions & 0 deletions sr_robot_msgs/msg/MSTFinger.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Each finger has 7 sensors
MSTSensor[7] sensors
2 changes: 2 additions & 0 deletions sr_robot_msgs/msg/MSTPalm.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Header header
MSTFinger[5] fingers
5 changes: 5 additions & 0 deletions sr_robot_msgs/msg/MSTReading.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Stamp when sent
time timestamp
# Fields gathering the different kind of data collected by the sensor
geometry_msgs/Point[] magnetic_data
float32[] temperature_data
11 changes: 11 additions & 0 deletions sr_robot_msgs/msg/MSTSensor.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Magnetic induction along x axis in gauss
int16 magnetic_induction_x

# Magnetic induction along y axis in gauss
int16 magnetic_induction_y

# Magnetic induction along z axis in gauss
int16 magnetic_induction_z

# PCB temperature in 1/100 degrees Celsius (100 = 1 degree Celsius)
int16 temperature

0 comments on commit a2c2845

Please sign in to comment.