Skyward boardcore
Loading...
Searching...
No Matches
MBLoadCellData.h File Reference
#include <utils/Debug.h>
#include <cstdio>
#include <map>
#include "sensors/SensorData.h"
Include dependency graph for MBLoadCellData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Boardcore::MBLoadCellData
 Structure that stores a data value, with his timestamp and his validity. More...
 
struct  Boardcore::MBLoadCellSettings
 Structure of the output of the load cell in [continuous mode -> ModT]. More...
 
struct  Boardcore::DataModT
 Structure of the output of the load cell in [continuous mode -> ModT]. More...
 
struct  Boardcore::DataModTd
 Structure of the output of the load cell in [continuous mode -> ModTd]. More...
 
struct  Boardcore::DataAsciiRequest
 Structure that contains all the parameters for the request to be sent. More...
 

Namespaces

namespace  Boardcore
 This file includes all the types the logdecoder script will decode.
 

Typedefs

typedef std::map< const LoadCellValuesEnum, std::string > Boardcore::LoadCellValues
 Type that maps the different requests to their keyword.
 

Enumerations

enum  Boardcore::LoadCellModes : uint8_t { Boardcore::ASCII_MOD_TD , Boardcore::CONT_MOD_T , Boardcore::CONT_MOD_TD }
 Enumeration of all the modes supported by the driver. More...
 
enum  Boardcore::LoadCellValuesEnum {
  Boardcore::SET_SETPOINT_1 , Boardcore::SET_SETPOINT_2 , Boardcore::SET_SETPOINT_3 , Boardcore::GET_SETPOINT_1 ,
  Boardcore::GET_SETPOINT_2 , Boardcore::GET_SETPOINT_3 , Boardcore::GROSS_WEIGHT , Boardcore::NET_WEIGHT ,
  Boardcore::PEAK_WEIGHT , Boardcore::RESET_TARE , Boardcore::COMMUTE_TO_NET , Boardcore::COMMUTE_TO_GROSS
}
 Enumeration of all the requests in ASCII mode. More...
 
enum  Boardcore::ReturnsStates { Boardcore::VALID_RETURN , Boardcore::RECEPTION_ERROR , Boardcore::EXECUTION_ERROR }
 Structure of the errors in the ASCII requests. More...