Description

Collaboration diagram for Utility classes:

Classes

class  chrono::vehicle::ChAdaptiveSpeedController
 Data collection from the speed controller can be started (restarted) and suspended (stopped) as many times as desired. More...
 
class  chrono::vehicle::ChSpeedController
 Data collection from the speed controller can be started (restarted) and suspended (stopped) as many times as desired. More...
 
class  chrono::vehicle::ChSteeringController
 Base class for all steering path-following PID controllers. More...
 
class  chrono::vehicle::ChPathSteeringController
 Path-following steering PID controller. More...
 
class  chrono::vehicle::ChPathSteeringControllerXT
 Path-following steering 3(2) channel PDT1/PT1 controller. More...
 
class  chrono::vehicle::ChPathSteeringControllerSR
 Path-following steering P-like controller with variable path prediction. More...
 
class  chrono::vehicle::ChPathSteeringControllerStanley
 "Stanley" path-following ontroller named after an autonomous vehicle called Stanley. More...
 
class  chrono::vehicle::ChVehicleVisualSystemIrrlicht
 custom event receiver for chase-cam control More...
 

Functions

 chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChVehicleVisualSystemIrrlicht ()
 Construct a vehicle Irrlicht visualization system.
 
virtual void chrono::vehicle::ChVehicleVisualSystemIrrlicht::AttachVehicle (vehicle::ChVehicle *vehicle) override
 Attach a vehicle to this Irrlicht vehicle visualization system.
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::SetHUDLocation (int HUD_x, int HUD_y)
 Set the upper-left point of HUD elements.
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::EnableStats (bool val)
 Turn on/off rendering of stats (HUD).
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::EnableSound (bool sound)
 Turn on/off Irrklang sound generation. More...
 
virtual void chrono::vehicle::ChVehicleVisualSystemIrrlicht::Initialize () override
 Initialize the visualization system. More...
 
virtual void chrono::vehicle::ChVehicleVisualSystemIrrlicht::Render () override
 Render the Irrlicht scene and additional visual elements.
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::RenderGrid (const ChVector<> &loc, int num_divs, double delta)
 Render a horizontal grid at the specified location.
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::RenderFrame (const ChFrame<> &frame, double axis_length=1)
 Render the specified reference frame.
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::Advance (double step)
 Advance the dynamics of the chase camera. More...
 
virtual void chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderOtherGraphics ()
 Render additional graphics.
 
virtual void chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderOtherStats (int left, int top)
 Render additional vehicle information.
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderLinGauge (const std::string &msg, double factor, bool sym, int xpos, int ypos, int length=120, int height=15)
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderTextBox (const std::string &msg, int xpos, int ypos, int length=120, int height=15, irr::video::SColor color=irr::video::SColor(255, 20, 20, 20))
 
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderStats ()
 

Variables

ChChaseCameraEventReceiver * chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_camera_control
 event receiver for chase-cam control
 
bool chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_renderStats
 turn on/off rendering of stats
 
int chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_HUD_x
 x-coordinate of upper-left corner of HUD elements
 
int chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_HUD_y
 y-coordinate of upper-left corner of HUD elements
 

Friends

class chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChChaseCameraEventReceiver
 
class chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChIrrGuiDriver
 
class chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChIrrGuiDriverSTR
 

Function Documentation

◆ Advance()

void chrono::vehicle::ChVehicleVisualSystemIrrlicht::Advance ( double  step)

Advance the dynamics of the chase camera.

The integration of the underlying ODEs is performed using as many steps as needed to advance by the specified duration.

◆ EnableSound()

void chrono::vehicle::ChVehicleVisualSystemIrrlicht::EnableSound ( bool  sound)

Turn on/off Irrklang sound generation.

Note that this has an effect only if Irrklang support was enabled at configuration.

◆ Initialize()

void chrono::vehicle::ChVehicleVisualSystemIrrlicht::Initialize ( )
overridevirtual

Initialize the visualization system.

This creates the Irrlicht device using the current values for the optional device parameters.

Reimplemented from chrono::irrlicht::ChVisualSystemIrrlicht.