|
SmartVehicle-Basis
SmartFactory
|
File that contains the configuratioindetails of the different modules. More...

Go to the source code of this file.
Macros | |
| #define | SONAR_SERVO_PIN 5 |
| #define | SONAR_TRIGGER_PIN 15 |
| #define | SONAR_ECHO_PIN 14 |
| #define | SONAR_MAX_DISTANCE 9999 |
| #define | MIN_ERROR -5 |
| #define | MAX_ERROR 5 |
| #define | MIN_TURN_ANGLE 180 |
| #define | MAX_TURN_ANGLE 0 |
| #define | HOIST_SERVO_PIN 6 |
| Pin-Number for Servocontroll of the Hoist. More... | |
| #define | HOIST_SERVO_DELAY 30 |
| Duration of the delay between the position updates of the Servo. More... | |
| #define | HOIST_POSITION_MIN 160 |
| Minimal angle of the Servo. More... | |
| #define | HOIST_POISITION_MAX 65 |
| Maximal angle of the Servo. More... | |
| #define | VISION_SERVO_PIN 5 |
| #define | VISION_DELAY_FACTOR 6 |
| #define | VISION_TOLERANCE_LEFT 165 |
| #define | VISION_TOLERANCE_RIGHT 155 |
| #define | VISION_START_ANGLE 90 |
Variables | |
| const double | SPEEDFACTOR = 1.3 |
| The speed factor can be used to increase or decrease the complete speed. it affects all speed settings. More... | |
| const unsigned int | RIGHT_MOTOR = 1 |
| Portnumber of the right motor on the motorshield. More... | |
| const unsigned int | LEFT_MOTOR = 2 |
| Portnumber of the left motor on the motorshield. More... | |
| const unsigned int | SPEED = 70 * SPEEDFACTOR |
| Standard operating speed. More... | |
| const unsigned int | REDUCED_SPEED = SPEED * 0.8 * SPEEDFACTOR |
| Reduced operating speed. More... | |
| const unsigned int | TURNING_SPEED = 70 * SPEEDFACTOR |
| Turning speed. More... | |
| const unsigned int | PIN_SENSOR_0 = 13 |
| Pin number of line detection sensor 0. More... | |
| const unsigned int | PIN_SENSOR_1 = 12 |
| Pin number of line detection sensor 1. More... | |
| const unsigned int | PIN_SENSOR_2 = 11 |
| Pin number of line detection sensor 2. More... | |
| const unsigned int | PIN_SENSOR_3 = 10 |
| Pin number of line detection sensor 3. More... | |
| const unsigned int | PIN_SENSOR_4 = 9 |
| Pin number of line detection sensor 4. More... | |
| const double | PID_KP = 10 |
| P-value of the PID-controller. More... | |
| const double | PID_KI = 2 |
| I-value of the PID-controller. More... | |
| const double | PID_KD = 0.005 |
| D-value of the PID-controller. More... | |
File that contains the configuratioindetails of the different modules.
Definition in file HardwareConfiguration.h.
| #define SONAR_SERVO_PIN 5 |
Definition at line 50 of file HardwareConfiguration.h.
| #define SONAR_TRIGGER_PIN 15 |
Definition at line 51 of file HardwareConfiguration.h.
| #define SONAR_ECHO_PIN 14 |
Definition at line 52 of file HardwareConfiguration.h.
| #define SONAR_MAX_DISTANCE 9999 |
Definition at line 53 of file HardwareConfiguration.h.
| #define MIN_ERROR -5 |
Definition at line 54 of file HardwareConfiguration.h.
| #define MAX_ERROR 5 |
Definition at line 55 of file HardwareConfiguration.h.
| #define MIN_TURN_ANGLE 180 |
Definition at line 56 of file HardwareConfiguration.h.
| #define MAX_TURN_ANGLE 0 |
Definition at line 57 of file HardwareConfiguration.h.
| #define HOIST_SERVO_PIN 6 |
Pin-Number for Servocontroll of the Hoist.
Definition at line 61 of file HardwareConfiguration.h.
| #define HOIST_SERVO_DELAY 30 |
Duration of the delay between the position updates of the Servo.
Definition at line 62 of file HardwareConfiguration.h.
| #define HOIST_POSITION_MIN 160 |
Minimal angle of the Servo.
Definition at line 63 of file HardwareConfiguration.h.
| #define HOIST_POISITION_MAX 65 |
Maximal angle of the Servo.
Definition at line 64 of file HardwareConfiguration.h.
| #define VISION_SERVO_PIN 5 |
Definition at line 68 of file HardwareConfiguration.h.
| #define VISION_DELAY_FACTOR 6 |
Definition at line 69 of file HardwareConfiguration.h.
| #define VISION_TOLERANCE_LEFT 165 |
Definition at line 70 of file HardwareConfiguration.h.
| #define VISION_TOLERANCE_RIGHT 155 |
Definition at line 71 of file HardwareConfiguration.h.
| #define VISION_START_ANGLE 90 |
Definition at line 72 of file HardwareConfiguration.h.
| const double SPEEDFACTOR = 1.3 |
The speed factor can be used to increase or decrease the complete speed. it affects all speed settings.
Definition at line 19 of file HardwareConfiguration.h.
| const unsigned int RIGHT_MOTOR = 1 |
Portnumber of the right motor on the motorshield.
Definition at line 20 of file HardwareConfiguration.h.
| const unsigned int LEFT_MOTOR = 2 |
Portnumber of the left motor on the motorshield.
Definition at line 21 of file HardwareConfiguration.h.
| const unsigned int SPEED = 70 * SPEEDFACTOR |
Standard operating speed.
Definition at line 22 of file HardwareConfiguration.h.
| const unsigned int REDUCED_SPEED = SPEED * 0.8 * SPEEDFACTOR |
Reduced operating speed.
Definition at line 23 of file HardwareConfiguration.h.
| const unsigned int TURNING_SPEED = 70 * SPEEDFACTOR |
Turning speed.
Definition at line 24 of file HardwareConfiguration.h.
| const unsigned int PIN_SENSOR_0 = 13 |
Pin number of line detection sensor 0.
Definition at line 27 of file HardwareConfiguration.h.
| const unsigned int PIN_SENSOR_1 = 12 |
Pin number of line detection sensor 1.
Definition at line 28 of file HardwareConfiguration.h.
| const unsigned int PIN_SENSOR_2 = 11 |
Pin number of line detection sensor 2.
Definition at line 29 of file HardwareConfiguration.h.
| const unsigned int PIN_SENSOR_3 = 10 |
Pin number of line detection sensor 3.
Definition at line 30 of file HardwareConfiguration.h.
| const unsigned int PIN_SENSOR_4 = 9 |
Pin number of line detection sensor 4.
Definition at line 31 of file HardwareConfiguration.h.
| const double PID_KP = 10 |
P-value of the PID-controller.
Definition at line 36 of file HardwareConfiguration.h.
| const double PID_KI = 2 |
I-value of the PID-controller.
Definition at line 37 of file HardwareConfiguration.h.
| const double PID_KD = 0.005 |
D-value of the PID-controller.
Definition at line 38 of file HardwareConfiguration.h.