1. 8 weeks ago

    Andrew9635b

    Nov 19 Charlotte, NC 9635

    How can I find an XY coordinate on the field for my robot using 2 encoders? My team can’t get any more sensors so I can’t use an accelerometer. I have an H-drive if that’s important.

  2. rxian

    Nov 19 Answer

    This might help
    https://www.vexforum.com/index.php/35000-team-5225-introduction-to-position-tracking-document/0

  3. With an H drive and two encoders you can't track XY location. A holonomic drive has three degrees of freedom, but each encoder can only account for one degree each. If you limit the robot to never using all three degrees at the same time during autonomous you might be able to get away with two encoders.

  4. 6 weeks ago

    Andrew9635b

    Nov 29 Charlotte, NC 9635

    @John TYler With an H drive and two encoders you can't track XY location. A holonomic drive has three degrees of freedom, but each encoder can only account for one degree each. If you limit the robot to never using all three degrees at the same time during autonomous you might be able to get away with two encoders.

    In theory I could add an omni wheel without a motor to the back to track position, couldn't I?

  5. MayorMonty

    Nov 29 Greenville, SC 3796B

    @Andrew9635b In theory I could add an omni wheel without a motor to the back to track position, couldn't I?

    That's a tracking wheel, and was how 5225A was able to have such an extremely successful odometry program

  6. Andrew Strauss

    Dec 1 Ontario, Canada 5225A Mentor
    Edited 6 weeks ago by Andrew Strauss

    @MayorMonty That's a tracking wheel, and was how 5225A was able to have such an extremely successful odometry program

    Yup! I'd recommend having tracking wheels for all three encoders, as, unlike your drive wheels, they won't slip. We also had them hinged and lightly pressed into the ground because even a little slippage can make your position tracking vastly less accurate.

 

or Sign Up to reply!