diff --git a/samples/app.conf.sample b/samples/app.conf.sample index 455dcb5..6264e4b 100644 --- a/samples/app.conf.sample +++ b/samples/app.conf.sample @@ -2,7 +2,7 @@ module.exports = { version: "1.0", name: "CRTelemetry", program: "Throttle & Motor Mapping", - host: "192.168.117.128", + host: "localhost", protocol: "http", port: 8080, username: "admin", diff --git a/samples/can.conf.sample b/samples/can.conf.sample new file mode 100644 index 0000000..c782eb8 --- /dev/null +++ b/samples/can.conf.sample @@ -0,0 +1,13 @@ +module.exports = { + controller: { + id: 0x04, + max_current: 250 // peak + }, + selector: { + id: 0x19, + command: Buffer.from([0x02]) + }, + apps_id: 0x50, + motor_poles: 10, + network_id: "vcan0" +} \ No newline at end of file diff --git a/samples/map.conf.sample b/samples/map.conf.sample index fcb7a21..b6a842d 100644 --- a/samples/map.conf.sample +++ b/samples/map.conf.sample @@ -2,5 +2,6 @@ module.exports = { prefix: "map", steps: 10, max_rpm: 6500, - max_throttle: 1 + max_throttle: 1, + selected_map_path: "app/storage/selected" } \ No newline at end of file diff --git a/samples/map.sample b/samples/map.sample new file mode 100644 index 0000000..f4b3652 --- /dev/null +++ b/samples/map.sample @@ -0,0 +1,14 @@ +#name:map1 +#id:1 +#description: +200,-200,-1 +250,-250,-0.8 +300,-300,-0.6 +350,-350,-0.4 +400,-400,-0.2 +450,-450,0 +500,-500,0.2 +500,-500,0.4 +470,-470,0.6 +400,-400,0.8 +350,-350,1 \ No newline at end of file