Robot Control Library
model.h File Reference

Go to the source code of this file.

Typedefs

typedef enum rc_model_t rc_model_t
 
typedef enum rc_model_category_t rc_model_category_t
 

Enumerations

enum  rc_model_t {
  MODEL_UNKNOWN,
  MODEL_BB_BLACK,
  MODEL_BB_BLACK_RC,
  MODEL_BB_BLACK_W,
  MODEL_BB_BLACK_W_RC,
  MODEL_BB_GREEN,
  MODEL_BB_GREEN_W,
  MODEL_BB_BLUE,
  MODEL_BB_POCKET,
  MODEL_RPI_B,
  MODEL_RPI_B_PLUS,
  MODEL_RPI2_B,
  MODEL_RPI3_B,
  MODEL_RPI3_B_PLUS,
  MODEL_RPI0,
  MODEL_RPI0_W,
  MODEL_RPI_CM,
  MODEL_RPI_CM3,
  MODEL_PC
}
 
enum  rc_model_category_t {
  CATEGORY_UNKNOWN,
  CATEGORY_BEAGLEBONE,
  CATEGORY_RPI,
  CATEGORY_PC
}
 

Functions

rc_model_t rc_model (void)
 gets the current board model name More...
 
rc_model_category_t rc_model_category (void)
 gets the general category for the current board More...
 
void rc_model_print (void)
 prints to the screen the human-readable version of the model name with no trailing newline character. More...
 
void rc_model_category_print (void)
 prints to the screen the human-readable version of the category name with no trailing newline character. More...