Class GrappleTof

java.lang.Object
com.marswars.sensors.tof.Tof
com.marswars.sensors.tof.GrappleTof
All Implemented Interfaces:
SubsystemIoBase

public class GrappleTof extends Tof
  • Constructor Details

    • GrappleTof

      public GrappleTof(String logging_prefix, int can_id, Tof.RangeMode mode, double sample_time)
      Creates a Grapple Robotics Time-of-Flight sensor interface
      Parameters:
      logging_prefix - logging prefix for the sensor
      can_id - can id of the sensor
      mode - ranging mode
      sample_time - sample time in seconds
  • Method Details

    • readTof

      protected void readTof()
      Specified by:
      readTof in class Tof