Commit graph

55 commits

Author SHA1 Message Date
9d3aa54272 Fix doc 2025-06-04 11:44:10 +03:00
6be663c914 Merge 2025-06-04 09:57:43 +03:00
0c51667ffc Add st-link_full.py
Fix st-link_full.py
2025-06-03 21:23:56 +03:00
05621e7150 Fix test and work with bootloader
Fix tests

Fix commit
2025-06-03 13:02:57 +03:00
e9fb2656b8 Add reset to st-link test 2025-06-02 22:38:56 +03:00
1aa732c810 add test 2025-06-02 20:02:22 +03:00
d1e918371c remove simple_foc commander and monitor 2025-05-30 17:15:34 +03:00
f1d922bd34 Fix boot 2025-05-30 15:53:15 +03:00
31528a4a5b Add offset for firmware 2025-05-29 18:57:25 +03:00
3fd612a56e rename python test file names 2025-05-29 13:45:47 +03:00
10c7da1107 update pid default parameters 2025-05-29 13:45:28 +03:00
5fa3db6e6c PID CAN setup fix 2025-05-27 16:33:02 +03:00
013768ad1c Add PID test 2025-05-27 15:54:04 +03:00
d654443621 Fix cpp file 2025-05-26 22:40:53 +03:00
d2d8f89eb3 Add test 2025-05-23 09:16:41 +03:00
456b4a8b70 Fix bootloader 2025-05-23 09:12:06 +03:00
c0c42339f1 Add bootloader flag in the flash 2025-05-23 09:10:51 +03:00
ec086e2d47 Fix include and add/fixed python test 2025-05-22 18:12:54 +03:00
6844ca9a8d Add bootloader 2025-05-22 18:03:43 +03:00
4f42094b0e Divide code 2025-05-16 21:06:31 +03:00
320eb21de8 Add write pid_p coefficient on FLASH 2025-05-16 14:41:31 +03:00
2a173b836b Fix test CRC 2025-05-16 14:04:21 +03:00
0980243848 Add py test and fix work with float in FLASH 2025-05-15 23:13:07 +03:00
a0800410e0 Update struct and working for FLASH 2025-05-15 17:38:59 +03:00
2e88044e07 Fix angle 2025-05-14 20:06:19 +03:00
3e35fd99a1 For all types 2025-05-14 19:26:10 +03:00
fca10d4140 Fix CRC from read data 2025-05-13 19:05:54 +03:00
1122c97008 Fix CRC 2025-05-13 18:55:55 +03:00
7f29caeb76 Test for angle 2025-05-13 14:43:45 +03:00
ee8b011098 Add to .gitignore rar file 2025-05-13 01:01:23 +03:00
2c1fe86b58 Add to .gitignore rar file 2025-05-13 00:59:08 +03:00
de2534a890 Fix test 2025-05-12 16:37:21 +03:00
ede8525164 Add write param for test 2025-05-12 16:24:12 +03:00
ef911e5cb3 Add write param for test 2025-05-12 16:23:17 +03:00
8ecb1aca43 Fix current address 2025-05-05 14:53:37 +03:00
b36103201c Add flag for CAN 2025-05-04 22:53:42 +03:00
a2f1c2557a translate comment 2025-04-18 12:50:07 +03:00
d935263742 ADD persistent parameters (PID, ID), request-response model via CAN bus, Position Control 2025-04-17 17:45:23 +03:00
7ef7228b31 add pid 2025-04-17 16:55:48 +03:00
e65857ca6f Added PID 2025-04-17 16:49:39 +03:00
06aae3981e fix work with float type of angle 2025-04-17 15:53:03 +03:00
317a4c48ea Add setup for angle using SimpleFOC 2025-04-17 14:30:22 +03:00
9c9b182705 Added function for send data 2025-04-17 11:10:56 +03:00
c02006698e Ready for work 2025-04-16 23:09:59 +03:00
9539900322 Return kiplot config to root dir 2025-02-27 16:13:43 +03:00
7af6b04366 Add 2 motor versions & test stand 2025-02-27 16:01:14 +03:00
365124fd91 fix cpplint errors
fix cpplint again
2025-02-17 19:06:28 +03:00
sosiskovich
631cadca26 New PID coefficients; remove legacy 2025-02-12 21:57:27 +08:00
74c5b1d12c Enhance CAN bus scripts with argparse and error handling
- Improved error handling in `python_enable_motor.py` by capturing and displaying exception details.
- Ensured proper CAN bus shutdown in `python_enable_motor.py` with a `finally` block.
- Refactored `python_send_angle.py` to accept a command-line argument for the target angle instead of looping indefinitely.
- Refactored `python_send_velocity.py` to accept a command-line argument for target speed and removed infinite loops for better usability.
- Added `send_velocity_impulses.py`, a new script to send alternating velocity impulses over the CAN bus.
2025-02-04 13:41:05 +03:00
d5f772cb6d Adjust serial monitor speed and refine motor control logic
- Changed `monitor_speed` in `platformio.ini` from `115200` to `19200` for compatibility.
- Initialized `MotorControlInputs` struct members with default values.
- Uncommented digital write operations in `doMotor` for proper execution.
- Disabled debug output and monitoring configurations for cleaner operation.
- Adjusted motor tuning parameters by commenting out specific settings.
- Changed `Serial.begin(115200)` to `Serial.begin(19200)` in `setup()` to match the new monitor speed.
- Commented out `_delay(1000)` and `current_angle` variable to remove unnecessary delays and unused code.
2025-02-04 13:40:15 +03:00