libPlayingWithFusion
2020.02.24
Playing With Fusion driver library for FRC roboRIO
|
3 #include "frc/PIDSource.h"
4 #include "frc/smartdashboard/SendableBase.h"
5 #include "frc/smartdashboard/SendableBuilder.h"
6 #include "TimeOfFlightApi.h"
9 class TimeOfFlightImpl;
202 void SetRangeOfInterest(uint8_t topLeftX, uint8_t topLeftY, uint8_t bottomRightX, uint8_t bottomRightY);
211 void SetPIDSourceType(PIDSourceType pidSource)
override;
213 void InitSendable(SendableBuilder& builder)
override;
216 TimeOfFlight_t *m_timeOfFlightHandle;
217 RangingMode m_rangingMode;
Status GetStatus() const
Definition: TimeOfFlight.cpp:45
double PIDGet() override
Definition: TimeOfFlight.cpp:57
TimeOfFlight(uint8_t sensorID)
Definition: TimeOfFlight.cpp:6
double GetRange() const
Definition: TimeOfFlight.cpp:33
double GetAmbientLightLevel() const
Definition: TimeOfFlight.cpp:41
Status
Definition: TimeOfFlight.h:19
bool IsRangeValid() const
Definition: TimeOfFlight.cpp:29
Definition: TimeOfFlight.h:60
Definition: TimeOfFlight.h:11
Definition: TimeOfFlight.h:38
void SetRangingMode(RangingMode mode, double sampleTime)
Definition: TimeOfFlight.cpp:49
Definition: TimeOfFlight.h:30
Definition: TimeOfFlight.h:65
Definition: TimeOfFlight.h:46
Definition: TimeOfFlight.h:23
void IdentifySensor()
Definition: TimeOfFlight.cpp:17
double GetRangeSigma() const
Definition: TimeOfFlight.cpp:37
Definition: TimeOfFlight.h:51
void SetRangeOfInterest(uint8_t topLeftX, uint8_t topLeftY, uint8_t bottomRightX, uint8_t bottomRightY)
Definition: TimeOfFlight.cpp:53
uint32_t GetFirmwareVersion() const
Definition: TimeOfFlight.cpp:21
uint32_t GetSerialNumber() const
Definition: TimeOfFlight.cpp:25
Definition: TimeOfFlight.h:70