TeensyNanoExoCode
Loading...
Searching...
No Matches
Namespaces | Enumerations
uart_commands.h File Reference
#include "Arduino.h"
#include "UARTHandler.h"
#include "UART_msg_t.h"
#include "ParseIni.h"
#include "ExoData.h"
#include "JointData.h"
#include "ParamsFromSD.h"
#include "Logger.h"
#include "RealTimeI2C.h"
Include dependency graph for uart_commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  UART_command_names
 Type to associate a command with an ammount of data.
 
namespace  UART_command_enums
 Holds all of the enums for the UART commands. The enums are used to properly index the data.
 
namespace  UART_command_handlers
 Holds the handlers for all of the commands. The handler function types should be the same. The 'get' handlers will respond with the appropriate command, the 'update' handlers will unpack the msg and pack exo_data.
 
namespace  UART_command_utils
 

Enumerations

enum class  UART_command_enums::controller_params : uint8_t { UART_command_enums::CONTROLLER_ID = 0 , UART_command_enums::PARAM_LENGTH = 1 , UART_command_enums::PARAM_START = 2 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::status : uint8_t { UART_command_enums::STATUS = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::cal_trq_sensor : uint8_t { UART_command_enums::CAL_TRQ_SENSOR = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::cal_fsr : uint8_t { UART_command_enums::CAL_FSR = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::refine_fsr : uint8_t { UART_command_enums::REFINE_FSR = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::motor_enable_disable : uint8_t { UART_command_enums::ENABLE_DISABLE = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::motor_zero : uint8_t { UART_command_enums::ZERO = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::controller_param : uint8_t { UART_command_enums::CONTROLLER_ID = 0 , UART_command_enums::PARAM_INDEX = 1 , UART_command_enums::PARAM_VALUE = 2 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::real_time_data : uint8_t
 
enum class  UART_command_enums::error_code : uint8_t { UART_command_enums::ERROR_CODE = 0 , UART_command_enums::LENGTH }
 
enum class  UART_command_enums::FSR_thresholds : uint8_t { UART_command_enums::LEFT_THRESHOLD = 0 , UART_command_enums::RIGHT_THRESHOLD = 1 , UART_command_enums::LENGTH }