-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.h
More file actions
executable file
·19 lines (15 loc) · 645 Bytes
/
config.h
File metadata and controls
executable file
·19 lines (15 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define SERIAL_BAUD 115200 // Baudrate
// --------------------------
// Joystick related variables
// --------------------------
#define default_gain 1.0
#define friction_gain 0.25
#define damperSplineNumPoints 6
// TODO: find proper values for these automatically
#define frictionMaxPositionChangeCfg 25
#define inertiaMaxAccelerationCfg 10
#define damperMaxVelocityCfg 150
// comment out this line if you don't want to have a spline configuration for the damper
#define damperSplineGain float damperSplinePoints[2][damperSplineNumPoints] = { \
{0, 0, 2500, 6000, 10000, 10000}, \
{0, 0, 250, 4000, 5000, 5000}}