chrono::viper::ViperDirectControl Class Reference
Description
Viper Direct Control Driver.
This driver allows direct control of the drive speeds, steer angles, and lift angles for all wheels individually.
#include <Viper.h>
Inheritance diagram for chrono::viper::ViperDirectControl:

Collaboration diagram for chrono::viper::ViperDirectControl:

Public Member Functions | |
void | SetDirectControl (std::array< double, 4 > m_drive_speeds, std::array< double, 4 > m_steer_angles, std::array< double, 4 > m_lift_angles) |
Set Direct control of drive speeds, steer angles, and lift angles. | |
![]() | |
void | SetSteering (double angle) |
Set current steering input (angle: negative for left, positive for right). | |
void | SetSteering (double angle, ViperWheelID id) |
Set current steering input (angle: negative for left turn, positive for right turn). More... | |
void | SetLifting (double angle) |
Set current lift input angle. More... | |
Additional Inherited Members | |
![]() | |
enum | DriveMotorType { DriveMotorType::SPEED, DriveMotorType::TORQUE } |
Type of drive motor control. More... | |
![]() | |
Viper * | viper |
associated Viper rover | |
std::array< double, 4 > | drive_speeds |
angular speeds for drive motors | |
std::array< double, 4 > | steer_angles |
angles for steer motors | |
std::array< double, 4 > | lift_angles |
angles for lift motors | |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_models/robot/viper/Viper.h
- /builds/uwsbel/chrono/src/chrono_models/robot/viper/Viper.cpp