Introduction
In Performance Test 1, Team R experimented with two designs to see which ran more efficiently. Their first design used two motors while their second design only used one motor.
Power vs. Time and Power vs. Distance Plots for Two Motor Design vs. One Motor Design
Code Used for Two Motor Design:
reverse(2);
celerate(4,0,40,1);
motorSpeed(4,40);
goToAbsolutePosition(180);
brake(4);
reverse(4);
goToAbsolutePosition(268);
int direction1 = getVehicleDirection();
while(direction1 == 1){
motorSpeed(4,30);
direction1 = getVehicleDirection();
}
brake(4);
Code Used for One Motor Design:
//AEV to gate
reverse(2);
celerate(2,0,50,1);
motorSpeed(2,50);
goToAbsolutePosition(181);
brake(2);
reverse(2);
//AEV braking at gate
int direction1 = getVehicleDirection();
while(direction1 == 1){
motorSpeed(2,50);
direction1 = getVehicleDirection();
}
brake(2);
//AEV stopped at gate
goFor(7);
//AEV through gate
reverse(2);
motorSpeed(2,50);
goFor(2);
brake(2);
Conclusion
The two motor design used 35 J of energy in Performance Test 1 while the one motor design used 18 J of energy. Both designs completed the run at the same time. Since the power used for the one motor design was lower than the two motor design, the one motor design was used for the official run for Performance Test 1.
Official Performance Test 1 Run:
Citation
Staff, OSU. “MCR & Deliverables.” Box, OSU College of Engineering, 18 Aug. 2017, osu.app.box.com/s/3mal1rsekfbvd5oflbhmbuahawq9oc8p.