diff --git a/NaviGator/hardware_drivers/navigator_ball_launcher/nodes/driver.py b/NaviGator/hardware_drivers/navigator_ball_launcher/nodes/driver.py index f1a40b340..aed93d345 100755 --- a/NaviGator/hardware_drivers/navigator_ball_launcher/nodes/driver.py +++ b/NaviGator/hardware_drivers/navigator_ball_launcher/nodes/driver.py @@ -4,5 +4,6 @@ if __name__ == "__main__": rospy.init_node("ball_launcher") - device = BallLauncherDevice(str(rospy.get_param("~port"))) + port = "/dev/serial/by-id/usb-Raspberry_Pi_Pico_E6635C08CB65BC36-if00" + device = BallLauncherDevice(port) rospy.spin() diff --git a/NaviGator/mission_control/navigator_launch/launch/perception/classifier.launch b/NaviGator/mission_control/navigator_launch/launch/perception/classifier.launch index ded5088a6..f9dc0e876 100644 --- a/NaviGator/mission_control/navigator_launch/launch/perception/classifier.launch +++ b/NaviGator/mission_control/navigator_launch/launch/perception/classifier.launch @@ -1,24 +1,24 @@ - + - + - + - + - + - + diff --git a/mil_common/perception/point_cloud_object_detection_and_recognition/src/ogrid_manager.cpp b/mil_common/perception/point_cloud_object_detection_and_recognition/src/ogrid_manager.cpp index b921ae016..3a3bc1dc9 100644 --- a/mil_common/perception/point_cloud_object_detection_and_recognition/src/ogrid_manager.cpp +++ b/mil_common/perception/point_cloud_object_detection_and_recognition/src/ogrid_manager.cpp @@ -50,6 +50,11 @@ void OgridManager::update_ogrid(ObjectMap const& objects) // Clear ogrid ogrid_mat_ = cv::Scalar(0); + if (!bounds_) + { + return; + } + // Draw border on ogrid draw_boundary();