This C++ header file defines functions and data types for controlling motors. It includes event and type definitions needed for the motor service. Enumerations are defined for the different motor states like forward and backward. Function prototypes are provided for initializing the motor service, posting events to the service, running the service, driving and rotating motors in different directions, stopping motors, and setting the duty cycle and direction of right and left motors.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
69 views1 page
Motorserviceh
This C++ header file defines functions and data types for controlling motors. It includes event and type definitions needed for the motor service. Enumerations are defined for the different motor states like forward and backward. Function prototypes are provided for initializing the motor service, posting events to the service, running the service, driving and rotating motors in different directions, stopping motors, and setting the duty cycle and direction of right and left motors.