Question: Write an arduino code in order to make this car work: - P 1 . The car shall travel forward when there are no obstacles
Write an arduino code in order to make this car work:
P The car shall travel forward when there are no obstacles within sim beta feet of its forwardtravel direction.
P The car shall display one or more glowing green LEDs when it is traveling forward and there are no obstacles within sim feet of its forwardtravel direction.
P The car shall execute an avoidance maneuver so as to avoid collisions with obstacles within sim of its forward path.
P The car shall light up a red "obstacledetect" LED when obstacles including walls, people, other cars are detected within sim of its forwardtravel direction and the car is executing a collision avoidance maneuver.
P The car shall be demonstrated according to the following plan: you will apply battery power to your car, and set it moving forward, heading toward an obstacle such as a person, a wall, or another car placed away. A green forward motion indicator LED will be demonstrated. When the distance decreases to sim the car shall detect the presence of the nearby obstacle, light up a red obstacledetect LED and perform a collisionavoidance maneuver. After performing the maneuver, the car will turn off the obstacledetect LED and resume forward motion in another direction. You need to demonstrate a minimum of collisionavoiding maneuvers during the required demo.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
