|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello Chief Delphi Forum,
Our team ordered one IR beacon for the competition. We release to calculate the distance between robot and beacon (and thus, the kickstand), we need another IR beacon for triangulation. Are there any other ways we can calculate distance between the robot and the center structure? Charging Champions |
|
#2
|
||||
|
||||
|
Re: [FTC]: Programming Autonomous Without Second Beacon
NXT ultrasonic sensor?
|
|
#3
|
||||
|
||||
|
Re: [FTC]: Programming Autonomous Without Second Beacon
You actually don't need two ir sensors to do this. You can use the signal strength to give you distance. Are you using labview or robot c?
|
|
#4
|
|||
|
|||
|
Re: [FTC]: Programming Autonomous Without Second Beacon
To use triangulation, you need to be in a position where you get signal from both beacons. Since each of them is supposed to be set to 180 degrees mode, facing in exactly opposite directions, I do not see how this is possible.
Using signal strength is not very reliable either - for example, it depends on the battery level of the beacon. If you just need the distance to the central structure, ultrasonic seems like the easiest choice. If you also need to determine the orientation of the central structure, this can be done using only one beacon. Our strategy is to have the robot circling the structure and stopping when the ir sensor sees the beacon from the right direction |
|
#5
|
|||
|
|||
|
Re: [FTC]: Programming Autonomous Without Second Beacon
I can give you what I believe our programming team figured out for this problem. Our approach to the problem was to take one sensor but 2 readings. The first reading is from the initial starting position the next reading is taken after you go a known distance. We did this by driving 1 rotation or 1' for 4" wheels. Then you take a second reading. This would then give you a unique position signature for the 3 positions that you are able to tell what the position of the goal is. From there you can execute 1 of 3 unique codes for the different positions.
One thing to note is our programming team has not worked a lot with this since our strategy changed away from it but the idea should still work. I have been a programmer before so this code doesn't seem to hard to write. |
|
#6
|
||||
|
||||
|
Re: [FTC]: Programming Autonomous Without Second Beacon
My team started to work on a similar code. We use one IR sensor, and one ultrasonic sensor. We take readings from both sensors and compare the results to determine the rotation of the center goal.
|
|
#7
|
|||
|
|||
|
Re: [FTC]: Programming Autonomous Without Second Beacon
Quote:
Last edited by BTB1337 : 28-01-2015 at 12:59. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|