24#ifndef TAPROOT_IMU_TERMINAL_SERIAL_HANDLER_HPP_
25#define TAPROOT_IMU_TERMINAL_SERIAL_HANDLER_HPP_
30#include "modm/architecture/interface/register.hpp"
52 subjectsBeingInspected(0)
60 modm::IOStream& outputStream,
61 bool streamingEnabled)
override;
67 static constexpr char USAGE[] =
68 " [-h] [angle] [gyro] [accel] [temp]\n"
70 " - [-h] Prints usage\n"
71 " - [angle] Prints angle data\n"
72 " - [gyro] Prints gyro data\n"
73 " - [accel] Prints accel data\n"
74 " - [temp] Prints temp data\n";
85 enum InspectSubject : uint8_t
93 MODM_FLAGS8(InspectSubject);
102 InspectSubject_t subjectsBeingInspected;
104 void printHeader(modm::IOStream& outputStream);
Definition drivers.hpp:70
Definition abstract_imu.hpp:45
Definition imu_terminal_serial_handler.hpp:47
void terminalSerialStreamCallback(modm::IOStream &outputStream) override
Definition imu_terminal_serial_handler.cpp:118
mockable void init()
Definition imu_terminal_serial_handler.cpp:36
ImuTerminalSerialHandler(Drivers *drivers, AbstractIMU *imu)
Definition imu_terminal_serial_handler.hpp:49
bool terminalSerialCallback(char *inputLine, modm::IOStream &outputStream, bool streamingEnabled) override
Definition imu_terminal_serial_handler.cpp:38
Definition terminal_serial.hpp:59
Definition abstract_imu.cpp:26
Definition ballistics.cpp:29
tap::Drivers Drivers
Definition drivers.hpp:11
fang::Drivers & drivers
Definition robot_singleton.cpp:45
#define mockable
Wrap class functions that are not already virtual in this function if you wish to mock them.
Definition util_macros.hpp:38