DCAITI Robot Hardware  1.0
Static Public Member Functions | List of all members
UCommands Class Reference

#include <UCommands.hpp>

Static Public Member Functions

static void setSetpoint (uint8_t *d, U_Component c)
 sets the desired velocity of a motor More...
 
static void setPIDParameter (uint8_t *d, U_Component c)
 sets the PID parameters More...
 

Member Function Documentation

◆ setPIDParameter()

void UCommands::setPIDParameter ( uint8_t *  d,
U_Component  c 
)
static

sets the PID parameters

handles incoming requests for PID parameters

Parameters
duart data package to read the pid parameters from
cmotor to apply the value to
dpayload
ccomponent
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSetpoint()

void UCommands::setSetpoint ( uint8_t *  d,
U_Component  c 
)
static

sets the desired velocity of a motor

handles incoming requests for motor speed

Parameters
duart data package to read the velocity from
cmotor to apply the value to
dpayload
ccomponent
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: