-
Notifications
You must be signed in to change notification settings - Fork 0
Alignment Function / Vision Assisted Driving #6
Comments
Even with the limelight helping, we are going to need to do this in a number of stages: Step 1 Calibration Step 2 Target Acquisition Step 3 Path Planning
In either case, we will likely want a LIDAR or ultrasonic sensor to judge our distance to the wall. While we can use the vision system to do this when we are further away, we will likely lose sight of t |
We will obviously need a separate class for vision processing; that much is clear. However, when we do implement auto-alignment, where do we want to do that? Implementing it in the |
While there really isn't a single best way to do it, in general we are going to want to split behaviors like this into their own classes. Mixing autonomous driving and auto-alignment into the same class could get confusing. So, if we create a new component class call HatchPlacement (or whatever makes sense to you), we can put all of our control code there, then execute it when the proper button is pressed. One way to do it would be to use a command based structure. This would let you use the same 'Place Hatch' in autonomous and manual control. Some details here: There are a number of ways to do things, but this guide has some good approaches and will also give a rundown on PID control with a gyro: If you have questions, are confused by something, or want to bounce other ideas off, feel free to contact me. |
Is your feature request related to a problem? Please describe.
Drivers might have a hard time lining up the robot so that we can place hatches.
Describe the solution you'd like
A function that would use vision processing to align with the reflective tape above the target.
Describe alternatives you've considered
We could just use a camera to let the drivers see, but that still relies on them being good at driving and the camera functioning well.
Additional context

Example of how we could use the limelight:
(http://docs.limelightvision.io/en/latest/software_change_log.html)
The text was updated successfully, but these errors were encountered: