chrono::vehicle::ChDriverInputsCallback Class Referenceabstract

Description

Callback class for specifying driver inputs at a specified time.

#include <ChWheeledVehicleAssembly.h>

Public Member Functions

virtual void onCallback (double time, double &throttle, double &steering, double &braking)=0
 A derived class must implement the function onCallback() which must return the throttle, steering, and braking driver inputs at the specified time. More...
 

Member Function Documentation

virtual void chrono::vehicle::ChDriverInputsCallback::onCallback ( double  time,
double &  throttle,
double &  steering,
double &  braking 
)
pure virtual

A derived class must implement the function onCallback() which must return the throttle, steering, and braking driver inputs at the specified time.

Parameters
timecurrent time
[out]throttlethrottle driver input
[out]steeringsteering driver input
[out]brakingbraking driver input