ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
Public Member Functions | List of all members
arpirobot::BaseAxisTransform Class Referenceabstract

#include <arpirobot/core/drive/BaseAxisTransform.hpp>

Inheritance diagram for arpirobot::BaseAxisTransform:
arpirobot::CubicAxisTransform arpirobot::SquareRootAxisTransform

Public Member Functions

virtual double applyTransform (double rawAxisValue)=0
 

Detailed Description

Base class for axis transforms. Axis transforms take an analog axis value (-1.0 to 1.0) and apply a fixed calculation to modify the curve of the axis.

Axis transforms are most useful with drive control.

Member Function Documentation

◆ applyTransform()

virtual double arpirobot::BaseAxisTransform::applyTransform ( double  rawAxisValue)
pure virtual

Axis transforms should override this function to implement specific calculations.

Implemented in arpirobot::SquareRootAxisTransform, and arpirobot::CubicAxisTransform.


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