Go Bilda Pinpoint Driver
@I2cDeviceType()
@DeviceProperties(name = "goBILDA® Pinpoint Odometry Computer", xmlTag = "goBILDAPinpoint", description = "goBILDA® Pinpoint Odometry Computer (IMU Sensor Fusion for 2 Wheel Odometry)" )
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks the deviceID of the Odometry Computer.
Link copied to clipboard
Link copied to clipboard
Device Status stores any faults the Odometry Computer may be experiencing.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks the Odometry Computer's most recent loop frequency.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks the Odometry Computer's most recent loop time.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This uses its own I2C read, avoid calling this every loop.
Link copied to clipboard
Link copied to clipboard
This uses its own I2C read, avoid calling this every loop.
Link copied to clipboard
Link copied to clipboard
public void onModuleStateChange(RobotArmingStateNotifier module, RobotArmingStateNotifier.ARMINGSTATE state)
Link copied to clipboard
Recalibrates the Odometry Computer's internal IMU.
Link copied to clipboard
Link copied to clipboard
Resets the current position to 0,0,0 and recalibrates the Odometry Computer's internal IMU.
Link copied to clipboard
public void setEncoderDirections(GoBildaPinpointDriver.EncoderDirection xEncoder, GoBildaPinpointDriver.EncoderDirection yEncoder)
Can reverse the direction of each encoder.
Link copied to clipboard
If you're using goBILDA odometry pods, the ticks-per-mm values are stored here for easy access.
Sets the encoder resolution in ticks per mm of the odometry pods.
Link copied to clipboard
Sets the odometry pod positions relative to the point that the odometry computer tracks around.
Link copied to clipboard
Send a position that the Pinpoint should use to track your robot relative to.
Link copied to clipboard
Tuning this value should be unnecessary.
Link copied to clipboard
Call this once per loop to read new data from the Odometry Computer.