|
|
void | attach (int PIN) |
| |
|
void | detach () |
| |
|
void | enableStartup () |
| |
|
void | disableStartup () |
| |
|
void | updateStartup () |
| |
|
void | enableMotor () |
| |
|
void | disableMotor () |
| |
|
int | setVelocity (int velocity) |
| |
|
int | setPulsewidth (int pulsewidth) |
| |
|
void | forcePulsewidth (int pulsewidth) |
| |
|
void | update () |
| |
|
void | startupProcess () |
| |
|
float | getVelocity () const |
| |
|
bool | isEnabled () const |
| |
|
int | readMicroseconds () |
| |
| virtual | ~PeriodicProcess () |
| | Constructeur de PeriodicProcess.
|
| |
| void | enable () |
| | Active le PeriodicProcess.
|
| |
| void | disable () |
| | Désactive le PeriodicProcess.
|
| |
| void | setTimestep (float timestep) |
| | Sélectionne une nouvelle valeur pour timestep.
|
| |
| bool | update () |
| | Execute la méthode process.
|
| |
| bool | isEnabled () const |
| | Vérifie si le PeriodicProcess est activé.
|
| |
| float | getTimestep () const |
| | Retourne la valeur de m_timestep.
|
| |
◆ process()
| void BrushlessMotor::process |
( |
float | timestep | ) |
|
|
protectedvirtual |
Méthode à implémenter obligatoirement pour hériter de PeriodicProcess.
Process est la méthode qui s'exécutera toutes les m_timestep. Il doit donc définir l'action répétitive voulue dans la loop de l'Arduino.
- Paramètres
-
| timestep | Temps écoulé depuis le dernier appel en seconde. |
Implémente PeriodicProcess.
La documentation de cette classe a été générée à partir des fichiers suivants :