Skip to content

Commit

Permalink
autotest: tweak speeds of CAN mission
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Mar 19, 2024
1 parent 541b224 commit a51f5c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tools/autotest/arducopter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2706,6 +2706,9 @@ def CANGPSCopterMission(self):
self.context_collect('STATUSTEXT')

self.reboot_sitl()

self.set_parameter("SIM_SPEEDUP", 2)

# Test UAVCAN GPS ordering working
gps1_det_text = self.wait_text("GPS 1: specified as DroneCAN.*", regex=True, check_context=True)
gps2_det_text = self.wait_text("GPS 2: specified as DroneCAN.*", regex=True, check_context=True)
Expand Down Expand Up @@ -2735,6 +2738,7 @@ def CANGPSCopterMission(self):
self.drain_mav()
self.context_collect('STATUSTEXT')
self.reboot_sitl()
self.set_parameter("SIM_SPEEDUP", 2)
gps1_det_text = None
gps2_det_text = None
try:
Expand Down Expand Up @@ -2804,7 +2808,7 @@ def CANGPSCopterMission(self):
# flying on DroneCAN ESCs
"SIM_CAN_SRV_MSK" : 0xFF,
# we can do the flight faster
"SIM_SPEEDUP" : 5,
"SIM_SPEEDUP" : 2,
})

self.CopterMission()
Expand Down

0 comments on commit a51f5c6

Please sign in to comment.