OTOSLocalizer
This is the OTOSLocalizer class. This class extends the Localizer superclass and is a localizer that uses the SparkFun OTOS. The diagram below, which is modified from Road Runner, shows a typical set up. The view is from the top of the robot looking downwards. left on robot is the y positive direction forward on robot is the x positive direction forward (x positive) △ | | /--------------\ | | | | | || || | left (y positive) <--- | || || | | ____ | | ---- | \--------------/
Author
Anyi Lin - 10158 Scott's Bots
Constructors
Properties
Link copied to clipboard
public double totalHeading
Functions
Link copied to clipboard
This returns the multiplier applied to forward movement measurement to convert from OTOS ticks to inches.
Link copied to clipboard
This returns the multiplier applied to lateral/strafe movement measurement to convert from OTOS ticks to inches.
Link copied to clipboard
This returns how far the robot has turned in radians, in a number not clamped between 0 and 2 * pi radians.
Link copied to clipboard
This returns the multiplier applied to turning movement measurement to convert from OTOS ticks to radians.
Link copied to clipboard
This returns the current velocity estimate.
Link copied to clipboard
This returns the current velocity estimate.
Link copied to clipboard
This sets the start pose.