Valor 6800 1.0
Loading...
Searching...
No Matches
GrappleSensor.h
1
2#pragma once
3
4#include <grpl/LaserCan.h>
5
6#include <string>
7
8#include <frc/TimedRobot.h>
9#include <units/length.h>
10
11#include "valkyrie/sensors/LaserProximitySensor.h"
12
13namespace valor {
14
22 public:
30 GrappleSensor(frc::TimedRobot& robot, int canId);
31
32 private:
33 grpl::LaserCan device;
34};
35
36} // namespace valor
Specific implementation of the LaserProximitySensor for Grapple Robotics.
Definition GrappleSensor.h:21
GrappleSensor(frc::TimedRobot &robot, int canId)
Construct a new GrappleSensor object.
Combines Lidar distance measurements and debounce logic.
Definition LaserProximitySensor.h:27
T ReadLog(std::string_view field, const T &defaultValue={})
Read a value from NetworkTables for the given field.
Definition Loggable.h:343