Skip to content

Commit

Permalink
Reset defaults to Rover-Sonar with fake lake data
Browse files Browse the repository at this point in the history
  • Loading branch information
itskalvik committed Jul 31, 2024
1 parent dc2eb71 commit 30cbeae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions launch/single_robot.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

def generate_launch_description():
namespace = 'robot_0'
data_type = 'Altitude'
data_type = 'Sonar'
num_robots = 1
num_waypoints = 10
num_waypoints = 20
sampling_rate = 2
geofence_plan = PathJoinSubstitution([FindPackageShare('ros_sgp_tools'),
'launch',
'trail.plan'])
'lake.plan'])

return LaunchDescription([
Node(
Expand All @@ -30,6 +30,13 @@ def generate_launch_description():
}
]
),

Node(
package='ros_sgp_tools',
executable='lake_depth_publisher.py',
name='FakeSonarData',
namespace=namespace,
),

Node(
package='ros_sgp_tools',
Expand Down
2 changes: 1 addition & 1 deletion scripts/guided_mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def mission(self):
def main(args=None):
rclpy.init(args=args)

mission_planner = MissionPlanner(use_altitude=True)
mission_planner = MissionPlanner(use_altitude=False)
rclpy.spin_once(mission_planner)
mission_planner.mission()

Expand Down
2 changes: 1 addition & 1 deletion scripts/ipp_mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def mission(self):

def main(args=None):
rclpy.init(args=args)
mission_planner = IPPMissionPlanner(True)
mission_planner = IPPMissionPlanner()
rclpy.spin_once(mission_planner)

if __name__ == '__main__':
Expand Down

0 comments on commit 30cbeae

Please sign in to comment.