use of com.neuronrobotics.addons.driving.virtual.VirtualRangeSensor in project java-bowler by NeuronRobotics.
the class DrivingTest method setupVirtualRobot.
private void setupVirtualRobot() {
VirtualWorld w = new VirtualWorld();
VirtualAckermanBot a = new VirtualAckermanBot(w);
VirtualAckermanBot b = new VirtualAckermanBot(w, 300, 200);
line = new VirtualLineSensor(a, w);
range = new VirtualRangeSensor(a, w);
// range = new LaserRangeSensor(new NRSerialPort("/dev/ttyACM0", 115200));
flame = new VirtualFlameSensor(a, w);
mainRobot = a;
}
Aggregations