Classes | Namespaces | Macros | Enumerations
IOTShield.h File Reference
#include <vector>
#include <stdint.h>
#include <string.h>
Include dependency graph for IOTShield.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  iotbot::IOTShield
 Interface class to IOTShield via UART. More...
 

Namespaces

 iotbot
 

Macros

#define CMD_AUX1   0x40
 
#define CMD_AUX2   0x41
 
#define CMD_CTL_ANTIWINDUP   0x23
 
#define CMD_CTL_ENCLOWPASS   0x25
 
#define CMD_CTL_INPUTFILTER   0x24
 
#define CMD_CTL_KD   0x22
 
#define CMD_CTL_KI   0x21
 
#define CMD_CTL_KP   0x20
 
#define CMD_DIM_LIGHT   0x43
 
#define CMD_DISABLE   0x02
 
#define CMD_ENABLE   0x01
 
#define CMD_FLASH_ALL   0x45
 
#define CMD_FLASH_LEFT   0x46
 
#define CMD_FLASH_RIGHT   0x47
 
#define CMD_FREQ   0x12
 
#define CMD_FUSEIMUWEIGHT   0x0B
 
#define CMD_GEARRATIO   0x30
 
#define CMD_HIGH_BEAM   0x44
 
#define CMD_IMUCALIBRATE   0x0D
 
#define CMD_IMUFIXZAXIS   0x0E
 
#define CMD_IMURAWDATA   0x0A
 
#define CMD_INVERTENC   0x07
 
#define CMD_LIGHTS_OFF   0x42
 
#define CMD_LOWVOLTAGECHECK   0x08
 
#define CMD_PULSATION   0x48
 
#define CMD_ROTATION   0x49
 
#define CMD_RUNNING   0x4A
 
#define CMD_SENDPOS   0x06
 
#define CMD_SENDRPM   0x05
 
#define CMD_SETPWM   0x10
 
#define CMD_SETPWMMAX   0x04
 
#define CMD_SETRPM   0x11
 
#define CMD_SETTIMEOUT   0x03
 
#define CMD_STALLCHECK   0x09
 
#define CMD_SYNC   0x13
 
#define CMD_TICKSPERREV   0x31
 
#define CMD_UARTTIMEOUT   0x0C
 

Enumerations

enum  iotbot::eLighting {
  iotbot::lightsOff = CMD_LIGHTS_OFF, iotbot::dimLight = CMD_DIM_LIGHT, iotbot::beamLight = CMD_HIGH_BEAM, iotbot::warningLight = CMD_FLASH_ALL,
  iotbot::flashLeft = CMD_FLASH_LEFT, iotbot::flashRight = CMD_FLASH_RIGHT, iotbot::pulsation = CMD_PULSATION, iotbot::rotation = CMD_ROTATION,
  iotbot::running = CMD_RUNNING
}
 

Macro Definition Documentation

◆ CMD_AUX1

#define CMD_AUX1   0x40

Definition at line 50 of file IOTShield.h.

◆ CMD_AUX2

#define CMD_AUX2   0x41

Definition at line 51 of file IOTShield.h.

◆ CMD_CTL_ANTIWINDUP

#define CMD_CTL_ANTIWINDUP   0x23

Definition at line 42 of file IOTShield.h.

◆ CMD_CTL_ENCLOWPASS

#define CMD_CTL_ENCLOWPASS   0x25

Definition at line 44 of file IOTShield.h.

◆ CMD_CTL_INPUTFILTER

#define CMD_CTL_INPUTFILTER   0x24

Definition at line 43 of file IOTShield.h.

◆ CMD_CTL_KD

#define CMD_CTL_KD   0x22

Definition at line 41 of file IOTShield.h.

◆ CMD_CTL_KI

#define CMD_CTL_KI   0x21

Definition at line 40 of file IOTShield.h.

◆ CMD_CTL_KP

#define CMD_CTL_KP   0x20

Definition at line 39 of file IOTShield.h.

◆ CMD_DIM_LIGHT

