Skip to content

Custom Sensor Classes library for FRC Team 1280's 2019 Deep Space robot and for future integration

Notifications You must be signed in to change notification settings

Team-1280/SensorClasses

Repository files navigation

Sensor Classes

Contains classes for the following sensors:
  • Push Button Sensor
    • Boolean
    • If you don't know what a button is please look it up
  • Ultrasonic Sensor
    • Double (Floating Point)
    • Outputs distance in Centimeters
    • Constructor has (port, cmPerVolt) where cmPerVolt is the number of Centimeters (cm) in every volt output
    • It appears to be 2V per Centimeter so just make a constant (final) for that
    • Different than WPILib's Analog Sensor
    • Check MaxBotix documentation for more information on the specific sensor intended for use
  • Hall Effect Sensor
    • Boolean
    • Detects Magnet
  • RightSight Industrial Sensor
    • Boolean
    • Diffuses light and outputs signal if any light returns to the housing
    • 500mm range, appears to be 5-degree FOV
    • Seems to not need retro-reflective material to detect object presence but it probably helps
    • Does not measure distance, only object presence within ranging area
  • NavX MXP Gyroscope
    • Floating point Yaw value for rotation
    • Multiple ways to return wanted Yaw value from gyroscope

About

Custom Sensor Classes library for FRC Team 1280's 2019 Deep Space robot and for future integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages