sra-board-component icon indicating copy to clipboard operation
sra-board-component copied to clipboard

Updated MCPWM Implementation for servo control to support ESP-IDF 5.0 (#90)

Open purviyeshi opened this issue 10 months ago • 1 comments

Added v5.1 ESP-IDF support for servo control

  • Refactored servo configuration
  • Updated enable_servo function to create timers, operators, comparators, and generators for each servo group (A-B and C-D) separately
  • Modified set_angle_servo_helper function to set servo angles using the new MCPWM library functions
  • Updated servo angle calculation to ensure compatibility with the new configuration
  • Adjusted logging statements to maintain consistency with the changes in function calls and parameter names.
  • provides more detailed logging messages and utilizes the full capabilities of the MCPWM library for servo control

purviyeshi avatar Apr 08 '24 12:04 purviyeshi

@SuperChamp234 I think this fork is ready to be merged, please share your reviews

aPR0T0 avatar Apr 14 '24 04:04 aPR0T0