OTOS

object OTOS

Properties

Link copied to clipboard

Should be set to one by default. If the sensor is reading heading incorrectly the values can be changed to act as a correction (will only work if readings are consistently off).

Link copied to clipboard
Link copied to clipboard

The accepted value for the heading error.

Link copied to clipboard

Should be set to one by default. If the sensor is reading distances incorrectly the values can be changed to act as a correction (will only work if readings are consistently off).

Link copied to clipboard

Overall Drive speed of the robot. If robot moves in the wrong direction, negate the current magnitude.

Link copied to clipboard

Max speed that can be achieved on the y-axis.

Link copied to clipboard

Max speed that can be achieved on the x-axis.

Link copied to clipboard

Max speed that can be achieved by rotation.

Link copied to clipboard
var OFFSET: SparkFunOTOS.Pose2D

If sensor is not mounted in the center and or facing the front of the robot, adjust the offset. If possible mount in the center and avoid needing to change this.

Link copied to clipboard

Controls the acceleration of y-axis movement.

Link copied to clipboard

Controls the acceleration of x-axis movement.

Link copied to clipboard
Link copied to clipboard

Controls the turning acceleration.

Link copied to clipboard

The accepted value for the x-axis error.

Link copied to clipboard

The accepted value for the y-axis error.