|
bitsim
Model, simulate, estimate and control robots in C++
|
Classes | |
| struct | SteadyState |
| struct | Joint |
| class | MotorisedJoint |
| struct | HoldResult |
| class | PIController |
| A PI controller whose output is limited to [-limit, limit], with anti-windup and a feedforward term. More... | |
Typedefs | |
| using | real_t |
| real_t | |
Functions | |
| real_t | clean (real_t x) |
| void | motor_constants (const BLDCMotorParameters &m) |
| void | step_response (const BLDCMotorParameters &m) |
| void | commutation_table () |
| SteadyState | run_three_phase (const BLDCMotorParameters &m, real_t T_load, real_t hall_offset) |
| void | three_phase_model (const BLDCMotorParameters &m) |
| void | speed_control (const BLDCMotorParameters &m) |
| HoldResult | lift_the_arm (const BLDCMotorParameters &m, const Joint &joint, real_t target, real_t ki, bool verbose) |
| void | motor_in_a_joint (const BLDCMotorParameters &m) |
| void | draw_ring (chrono::irrlicht::ChVisualSystemIrrlicht &vis, const ChFrame<> &frame, real_t radius, const chrono::ChColor &color) |
| void | draw_motor (chrono::irrlicht::ChVisualSystemIrrlicht &vis, const ChFrame<> &frame, real_t theta_e, const PhasePair &pair) |
| void | render (const BLDCMotorParameters &m) |
| void | print_title (const std::string &title, std::ostream &out) |
| An empty line and then the title. | |
| void | print_value (const std::string &label, real_t value, const std::string &unit, int precision=3, int width=30) |
| The label, the value right-aligned with the given decimals, and the unit. | |
Variables | |
| const real_t | DEG = chrono::CH_DEG_TO_RAD |
| const real_t | PI = bitsim::consts::maths::PI |
| const real_t | RPM = 60.0 / (2.0 * PI) |
| const std::array< char, 3 > | PHASE_NAMES {'a', 'b', 'c'} |
| using bitsim::real_t |
| void bldc_motor::commutation_table | ( | ) |
| void bldc_motor::draw_motor | ( | chrono::irrlicht::ChVisualSystemIrrlicht & | vis, |
| const ChFrame<> & | frame, | ||
| real_t | theta_e, | ||
| const PhasePair & | pair ) |
| void bldc_motor::draw_ring | ( | chrono::irrlicht::ChVisualSystemIrrlicht & | vis, |
| const ChFrame<> & | frame, | ||
| real_t | radius, | ||
| const chrono::ChColor & | color ) |
| HoldResult bldc_motor::lift_the_arm | ( | const BLDCMotorParameters & | m, |
| const Joint & | joint, | ||
| real_t | target, | ||
| real_t | ki, | ||
| bool | verbose ) |
| void bldc_motor::motor_constants | ( | const BLDCMotorParameters & | m | ) |
| void bldc_motor::motor_in_a_joint | ( | const BLDCMotorParameters & | m | ) |
| void bitsim::utils::io::print_title | ( | const std::string & | title, |
| std::ostream & | out ) |
An empty line and then the title.
| void bitsim::utils::io::print_value | ( | const std::string & | label, |
| real_t | value, | ||
| const std::string & | unit, | ||
| int | precision = 3, | ||
| int | width = 30 ) |
The label, the value right-aligned with the given decimals, and the unit.
| void bldc_motor::render | ( | const BLDCMotorParameters & | m | ) |
| SteadyState bldc_motor::run_three_phase | ( | const BLDCMotorParameters & | m, |
| real_t | T_load, | ||
| real_t | hall_offset ) |
| void bldc_motor::speed_control | ( | const BLDCMotorParameters & | m | ) |
| void bldc_motor::step_response | ( | const BLDCMotorParameters & | m | ) |
| void bldc_motor::three_phase_model | ( | const BLDCMotorParameters & | m | ) |
| const real_t bldc_motor::DEG = chrono::CH_DEG_TO_RAD |
| const std::array<char, 3> bldc_motor::PHASE_NAMES {'a', 'b', 'c'} |
| const real_t bldc_motor::PI = bitsim::consts::maths::PI |