/Braitenberg_Vehicles_unreal

Braitenberg’s Vehicles: Exploration on Unreal Engine

Braitenberg_Vehicles_unreal

Braitenberg’s Vehicles: Exploration on Unreal Engine

Braitenberg Vehicles are a fascinating concept in the field of autonomous robotics that originated from the work of Italian neuroscientist Valentino Braitenberg. These vehicles demonstrate emergent behavior through simple sensor-motor connections, offering valuable insights into the complex relationship between perception, cognition, and action.

The essence of Braitenberg Vehicles lies in the interplay between sensors and actuators. The vehicles are equipped with sensors that gather information about their environment, and this sensory input is processed to produce motor commands that drive the vehicles' behavior. The behavior of each vehicle emerges from the specific connections and interactions between its sensors and actuators.

There are various sensor connections that can be implemented in Braitenberg Vehicles, each resulting in distinct behaviors. A commonly explored approach including scrub tracing involves a sensor positioned at the front of the vehicle, which detects and reacts to obstacles by "scrubbing" or making contact with them through a Sphere Trace.

We will explore five unique vehicles, each exemplifying different sensor connections and exhibiting their own emergent behaviors. By studying and modifying these vehicles, we will gain a deeper understanding of how sensor-motor connections influence their actions and interactions with the environment.

Through this exploration, we will uncover the intricacies of Braitenberg Vehicles and witness firsthand how even the simplest of connections can give rise to complex and adaptive behaviors. So, let's begin our journey into the captivating world of Braitenberg Vehicles and discover the remarkable potential of autonomous systems driven by sensor-motor relationships.

Vehicle 1: Simplest possible vehicle equipped with one sensor and one motor. The sensor is directly connected to the motor. The sensor’s output is higher as it gets closer to the source.

Sensor Setup:

image

Vehicle 2: Two sensors and two motors. Cross Connection is employed. The vehicle heads towards sources, Throttle is higher as it gets closer to the source.

Sensor Setup:

image

Vehicle 3: The vehicle has two types of sensors: one for Excitation and the other for inhibition.

Sensor Setup:

image

Vehicle 4: The vehicle sensors have nonlinear characteristics.

Sensor Setup(Similar to vehicle 3):

image

Non-linearity in the sensory input is enforced using functions like ReLU, sigmoid, and classic step functions, complemented with logarithmic transformations. Notably, vehicle 4 exhibits a more stable throttle input, showcasing differences in behavior compared to other vehicles.

Vehicle 5: The Vehicle Learns to control its Throttle Output, employing a neural Component to learning throttle weight.

Sensor Setup(Similar to Vehicle one):

image

Get Throttle Input: We use Get Throttle Input from the NeuralComponent Through a Forward pass. image

Easy Demonstration

Step 1: In ThirdPersonMap, Hit play -> Visit the Levels through the level Portal for Implementation Through Scrub Tracing.

image

For Advanced view

image

In Level 1, the car behavior is controlled by Key Stroke 2, while the player is controlled by Key Stroke 1. Key Stroke 3 activates Manny1Excitatory, which is also applicable to Level 2. Key Stroke 4 triggers Manny2Inhibi.

In Levels 2, 3, 4, and 5, the car is controlled by Key Stroke 2, and the player is controlled by Key Stroke 1.