File demo_1_motor.cpp

Copyright

Copyright (c) 2018-2020, New York University and Max Planck Gesellschaft, License BSD-3-Clause

Typedefs

typedef std::tuple<std::shared_ptr<blmc_drivers::MotorInterface>, std::shared_ptr<blmc_drivers::AnalogSensorInterface>> MotorAndSlider

Functions

static THREAD_FUNCTION_RETURN_TYPE control_loop(void *hardware_ptr)
static THREAD_FUNCTION_RETURN_TYPE printing_loop(void *hardware_ptr)
int main(int argc, char **argv)
struct Hardware

Public Members

std::shared_ptr<blmc_drivers::CanBusInterface> can_bus
std::shared_ptr<blmc_drivers::MotorBoardInterface> motor_board
std::shared_ptr<blmc_drivers::MotorInterface> motor
std::shared_ptr<blmc_drivers::AnalogSensorInterface> slider