Benjamin Vedder
18a683fc7d
Lisp updates, imu refactoring and rate check
2022-02-28 14:29:59 +01:00
Benjamin Vedder
468c4f6353
Merge branch 'encoder_split' into master
2022-02-19 15:21:13 +01:00
Benjamin Vedder
b881a08e75
Added raw and imu lisp commands
2022-02-06 23:12:05 +01:00
Benjamin Vedder
c0a928e040
NRF name and pin set support
2022-02-05 01:04:12 +01:00
Benjamin Vedder
9527f94cf8
First lisp integration with vesc tool and enabled lisp by default
2022-01-29 03:36:34 +01:00
Jakub Tomczak
da4b3e0edd
Merge branch 'master' into dev_fw_5_03
2022-01-21 15:07:44 +01:00
Benjamin Vedder
2d28ccbb05
Lisp
2022-01-21 10:52:56 +01:00
Benjamin Vedder
f6baa653ea
Updated linker script and flash helpers to get 128k extra code space. Note that this requires the updated bootloader with compression support.
2022-01-18 20:31:24 +01:00
Benjamin Vedder
4f0388d507
Added lispbm test module (disabled by default)
2022-01-13 14:50:19 +01:00
Jakub Tomczak
2a120615be
encoders to encoder refactor
2022-01-09 17:10:40 +01:00
Benjamin Vedder
af55c79a2a
Renamed foc_f_sw to foc_f_zv
2022-01-06 20:44:00 +01:00
Jakub Tomczak
4743194894
old encoder files deleted
2021-12-20 14:18:51 +01:00
Jakub Tomczak
f26f3beb2d
WIP: 3 encoders partially implemented, AS504x tested
...
compiled on gcc-arm-none-eabi-7-2018-q2
2021-12-14 16:40:40 +01:00
Benjamin Vedder
d30fb57a90
Fixed stat reset, removed stat terminal command
2021-12-01 13:45:48 +01:00
Benjamin Vedder
f6e78a09b6
Fixed measured MTPA mode, send ld_lq_diff detection result
2021-11-21 18:17:40 +01:00
Benjamin Vedder
3778dbe2e2
Added support for statistics
2021-11-11 01:08:21 +01:00
Benjamin Vedder
f9170e93d0
Added uptime to setupvalues
2021-11-10 15:45:28 +01:00
Benjamin Vedder
8f8d913419
Added raw sample mode
2021-10-18 21:45:47 +02:00
Johan Svard
add855f6e6
blackmagic: Add cmd to write to target memory.
2021-10-01 16:29:57 +02:00
Benjamin Vedder
1ab25a47db
Added position PID offset support and KD_PROC term
2021-07-11 20:19:26 +02:00
Benjamin Vedder
b7a5ff5a1b
Check external NRF crc
2021-06-27 13:02:24 +02:00
Benjamin Vedder
75b84f1f2d
Added kill switch support
2021-06-13 13:46:27 +02:00
Mitch Lustig
d68fc0ff4f
Balance: Updates
...
-Fix D term to use angle rather than error (which includes tilt steps)
-Switch TT to Biquad (Clear z1 z2)
-Split TT Relax speed
-Add Biquad to D term
-Add console command to graph specific variables
-Add console command to dump realtime data from specific variables
2021-06-01 03:20:00 -07:00
Benjamin Vedder
e66552c83f
Added io-board commands
2021-05-11 14:03:22 +02:00
Benjamin Vedder
dfe17ac334
Dynamic QML-script write support
2021-05-01 13:28:46 +02:00
Benjamin Vedder
7a0e560e8b
Lowpass filter input voltage and battery level
2021-04-27 17:48:15 +02:00
Benjamin Vedder
5767b703b7
Custom UI support
2021-04-24 22:36:00 +02:00
rodale75
b01930d586
commands: Added COMM_BM_HALT_REQ
...
Command added for being able to halt the CPU while connected via
blackmagic probe.
2021-04-23 15:58:24 +02:00
Benjamin Vedder
998bc17ba7
Cleanup
2021-04-12 09:48:29 +02:00
Benjamin Vedder
ca8e7b4f05
Merge pull request #271 from CTSchorsch/dev_05_03
...
- Add driver for SX1278 LoRa boards, eg. HopeRF RFM95W (driver by Woj…
2021-04-12 09:35:38 +02:00
Benjamin Vedder
55dba9a79d
Made odometer persist after firmware updates, added hw runtime counter
2021-04-11 19:36:11 +02:00
Benjamin Vedder
dfc42defb1
Removed unneeded allocation and copy
2021-04-11 09:42:03 +02:00
Benjamin Vedder
9dff7b42c4
Resolved conflict
2021-04-11 09:38:33 +02:00
dnordahl83
33da036106
commands: Added COMM_GET_BATTERY_CUT.
...
This command returns a buffer with the following parameters:
[type, scale, size]
* cut off start [float, 1e3, 4b]
* cut off end [float, 1e3, 4b]
2021-04-09 14:31:23 +02:00
CTSchorsch
4f048442d0
cleanup spaces
2021-03-31 19:46:31 +02:00
Benjamin Vedder
fcb7e12158
Made servo output a config option
2021-03-31 16:28:46 +02:00
CTSchorsch
755ff98ec9
fix spaces, delete lines and default config
2021-03-31 14:10:27 +02:00
CTSchorsch
331494291d
- move lora files from hwconf/ to lora/
...
- modify Makefile and add lora/lora.mk
- hopefully have all idents fixed
- restore commands.c and add new function again
- fix memory leak bug in gesc.c
- rfm95w.c add delay in while loop
- add gesc to build_all / rebuild all works
2021-03-27 21:13:24 +01:00
CTSchorsch
cdb8e82c32
- Add driver for SX1278 LoRa boards, eg. HopeRF RFM95W (driver by Wojciech Domski, https://github.com/wdomski/SX1278 )
...
- Add a simple bool isInitialized() to commands.c, to check if commands are initialzied
- Add hwconf for GESC, hobby open source ESC (https://github.com/CTSchorsch/gesc ) including a simple double pulse test function
- Add app_dpv.c to read out a simple I2C magnetic field sensor and two hall sensors to control a underwater scooter
2021-03-27 14:15:22 +01:00
Benjamin Vedder
2133d21fbc
Avoid numerical instability when utils_map is used over a range that approaches 0
2021-03-27 11:18:47 +01:00
Benjamin Vedder
3b4e601f61
Offset calibration update
2021-03-22 12:13:19 +01:00
Benjamin Vedder
d1a0b87408
Keep old offsets when reading default config
2021-03-13 11:41:01 +01:00
Benjamin Vedder
ccfe0de2b5
Merge pull request #260 from powerdesigns/read_only_configs
...
Allow read-only motor config and app config
2021-02-28 21:32:06 +01:00
Benjamin Vedder
69c6939b15
Added power switch can commands
2021-02-28 20:29:51 +01:00
Marcos Chaparro
471efc2f73
Allow read-only motor config and app config
...
Defining HW_MCCONF_READ_ONLY and HW_APPCONF_READ_ONLY turns the configs
in read-only mode.
In some applications its better to block the user from playing with
critical settings. With these switches the controller can be flashed
with a hardcoded config that user can only change with a full firmware
update.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-02-22 20:26:39 -03:00
Benjamin Vedder
ecb43e70bb
Cleanup
2021-01-13 21:51:55 +01:00
Jeffrey M. Friesen
e862f29298
Re-wrote uart driver a bit
2021-01-05 09:39:45 -08:00
Benjamin Vedder
55096f93cc
Added UAVCAN raw throttle modes
2020-12-04 17:54:22 +01:00
Benjamin Vedder
242a1924e1
Fixed dual motor CAN regression
2020-12-02 20:56:00 +01:00
Benjamin Vedder
e5c5b3e655
Fixed CAN reply mapping problem
2020-11-29 23:26:49 +01:00