Skip to content

Commit

Permalink
feat: Move RBR channels to ~/rbr/
Browse files Browse the repository at this point in the history
  • Loading branch information
figuernd committed Aug 19, 2024
1 parent 724e3ad commit cd0a53d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/rbr_maestro3_ctd/src/rbr_maestro3_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ async def main():
ctd_publisher = rospy.Publisher('~', Ctd, queue_size=5)
if has_depth:
depth_publisher = rospy.Publisher('~depth', DepthPressure, queue_size=5)
channel_publishers = []
for c, u in channels:
if c == 'depth':
continue
channel_publishers.append(rospy.Publisher(f'~{ros_safe(c)}', RbrMeasurement, queue_size=5))
channel_publishers = [
rospy.Publisher(f'~rbr/{ros_safe(c)}', RbrMeasurement, queue_size=5)
for c, u in channels
]

# Subscribe to incoming comms messages
handler = lambda msg: asyncio.run_coroutine_threadsafe(ros_msg_q.put(msg),
Expand Down

0 comments on commit cd0a53d

Please sign in to comment.