WindRose 1.0
Custom Hardware , Firmware and Software for Robotic Cellular Automata Experiments
Sensing.h File Reference

This file contains the Sensing types, the sensors enumeration, and defines the sensing holder SensingData. More...

Go to the source code of this file.

Classes

struct  Coord_t
 Generic Coordinate System sensor type (ID/ASBM Bit = 0) More...
 
struct  Angle_t
 IMU/AHRS sensor type (ID/ASBM Bit = 1) More...
 
struct  Accel_t
 Accelerometer sensor type (ID/ASBM Bit = 2) More...
 
struct  Ang_rate_t
 Gyroscope sensor type (ID/ASBM Bit = 3) More...
 
struct  Gps_pos_t
 GPS sensor type (ID/ASBM Bit = 4) More...
 
struct  Wind_t
 Wind sensor type (ID/ASBM Bit = 5) More...
 
struct  Light_t
 Light sensor type (ID/ASBM Bit = 6) More...
 
struct  SensingData
 Sensing holder structure with all the sensor types, ordered by the ASBM bits from its least significant bit to its most significant bit. More...
 

Macros

#define MAX_SENSING_BYTES_PER_PACKET   50
 Definition of all sensor bytes summed up in a single packet.
 

Enumerations

enum  sensor_types {
  coord = 0 , angle = 1 , accel = 2 , ang_rate = 3 ,
  gps_pos = 4 , wind = 5 , light = 6
}
 Sensor types enumeration. More...
 

Detailed Description

Author
Sandro Benigno
Version
1.0
Date
2021-12-31

Enumeration Type Documentation

◆ sensor_types

This enumeration defines all possible sensor types.
The sequence here defines the ID of the sensor
and it does match the bit position of the ASBM
from its least significant bit to the most significant bit