- Building Smart LEGO MINDSTORMS EV3 Robots
- Kyle Markland
- 61字
- 2021-08-27 19:17:36
Fire!
When the turret locks on to the beacon, the robot will fire two projectiles. The medium motor in port A controls the ball-launching mechanism. We will program the turret to fire based on the heading reading provided by IR 2. If the heading value is zero, then the turret is aimed directly at the beacon, and the robot can fire.