Skip to content
Snippets Groups Projects
Commit 5058f33d authored by Peter Thedens's avatar Peter Thedens
Browse files

Update test_safety_checks.rb

parent d3694c35
No related branches found
No related tags found
No related merge requests found
...@@ -60,8 +60,8 @@ Timeout::timeout(60) { ...@@ -60,8 +60,8 @@ Timeout::timeout(60) {
end end
puts("Check that flipping gear to 1 while throttle is high does nothing") puts("Check that flipping gear to 1 while throttle is high does nothing")
# (motors should still be off, LED should still be off) # Motors should still be off, LED should still be off
set_gear GEAR_ON set_gear GEAR_ON
sleep 0.01 sleep 0.01
check_motors_are_off "Motors turned on by gear while rc throttle was high! How dangerous!" check_motors_are_off "Motors turned on by gear while rc throttle was high! How dangerous!"
i = THROTTLE_MAX i = THROTTLE_MAX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment