-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration file
Timothé Fillion Brunet edited this page May 14, 2013
·
1 revision
Configuration file under config/config.json This file will be used to set your hardware and your preferences:
This is an exemple of configuration
{
"DOF": 6,
"sensors": {
"accel": "ADXL345",
"gyro": "ITG3200",
"mag": null
},
"motor": "MOTOR_PWM",
"receiver": "328p",
"debug": true,
"minArmedThrottle": 300
}This configuration tell that we use a sensor 6DOF with the model of those sensors. Accelerometer is ADXL345 and Gyrometer is ITG3200. This board is a Sparkfun board. Communication with the motor will be PWM the module name will be MOTOR_PWM and receiver is a 328p. This is an exemple of configuration. The name used here must have a module with the same name because we will try to load those module with the name configured here.
We will define module templates later for devices (sensors, motor, receiver, etc.) it will allow people to add their own device to this system.