You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
482 B
22 lines
482 B
#include "olr-param.h"
|
|
|
|
void param_setdefault( struct cfgparam* cfg ) {
|
|
cfg->setted = true;
|
|
|
|
cfg->ramp.init = 80;
|
|
cfg->ramp.center = 90;
|
|
cfg->ramp.end = 100;
|
|
cfg->ramp.high = 2;
|
|
|
|
cfg->track.nled_total = MAXLED;
|
|
cfg->track.nled_main = 300; //240
|
|
cfg->track.nled_aux = 0; //60
|
|
cfg->track.init_aux = -1; //239
|
|
cfg->track.kf = 0.015; //friction constant
|
|
cfg->track.kg = 0.003; //gravity constant
|
|
}
|
|
|
|
|
|
|
|
|