Commit Graph

957 Commits

Author SHA1 Message Date
Benjamin Vedder 1469e2568d Field weakening updates 2021-04-11 11:31:25 +02:00
CTSchorsch 10fa9f9550 bugfixes 2021-04-11 11:05:41 +02:00
Benjamin Vedder dfc42defb1 Removed unneeded allocation and copy 2021-04-11 09:42:03 +02:00
Benjamin Vedder a1a1d727f9 Merge branch 'RadinnAB-batt_cutoff' into dev_fw_5_03 2021-04-11 09:38:42 +02:00
Benjamin Vedder 9dff7b42c4 Resolved conflict 2021-04-11 09:38:33 +02:00
Benjamin Vedder 350d7aef49
Merge pull request #281 from powerdesigns/current_antiwindup_simplified
mc_pwm_foc: simplified math in current PI antiwindup
2021-04-11 09:33:00 +02:00
Maximiliano Cordoba 31d14e1c4e mc_pwm_foc: simplified math in current PI antiwindup
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2021-04-10 20:02:15 -03:00
Benjamin Vedder b49606be4c Updated changelog and beta number 2021-04-10 16:41:20 +02:00
Benjamin Vedder 1da747e50f Use filtered currents for cross bemf decoupling 2021-04-10 16:31:02 +02:00
Benjamin Vedder b8fa20abde Updated changelog 2021-04-10 11:39:52 +02:00
Benjamin Vedder feb1be5fbd First attempt at field weakening and current controller windup protection improvement 2021-04-10 11:37:35 +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
Benjamin Vedder 5e02197459 Increased 75/300 dead time 2021-04-08 22:34:23 +02:00
Benjamin Vedder 101f293389 Added new BMS counters 2021-04-08 22:34:01 +02:00
Benjamin Vedder 2848ec1b54 Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03 2021-04-08 18:09:56 +02:00
Benjamin Vedder 1aef262cf1 Added more BMS datatypes 2021-04-08 18:09:53 +02:00
Benjamin Vedder 1f1e1e99fb
Merge pull request #276 from Mitchlol/balance_4.1
Balance 4.1
2021-04-08 18:07:54 +02:00
Mitch Lustig 273f067db3 Code Cleanup 2021-04-07 22:42:21 -07:00
Mitch Lustig af941b3182 Little cleanup 2021-04-07 00:30:37 -07:00
Benjamin Vedder a9c2a4fcc9 Added ER application 2021-04-06 14:12:57 +02:00
Mitch Lustig 08f27f433c Add turn tilt 2021-04-06 02:18:32 -07:00
CTSchorsch 2fe6c1344f - change filenames, lora/lora.c as central file for all lora drivers
- SX1278.x as first driver for e.g. RFM95W module
2021-04-04 09:28:20 +02:00
Mitch Lustig 175ed9e21c Merge branch 'dev_fw_5_03' into brc_mod_1 2021-04-01 20:57:44 -07:00
mattbutlar fae1466601 Add comment on value mapping 2021-04-01 14:35:57 -07:00
mattbutlar bb7b049d86 Remove loop timing test 2021-04-01 09:53:03 -07: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
Benjamin Vedder 69d3a1ba33 Only change UART pin mode when needed 2021-03-31 09:54:59 +02:00
mattbutlar b61049b18e Change roll comp math to avoid external deps 2021-03-30 23:20:35 -07:00
Benjamin Vedder 86e574aa1b
Merge pull request #272 from Mitchlol/balance_4
Balance 4
2021-03-30 09:03:35 +02:00
mattbutlar 4f74c179a2 Simplify roll comp math 2021-03-29 14:42:30 -07:00
Mitch Lustig 9f41e4407f Fix compiler warning 2021-03-28 14:41:05 -07:00
Mitch Lustig 7bf0d65ab9 Little bit of cleanup
How'd i let that slip through >.<
2021-03-28 02:07:58 -07:00
Mitch Lustig decdc7e7d6 Add torquetilt 2021-03-27 20:13:22 -07:00
Mitch Lustig 3b9fe6ec67 Add Booster 2021-03-27 14:00:55 -07: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
Mitch Lustig 49e624ba3b Remove boring features 2021-03-27 12:17:10 -07: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 7355ae7e14 Merge branch 'master' into dev_fw_5_03 2021-03-27 11:24:06 +01:00
Benjamin Vedder 5c718aeef5
Merge pull request #176 from supercrazysam/supercrazysam-readme-update-patch
Added a guide for (.bin) custom firmware build and upload using vesc tool
2021-03-27 11:22:10 +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 3f15ab00da Avoid another allocation and copy, check debug level on prints before printing 2021-03-26 18:34:50 +01:00
Benjamin Vedder ad9f13a023 Avoid allocation and copy of entire appconfig when refreshing local parameters 2021-03-26 18:22:49 +01:00
Benjamin Vedder 9ad604247d Updated changelog and minor fixes 2021-03-26 17:58:21 +01:00
Benjamin Vedder e39893cb0e
Merge pull request #269 from jmachuca77/uavcan_upd
UAVCAN: Update drivers, add param get/set, add bootloader support
2021-03-26 17:48:48 +01:00
Jaime d76dffbc44 Update UAVCAN drivers, Add UAVCAN boot loader support. Add UAVCAN parameter support. Update get node info responses 2021-03-25 16:58:45 -06:00
Benjamin Vedder 8b9e3bf93f Offset calibration improvements 2021-03-24 13:09:05 +01:00
Benjamin Vedder 3b4e601f61 Offset calibration update 2021-03-22 12:13:19 +01:00
Benjamin Vedder e7921ff5bd Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03 2021-03-17 11:55:11 +01:00