Behaviors Driven Robotics (#178)
* adding avoid crash behavior * more implementation * add another simple behavior * fixed synched motors * bump common packages
This commit is contained in:
12
libs/tests/targetoverrides.ts
Normal file
12
libs/tests/targetoverrides.ts
Normal file
@ -0,0 +1,12 @@
|
||||
// EV3 specific test functions
|
||||
tests.onEvent(TestEvent.RunSetUp, function() {
|
||||
console.sendToScreen();
|
||||
})
|
||||
tests.onEvent(TestEvent.TestSetUp, function() {
|
||||
motors.stopAllMotors();
|
||||
motors.resetAllMotors();
|
||||
})
|
||||
tests.onEvent(TestEvent.TestTearDown, function() {
|
||||
motors.stopAllMotors();
|
||||
motors.resetAllMotors();
|
||||
})
|
Reference in New Issue
Block a user