Skip to content

Commit

Permalink
Updating SLAM node for uncompressed sonar images
Browse files Browse the repository at this point in the history
  • Loading branch information
jake3991 committed Apr 25, 2023
1 parent 7e34a25 commit 79e3ff2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bruce_slam/scripts/slam_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import rospy
from bruce_slam.utils.io import *
from bruce_slam.slam_ros import SLAMNode
from bruce_slam.utils.topics import *

def offline(args)->None:
"""run the SLAM system offline
Expand Down Expand Up @@ -50,7 +51,7 @@ def offline(args)->None:
dead_reckoning_node.dvl_sub.callback(msg)
elif topic == DEPTH_TOPIC:
dead_reckoning_node.depth_sub.callback(msg)
elif topic == SONAR_TOPIC:
elif topic == SONAR_TOPIC or SONAR_TOPIC_UNCOMPRESSED:
feature_extraction_node.sonar_sub.callback(msg)
elif topic == GYRO_TOPIC:
gyro_node.gyro_sub.callback(msg)
Expand Down

0 comments on commit 79e3ff2

Please sign in to comment.