uarm library header
More...
#include <Arduino.h>
#include <EEPROM.h>
#include <Wire.h>
#include "UFServo.h"
#include "linreg.h"
Go to the source code of this file.
uarm library header
- Author
- Joey Song Joey Song, Alex Tan, Dave Corboy
- Date
- 12/Dec/2014 GNU 2016 UFactory Team. All right reserved
| #define ARM_HEIGHT_MAX 160 |
| #define ARM_HEIGHT_MIN -150 |
| #define ARM_STRETCH_MAX 195 |
| #define ARM_STRETCH_MIN 0 |
| #define CALIBRATION_FLAG 10 |
| #define CALIBRATION_LINEAR_FLAG 11 |
| #define CALIBRATION_MANUAL_FLAG 12 |
| #define CALIBRATION_STRETCH_FLAG 13 |
| #define CONFIRM_FLAG 0x80 |
| #define F_HAND_RELATIVE 2 |
| #define F_POSN_RELATIVE 1 |
| #define INTERP_EASE_INOUT 2 |
| #define INTERP_EASE_INOUT_CUBIC 0 |
| #define INTERP_EASE_OUT 4 |
| #define LINEAR_INTERCEPT 1 |
| #define LINEAR_INTERCEPT_START_ADDRESS 70 |
| #define LINEAR_SLOPE_START_ADDRESS 50 |
| #define MANUAL_OFFSET_ADDRESS 30 |
| #define MATH_L1 (10.645+0.6) |
| #define MATH_PI 3.141592653589793238463 |
| #define MATH_TRANS 57.2958 |
| #define OFFSET_STRETCH_START_ADDRESS 20 |
| #define SERIAL_NUMBER_ADDRESS 100 |
| #define SERVO_HAND_PIN 10 |
| #define SERVO_HAND_ROT_ANALOG_PIN 3 |
| #define SERVO_HAND_ROT_NUM 3 |
| #define SERVO_LEFT_ANALOG_PIN 0 |
| #define SERVO_LEFT_PIN 13 |
| #define SERVO_RIGHT_ANALOG_PIN 1 |
| #define SERVO_RIGHT_NUM 2 |
| #define SERVO_RIGHT_PIN 12 |
| #define SERVO_ROT_ANALOG_PIN 2 |
| #define UARM_MAJOR_VERSION 1 |
| #define UARM_MINOR_VERSION 7 |