chrono::viper::ViperSpeedDriver Class Reference
Description
Concrete Viper speed driver.
This driver applies the same angular speed (ramped from 0 to a prescribed value) to all wheels.
#include <Viper.h>
Inheritance diagram for chrono::viper::ViperSpeedDriver:
Collaboration diagram for chrono::viper::ViperSpeedDriver:
Public Member Functions | |
ViperSpeedDriver (double time_ramp, double speed) | |
Public Member Functions inherited from chrono::viper::ViperDriver | |
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 | |
Public Types inherited from chrono::viper::ViperDriver | |
enum | DriveMotorType { DriveMotorType::SPEED, DriveMotorType::TORQUE } |
Type of drive motor control. More... | |
Protected Attributes inherited from chrono::viper::ViperDriver | |
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