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

Some confusion more than issue on OTOS Tuning #10 #8

Open
BeeWrangler70 opened this issue Dec 30, 2024 · 0 comments
Open

Some confusion more than issue on OTOS Tuning #10 #8

BeeWrangler70 opened this issue Dec 30, 2024 · 0 comments

Comments

@BeeWrangler70
Copy link

RR FTC Version

implementation "page.j5155.roadrunner:ftc-otos:0.1.2+0.1.14"

Observed Behavior

OTOS Heading Offset Tuner
copy the heading offset into line 38 of SparkFunOTOSDrive

OTOS Position Offset Tuner
copy the pose offset into line 38 of SparkFunOTOSDrive

I'm a bit confused or maybe not understanding where these values go.

The closest I come to line 38 is line 42
// RR localizer note: These units are inches and radians.
public SparkFunOTOS.Pose2D offset = new SparkFunOTOS.Pose2D(-.125, 0, Math.toRadians(89.3656));

My sensor is .125 inches left of center, it's mounted center of bot and it's not quite pointing at 90 degress. Off just a tiny bit.

I think when I was doing the Offset tuning, I was using that number to change the 90 degrees I was using. That is how I got to 89.3656. So as I was driving along the wall the heading was basically staying at zero.

I have no clue where to set the OTOS Offset Tuner number. I did the test about 10 times. I was bouncing around between -157.85 and -157.75 so it seems consistent. I'm just not sure what to change.

Tuning Files

No response

Robot Logs

No response

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