Replace vector left/right with direct values
This commit is contained in:
parent
9384995e12
commit
50999805cd
@ -17,8 +17,8 @@ TEST(Dummy, Foo) {
|
|||||||
Perception *perception = new Perception(sensors);
|
Perception *perception = new Perception(sensors);
|
||||||
|
|
||||||
DifferentialDrive *propulsion =
|
DifferentialDrive *propulsion =
|
||||||
new DifferentialDrive(Placement(&motorLeft, Vector3::Left),
|
new DifferentialDrive(Placement(&motorLeft, Vector3(-1, 0, 0)),
|
||||||
Placement(&motorRight, Vector3::Right));
|
Placement(&motorRight, Vector3(1, 0, 0)));
|
||||||
|
|
||||||
Roboid *roboid = new Roboid(perception, propulsion);
|
Roboid *roboid = new Roboid(perception, propulsion);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user