Skip to content

Commit

Permalink
added spring and pto (still need a couple pto losses)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Anderson <[email protected]>
  • Loading branch information
andermi committed Aug 25, 2023
1 parent 7d87e1f commit d7ac2c3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buoy_interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ find_package(sensor_msgs REQUIRED)
find_package(std_msgs REQUIRED)

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/AirSpring.msg"
"msg/BCRecord.msg"
"msg/ElectroHydraulic.msg"
"msg/IncWaveHeight.msg"
"msg/LatentData.msg"
"msg/PBCommandResponse.msg"
Expand Down
5 changes: 5 additions & 0 deletions buoy_interfaces/msg/AirSpring.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
float64 force # Newtons
float64 temperature # K
float64 heat_loss # dQ/dt in Watts
float64 piston_position # meters
float64 piston_velocity # m/s
7 changes: 7 additions & 0 deletions buoy_interfaces/msg/ElectroHydraulic.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
float64 inst_power # Watts
float64 rpm

float64 motor_drive_i2r_loss
float64 motor_drive_switching_loss
float64 motor_drive_friction_loss
float64 battery_i2r_loss
5 changes: 5 additions & 0 deletions buoy_interfaces/msg/LatentData.msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ std_msgs/Header header

IncWaveHeight[] inc_wave_heights

AirSpring upper_spring
AirSpring lower_spring

ElectroHydraulic electro_hydraulic

# TODO(andermi) fill in other stuff

0 comments on commit d7ac2c3

Please sign in to comment.