Skip to Content

     Welcome to Source Robotics forum      


Sign up

This question has been flagged
152 Views

The motor() function is strange in main.cpp. There are no enable_motor() and disable_motor() functions. Only the function name exists.

Avatar
Discard

What code are you talking about? Parol6 pcb or bldc drivers?

control_board_main_software -> src - > main.cpp - > enable_motors()

Hello,

I hope you are doing well.

While reviewing the project, I noticed that in main.cpp, the functions enable_motors() and disable_motors() are referenced but do not appear to have corresponding definitions.
Could you please let us know where these functions are implemented, or share the appropriate source files if available?


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!