Quote:
Originally Posted by Ross3098
Ive been thinking about setting up localization/field coordinate system for this game. The only problem I can see is the bump causing some of the wheels to be off the ground and the encoders giving inaccurate measurements.
I'm trying very hard to figure a way around this issue because I have absolutely no idea how to do vision tracking in C++ this year.
|
Could you use one accelerometer located in the same axis of your wheels in order to reset the reference of enconder when the robot pass through the barrier?
You'll know that barrier is in the center of the field, so, you can start again a new measurement with this new reference!