Skip to content

Commit

Permalink
Update rbr_maestro3_node.py
Browse files Browse the repository at this point in the history
Updated hard coded header count from 16 to 15 for change in RBR unit used in Alma March 2023 deployment.
  • Loading branch information
mbrosnahan authored Mar 15, 2024
1 parent 37e645b commit 3a60701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rbr_maestro3_ctd/src/rbr_maestro3_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ async def main():

# Crummy parser
fields = [ x.strip() for x in msg.data.split(b',') ]
if len(fields) != 16:
rospy.logwarn(f'Discarding malformed RBR message - expected 16 fields but received {len(fields)}')
if len(fields) != 15:
rospy.logwarn(f'Discarding malformed RBR message - expected 15 fields but received {len(fields)}')
continue

try:
Expand Down

0 comments on commit 3a60701

Please sign in to comment.