|
HaptiCap
0.1
Directional feedback built into a hat
|
Single value settings for the magnetometer HaptiCap. More...
Macros | |
| #define | HC_NMOTORS_ADDR 0x09 |
| #define | HC_DECLINATION_ADDR 0x0a |
| #define | HC_INCLINATION_ADDR 0x0f |
| #define | HC_SAMPLERATE_ADDR 0x13 |
| #define | HC_PULSEWIDTH_ADDR 0x17 |
| #define | HC_OFFSET_ADDR 0x19 |
| #define | HC_USE_CALIBRATION_ADDR 0x1d |
| #define | HC_GAIN_ADDR 0x1e |
| #define | HC_AVG_ADDR 0x1f |
Single value settings for the magnetometer HaptiCap.
32 bytes are allocated, from 0x09 to 0x29, 21 of which are currently used.
| #define HC_AVG_ADDR 0x1f |
The averaging rate to be used. See HaptiCapMagSettins::setAveraging() for details.
1 byte, type uint8_t, 0x1f.
Definition at line 97 of file HaptiCapMagSettings.h.
| #define HC_DECLINATION_ADDR 0x0a |
Declination offset in degrees. (Range ±180) See HaptiCapMagSettings::setDeclination() for details.
4 bytes, type float, 0x0a -> 0x0e
Definition at line 48 of file HaptiCapMagSettings.h.
| #define HC_GAIN_ADDR 0x1e |
The gain setting to be used. See HaptiCapMagSettinsg::setGain() for details.
1 byte, type uint8_t, 0x1e
Definition at line 88 of file HaptiCapMagSettings.h.
| #define HC_INCLINATION_ADDR 0x0f |
Inclination offset in degrees. (Range ±180) See HaptiCapMagSettings::setInclination() for details.
4 bytes, type float, 0x0f -> 0x12
Definition at line 55 of file HaptiCapMagSettings.h.
| #define HC_NMOTORS_ADDR 0x09 |
Number of motors in the HaptiCap (max: 16) See HaptiCapMagSettings::setNMotors() for details.
1 byte, type uint8_t, 0x09
Definition at line 41 of file HaptiCapMagSettings.h.
| #define HC_OFFSET_ADDR 0x19 |
Phase offset, in degrees. See HaptiCapMagSettings::setPhaseOffset() for details.
4 bytes, type float, 0x19 -> 0x1c
Definition at line 74 of file HaptiCapMagSettings.h.
| #define HC_PULSEWIDTH_ADDR 0x17 |
Pulse width, in milliseconds See HaptiCapMagSettings::setPulseWidth() for details. 2 bytes, type uint16_t, 0x17 -> 0x18
Definition at line 69 of file HaptiCapMagSettings.h.
| #define HC_SAMPLERATE_ADDR 0x13 |
Sample rate, in Hz. See HaptiCapMagSettings::setSampleRate() for details.
4 bytes, type float, 0x13 -> 0x16
Definition at line 62 of file HaptiCapMagSettings.h.
| #define HC_USE_CALIBRATION_ADDR 0x1d |
Whether or not to use calibration. See HaptiCapMagSettings::setUseCalibration() for details.
1 byte, type uint8_t, 0x1d
Definition at line 81 of file HaptiCapMagSettings.h.