Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag Race Lane Following #7

Open
garethellis0 opened this issue Apr 16, 2017 · 1 comment
Open

Drag Race Lane Following #7

garethellis0 opened this issue Apr 16, 2017 · 1 comment

Comments

@garethellis0
Copy link
Contributor

We need to be able to stay in our lane and go straight in the drag race portion of the competition. @ValRat and I have talked about it a bit, and one good way might be to mount the lidar pointing directly sideways, and use the cones as reference to ensure that the robot is going straight.

See here for an example video.

@garethellis0
Copy link
Contributor Author

After some discussion with @RobynCastro today, it looks like our Hokuyo has a 240 degree FOV, so we should be able to basically use it for everything.

Current Plan:

  • use the hokuyo lidar to detect cones on our side of the drag strip, and write a node that will use the cones to form a straight line that it can follow, maintaining a set distance from the cones.
  • when we reach the end of the course, the final wall will be detected by the hokuyo and we will stop at a preset distance from it

TODO

  • work out the math to make sure that we'll able to see enough cones at all times in worst case (cones can be as much as 1m apart). We basically need to determine the relationship between how far we are away from the cones, what our current heading is, and how many cones we can see. (@RobynCastro - could you take a shot at this? the math shouldn't be too hard I think)
  • Port over the ObstacleManager from the IGVC repo. This will allow us to find discrete obstacles that we can use to detect both the wall and the individual cones (I'lll take care of this)
  • Make the node!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant