servo/controller/fw/embed
Bill Finger 1534b854fc Refactor and enhance motor control implementation
- Introduced `MotorControlInputs` struct to centralize motor control state.
- Renamed `sensor` to `encoder` for clarity in naming conventions.
- Added `send_velocity`, `send_angle`, and `send_motor_enabled` functions for modular CAN message handling.
- Updated `setup_foc` to enhance motor initialization with configurable parameters.
- Replaced `run_foc` with `foc_step` for improved motor control logic:
  - Dynamically switches between angle and velocity control based on inputs.
- Enhanced CAN message handling with `read_can_step` to process specific control commands.
- Adjusted current sensing and other configuration values for precision.
- Added placeholders for temperature sensor setup and handling.
2025-01-18 18:28:56 +03:00
..
include Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
knowledges Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
lib Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
src Refactor and enhance motor control implementation 2025-01-18 18:28:56 +03:00
test Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
.clang-tidy Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
.clangd Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
.gitignore Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
check_gcc_version.py Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
cubemx_config.ioc Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
gen_compile_commands.py Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
platformio.ini Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
README.md Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00

Встроенное ПО для сервипривода на STM32F446RE

Для разработки

pip install -U platformio
platformio run --environment robotroller_reborn
platformio run --target upload --environment robotroller_reborn 
platformio device monitor