ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::apps::PlotEgo Class Reference

a optimzed plotting application to plot map borders, vehicles and environment information and background image satellite footage More...

#include <plot_ego.h>

Collaboration diagram for adore::apps::PlotEgo:
Collaboration graph

Classes

struct  info
 

Public Member Functions

 PlotEgo (DLR_TS::PlotLab::AFigureStub *figure, std::string prefix, int followMode)
 
void setPicture (std::string value)
 
void setMapFigure (DLR_TS::PlotLab::AFigureStub *value)
 
 ~PlotEgo ()
 
void run ()
 
void plotCircle (const std::string &name, double gX, double gY, double R, const std::string &options, DLR_TS::PlotLab::AFigureStub *figure)
 
void plotPosition (const std::string &name, const std::string &vehicle_picture, double gX, double gY, double psi, double delta, double vx, double vy, double omega, double L, double c, double d, double w, double wheel_radius, double wheel_width, const std::string &options, DLR_TS::PlotLab::AFigureStub *figure)
 plotting a vehicle More...
 
void attach_wheel_points (double x, double y, double delta, double wheel_radius, double wheel_width, std::vector< std::pair< double, double >> &points)
 
void attach_vehicle_points2 (double x, double y, double psi, double delta, double vx, double vy, double L, double c, double d, double w, double wheel_radius, double wheel_width, std::vector< std::pair< double, double >> &points)
 

Private Attributes

adore::params::APVehiclepvehicle_
 
adore::mad::AReader< adore::fun::VehicleMotionState9d > * positionReader_
 
adore::mad::AReader< adore::fun::VehicleMotionState9d > * simPositionReader_
 
adore::mad::AReader< adore::fun::VehicleExtendedState > * xxReader_
 
adore::env::AFactory::TNavigationGoalReadergoalReader_
 
adore::fun::VehicleMotionState9d position_
 
adore::fun::VehicleMotionState9d simPosition_
 
adore::fun::VehicleExtendedState extendedState_
 
DLR_TS::PlotLab::AFigureStubfigure_
 
DLR_TS::PlotLab::AFigureStubmap_figure_
 
std::string prefix_
 
std::string vehicle_picture_
 
std::string position_style_
 
std::string target_picture_
 
double fov_width_
 
double fov_height_
 
bool followMode_
 

Detailed Description

a optimzed plotting application to plot map borders, vehicles and environment information and background image satellite footage

Constructor & Destructor Documentation

◆ PlotEgo()

adore::apps::PlotEgo::PlotEgo ( DLR_TS::PlotLab::AFigureStub figure,
std::string  prefix,
int  followMode 
)
inline
Here is the call graph for this function:

◆ ~PlotEgo()

adore::apps::PlotEgo::~PlotEgo ( )
inline

Member Function Documentation

◆ attach_vehicle_points2()

void adore::apps::PlotEgo::attach_vehicle_points2 ( double  x,
double  y,
double  psi,
double  delta,
double  vx,
double  vy,
double  L,
double  c,
double  d,
double  w,
double  wheel_radius,
double  wheel_width,
std::vector< std::pair< double, double >> &  points 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ attach_wheel_points()

void adore::apps::PlotEgo::attach_wheel_points ( double  x,
double  y,
double  delta,
double  wheel_radius,
double  wheel_width,
std::vector< std::pair< double, double >> &  points 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ plotCircle()

void adore::apps::PlotEgo::plotCircle ( const std::string &  name,
double  gX,
double  gY,
double  R,
const std::string &  options,
DLR_TS::PlotLab::AFigureStub figure 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ plotPosition()

void adore::apps::PlotEgo::plotPosition ( const std::string &  name,
const std::string &  vehicle_picture,
double  gX,
double  gY,
double  psi,
double  delta,
double  vx,
double  vy,
double  omega,
double  L,
double  c,
double  d,
double  w,
double  wheel_radius,
double  wheel_width,
const std::string &  options,
DLR_TS::PlotLab::AFigureStub figure 
)
inline

plotting a vehicle

Parameters
namea tag used to id the vehicle
gXx position
gYy position
psiheading
L
c
d
w
optionsdrawing options, cf. plotlablib

TODO fix parameters

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

void adore::apps::PlotEgo::run ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMapFigure()

void adore::apps::PlotEgo::setMapFigure ( DLR_TS::PlotLab::AFigureStub value)
inline
Here is the caller graph for this function:

◆ setPicture()

void adore::apps::PlotEgo::setPicture ( std::string  value)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ extendedState_

adore::fun::VehicleExtendedState adore::apps::PlotEgo::extendedState_
private

◆ figure_

DLR_TS::PlotLab::AFigureStub* adore::apps::PlotEgo::figure_
private

◆ followMode_

bool adore::apps::PlotEgo::followMode_
private

◆ fov_height_

double adore::apps::PlotEgo::fov_height_
private

◆ fov_width_

double adore::apps::PlotEgo::fov_width_
private

◆ goalReader_

adore::env::AFactory::TNavigationGoalReader* adore::apps::PlotEgo::goalReader_
private

◆ map_figure_

DLR_TS::PlotLab::AFigureStub* adore::apps::PlotEgo::map_figure_
private

◆ position_

adore::fun::VehicleMotionState9d adore::apps::PlotEgo::position_
private

◆ position_style_

std::string adore::apps::PlotEgo::position_style_
private

◆ positionReader_

adore::mad::AReader<adore::fun::VehicleMotionState9d>* adore::apps::PlotEgo::positionReader_
private

◆ prefix_

std::string adore::apps::PlotEgo::prefix_
private

◆ pvehicle_

adore::params::APVehicle* adore::apps::PlotEgo::pvehicle_
private

◆ simPosition_

adore::fun::VehicleMotionState9d adore::apps::PlotEgo::simPosition_
private

◆ simPositionReader_

adore::mad::AReader<adore::fun::VehicleMotionState9d>* adore::apps::PlotEgo::simPositionReader_
private

◆ target_picture_

std::string adore::apps::PlotEgo::target_picture_
private

◆ vehicle_picture_

std::string adore::apps::PlotEgo::vehicle_picture_
private

◆ xxReader_

adore::mad::AReader<adore::fun::VehicleExtendedState>* adore::apps::PlotEgo::xxReader_
private

The documentation for this class was generated from the following file: