Search in sources :

Example 1 with VirtualAckermanBot

use of com.neuronrobotics.addons.driving.virtual.VirtualAckermanBot 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;
}
Also used : VirtualFlameSensor(com.neuronrobotics.addons.driving.virtual.VirtualFlameSensor) VirtualAckermanBot(com.neuronrobotics.addons.driving.virtual.VirtualAckermanBot) VirtualWorld(com.neuronrobotics.addons.driving.virtual.VirtualWorld) VirtualLineSensor(com.neuronrobotics.addons.driving.virtual.VirtualLineSensor) VirtualRangeSensor(com.neuronrobotics.addons.driving.virtual.VirtualRangeSensor)

Aggregations

VirtualAckermanBot (com.neuronrobotics.addons.driving.virtual.VirtualAckermanBot)1 VirtualFlameSensor (com.neuronrobotics.addons.driving.virtual.VirtualFlameSensor)1 VirtualLineSensor (com.neuronrobotics.addons.driving.virtual.VirtualLineSensor)1 VirtualRangeSensor (com.neuronrobotics.addons.driving.virtual.VirtualRangeSensor)1 VirtualWorld (com.neuronrobotics.addons.driving.virtual.VirtualWorld)1