create c langauge code for ev3 lego robot to execute the following task
Task 2 1. Robot is randomly placed inside an arena. 2. Robot must use the ultrasonic sensor, U, to scan for a target in front of it. 3. You need to implement an algorithm to guide the robot towards the target. 4. The touch sensor, T. must be used to initiate target seeking behavior, and start/stop the robot. That is, the robot stops when it hits the target. Then you engage target seeking, again, by clicking the touch sensor, 5. Using the gyro, G. in any way will award you bonus points. 6. Targets can be stationary and/or they can move.
Task 2 1. Robot is randomly placed inside an arena. 2. Robot must use the ultrasonic sensor, U, to scan for a target in
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Task 2 1. Robot is randomly placed inside an arena. 2. Robot must use the ultrasonic sensor, U, to scan for a target in
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!