#define CMD_DIM_LIGHT   0x43

Definition at line 53 of file IOTShield.h.

◆ CMD_DISABLE

#define CMD_DISABLE   0x02

Definition at line 18 of file IOTShield.h.

◆ CMD_ENABLE

#define CMD_ENABLE   0x01

Definition at line 17 of file IOTShield.h.

◆ CMD_FLASH_ALL

#define CMD_FLASH_ALL   0x45

Definition at line 55 of file IOTShield.h.

◆ CMD_FLASH_LEFT

#define CMD_FLASH_LEFT   0x46

Definition at line 56 of file IOTShield.h.

◆ CMD_FLASH_RIGHT

#define CMD_FLASH_RIGHT   0x47

Definition at line 57 of file IOTShield.h.

◆ CMD_FREQ

#define CMD_FREQ   0x12

Definition at line 35 of file IOTShield.h.

◆ CMD_FUSEIMUWEIGHT

#define CMD_FUSEIMUWEIGHT   0x0B

Definition at line 27 of file IOTShield.h.

◆ CMD_GEARRATIO

#define CMD_GEARRATIO   0x30

Definition at line 47 of file IOTShield.h.

◆ CMD_HIGH_BEAM

#define CMD_HIGH_BEAM   0x44

Definition at line 54 of file IOTShield.h.

◆ CMD_IMUCALIBRATE

#define CMD_IMUCALIBRATE   0x0D

Definition at line 29 of file IOTShield.h.

◆ CMD_IMUFIXZAXIS

#define CMD_IMUFIXZAXIS   0x0E

Definition at line 30 of file IOTShield.h.

◆ CMD_IMURAWDATA

#define CMD_IMURAWDATA   0x0A

Definition at line 26 of file IOTShield.h.

◆ CMD_INVERTENC

#define CMD_INVERTENC   0x07

Definition at line 23 of file IOTShield.h.

◆ CMD_LIGHTS_OFF

#define CMD_LIGHTS_OFF   0x42

Definition at line 52 of file IOTShield.h.

◆ CMD_LOWVOLTAGECHECK

#define CMD_LOWVOLTAGECHECK   0x08

Definition at line 24 of file IOTShield.h.

◆ CMD_PULSATION

#define CMD_PULSATION   0x48

Definition at line 58 of file IOTShield.h.

◆ CMD_ROTATION

#define CMD_ROTATION   0x49

Definition at line 59 of file IOTShield.h.

◆ CMD_RUNNING

#define CMD_RUNNING   0x4A

Definition at line 60 of file IOTShield.h.

◆ CMD_SENDPOS

#define CMD_SENDPOS   0x06

Definition at line 22 of file IOTShield.h.

◆ CMD_SENDRPM

#define CMD_SENDRPM   0x05

Definition at line 21 of file IOTShield.h.

◆ CMD_SETPWM

#define CMD_SETPWM   0x10

Definition at line 33 of file IOTShield.h.

◆ CMD_SETPWMMAX

#define CMD_SETPWMMAX   0x04

Definition at line 20 of file IOTShield.h.

◆ CMD_SETRPM

#define CMD_SETRPM   0x11

Definition at line 34 of file IOTShield.h.

◆ CMD_SETTIMEOUT

#define CMD_SETTIMEOUT   0x03

Definition at line 19 of file IOTShield.h.

◆ CMD_STALLCHECK

#define CMD_STALLCHECK   0x09

Definition at line 25 of file IOTShield.h.

◆ CMD_SYNC

#define CMD_SYNC   0x13

Definition at line 36 of file IOTShield.h.

◆ CMD_TICKSPERREV

#define CMD_TICKSPERREV   0x31

Definition at line 48 of file IOTShield.h.

◆ CMD_UARTTIMEOUT

#define CMD_UARTTIMEOUT   0x0C

Definition at line 28 of file IOTShield.h.



iotbot
Author(s): Stefan May (EduArt Robotik)
autogenerated on Wed May 24 2023 02:13:39