blmc_drivers
|
This namespace is the standard namespace of the package. More...
Classes | |
class | AnalogSensor |
AnalogSensor class is the implementation of the above interface. More... | |
class | AnalogSensorInterface |
AnalogSensorInterface class is a simple abstract interface for using blmc analog measurements. More... | |
class | CanBus |
CanBus is the implementation of the CanBusInterface. More... | |
class | CanBusConnection |
CanBusConnection is a data structure that contains the hardware details for the connection between to can cards. More... | |
class | CanBusFrame |
CanBusFrame is a class that contains a fixed sized amount of data to be send or received via the can bus. More... | |
class | CanBusInterface |
CanBusInterface is an abstract class that defines an API for the communication via Can bus. More... | |
class | CanBusMotorBoard |
This class CanBusMotorBoard implements a MotorBoardInterface specific to CAN networks. More... | |
class | ConstTorqueControl |
This is a basic PD controller to be used in the demos of this package. More... | |
class | DeviceInterface |
this class exists purely for logical reasons, it does not in itself implement anything. More... | |
class | Leg |
The leg class is the implementation of the LegInterface. More... | |
class | LegInterface |
This class defines an interface to control a leg. More... | |
class | Motor |
This class implements the MotorInterface. More... | |
class | MotorBoardCommand |
This MotorBoardCommand class is a data structurs that defines a command. More... | |
class | MotorBoardInterface |
MotorBoardInterface declares an API to inacte with a MotorBoard. More... | |
class | MotorBoardStatus |
This class represent a 8 bits message that describe the state (enable/disabled) of the card and the two motors. More... | |
class | MotorInterface |
This class declares an interface to the motor. More... | |
class | PDController |
This is a basic PD controller to be used in the demos of this package. More... | |
class | SafeMotor |
This class is a safe implementation of the Motor class. More... | |
class | SerialReader |
class | SinePositionControl |
This is a basic PD controller to be used in the demos of this package. More... | |
class | SineTorqueControl |
This is a basic PD controller to be used in the demos of this package. More... | |
class | SpiBus |
class | SpiMotorBoard |
Typedefs | |
typedef std::shared_ptr< blmc_drivers::SafeMotor > | SafeMotor_ptr |
This is a simple shortcut. | |
typedef std::shared_ptr< blmc_drivers::AnalogSensor > | Slider_ptr |
This is a simple shortcut. | |
typedef std::pair< SafeMotor_ptr, Slider_ptr > | PairMotorSlider |
This is a simple shortcut. | |
Functions | |
template<typename Type > | |
std::vector< std::shared_ptr< Type > > | create_vector_of_pointers (const size_t &size, const size_t &length) |
Create a vector of pointers. More... | |
This namespace is the standard namespace of the package.
std::vector<std::shared_ptr<Type> > blmc_drivers::create_vector_of_pointers | ( | const size_t & | size, |
const size_t & | length | ||
) |
Create a vector of pointers.
Type | of the data |
size | is number of pointers to be created. |
length | is the dimension of the data arrays. |