Skip to content

Commit

Permalink
separate sdf incwaveheight points from service call; allow service to…
Browse files Browse the repository at this point in the history
… request points in relative_time to current sim time

Signed-off-by: Michael Anderson <[email protected]>
  • Loading branch information
andermi committed Sep 6, 2023
1 parent 7d87e1f commit 17310e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 7 additions & 2 deletions buoy_interfaces/msg/IncWaveHeight.msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# relative_time is the time height was computed in decimal seconds
# relative to simulation time in pose header.stamp
float64 relative_time

# x, y is relative to buoy origin; otherwise world origin
bool use_buoy_origin

# position = x, y, height
# header.stamp = simulation time
# position = x, y, z(height)
# orientation = normal vector (slope of wave) at position
geometry_msgs/Pose pose
geometry_msgs/PoseStamped pose
9 changes: 6 additions & 3 deletions buoy_interfaces/srv/IncWaveHeight.srv
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# IncWaveHeight Request

# x, y to evaluate height
geometry_msgs/Point[] points
# relative_time in decimal seconds to evaluate height at time relative to now (0)
# (Note: may be in future)
float64 relative_time

# x, y is relative to buoy origin; otherwise world origin
bool use_buoy_origin

# x, y to evaluate height
geometry_msgs/Point[] points

---

# IncWaveHeight Response

builtin_interfaces/Time stamp
IncWaveHeight[] heights
bool valid

0 comments on commit 17310e4

Please sign in to comment.