Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How to write a RobotC script stimulatibg Braitenberg Vehicles. If I am using Lego Mindstorms EV3 kit. Vehicle 2 Fear and Aggression. Vehicle 2 has
How to write a RobotC script stimulatibg Braitenberg Vehicles. If I am using Lego Mindstorms EV3 kit.
Vehicle 2 Fear and Aggression.
Vehicle 2 has two light sensors, one on each side, and two motors, right and left. The more there is of the quality to which the sensor is tuned, the faster the motor goes. Vehicle 2A will spend more time in the places where there is less of the stuff that excites its sensors and will speed up when it is exposed to higher concentrations. If the source of the stuff is directly ahead, the vehicle may hit the source unless it is deflected from its course. If the source is to one side, one of the sensors, the one nearer to the source, is excited more than the other. The corresponding motor will work harder. And as a consequence the vehicle will turn away from the source. Now let us try the other scheme of sensory-motor connections, Vehicle 2B. No change if the source is straight ahead. If it is to one side, however, we notice a difference with respect to Vehicle 2A. Vehicle 2B will turn toward the source and eventually hit it.
Vehicle 3 Lover and Explorer. Vehicle 3 introduces inhibition between sensors and motors, switching the sign of influence from positive to negative. This will let the motor slow down when the corresponding sensor is activated. Again we can make two variants, one with straight and one with crossed connections.
I need to use RobotC language to program the behaviors of vehicle 2 and vehicle 3.
And I am using Lego Mindstorms EV3 to build the Braitenberg Vehicles. And I am using light sensors for the Vehicles's sensor, so the light would be the stimulus.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started