add nonstub motor controllers for each building and test for simulate_trip
parent
aece9d3383
commit
4624de4e42
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
int motor1_adjust_motor(double target_force){
|
double motor1_adjust_motor(double target_force){
|
||||||
//real driver would do something here
|
//real driver would do something here
|
||||||
//interface with physical components
|
//interface with physical components
|
||||||
return 0;
|
return target_force;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
int motor2_adjust_motor(double target_force){
|
double motor2_adjust_motor(double target_force){
|
||||||
//real driver would do something here
|
//real driver would do something here
|
||||||
//interface with physical components
|
//interface with physical components
|
||||||
return 0;
|
return target_force;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
int motor3_adjust_motor(double target_force){
|
double motor3_adjust_motor(double target_force){
|
||||||
//real driver would do something here
|
//real driver would do something here
|
||||||
//interface with physical components
|
//interface with physical components
|
||||||
return 0;
|
return target_force;
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
1
|
||||||
|
1
|
||||||
|
2
|
Loading…
Reference in New Issue