need help with the ir

hey does anyone know the angle and distance it will put a robot from the tee if we use the ir system?( sorry if this is on the wrong forum our team is new to posting :D. any info would help if you have it.

well, the IR system will probably give you a fairly straight drive towards the IR beacon, so you might look at the angle from the start position to the beacon as your “optimal” angle. the distance from the beacon would probably be a function of your sensor package design.

How are the other teams figuring out the angle form the IR system. I would like to see some example code if possible.

ok thank you :slight_smile: