Macros | Functions

deprecated drive features More...

Macros

#define kDriveDistanceTotal
 deprecated constant: see kDriveGetDistanceTotal
 
#define kDriveDistanceSpeed
 deprecated constant: see kDriveGetDistanceSpeed
 
#define kDriveAngleTotal
 deprecated constant: see kDriveGetAngleTotal
 
#define kDriveAngleSpeed
 deprecated constant: see kDriveGetAngleSpeed
 
#define kDriveAdjustTangential
 deprecated constant: see kDriveGetAdjustTangential
 
#define kDriveAdjustAngular
 deprecated constant: see kDriveGetAdjustAngular
 
#define kDriveArcRadius
 deprecated constant: see kDriveGetArcRadius
 
#define kDriveArcSpeed
 deprecated constant: see kDriveGetArcSpeed
 
#define kDrivePositionDistance
 deprecated constant: see kDriveGetPositionDistance
 
#define kDrivePositionAngle
 deprecated constant: see kDriveGetPositionAngle
 
#define kDriveSpeedDistance
 deprecated constant: see kDriveGetSpeedDistance
 
#define kDriveSpeedAngle
 deprecated constant: see kDriveGetSpeedAngle
 

Functions

uint8_t drive_command_get (void)
 Returns the last stored value of the drive command. More...
 
uint8_t drive_error_get (void)
 Returns the last stored value of the drive error. More...
 

Detailed Description

deprecated drive features

Function Documentation

◆ drive_command_get()

uint8_t drive_command_get ( void  )

Returns the last stored value of the drive command.

Function is deprecated!

Internal conversion:

uint8_t drive_command_get() {

    return (uint8_t) drive_get(kDriveGetCommand);
}
See also
drive_get()

◆ drive_error_get()

uint8_t drive_error_get ( void  )

Returns the last stored value of the drive error.

Function is deprecated!

Internal conversion:

uint8_t drive_error_get() {

    return (uint8_t) drive_get(kDriveGetError);
}
See also
drive_get()