YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
MainWindow Class Reference

MainWindow class. More...

#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpbatterygui/display.h>

+ Inheritance diagram for MainWindow:

Public Slots

bool getPartActivation (const char *szName)
 function that gets which parts are activated
 
void onTabChangeItem (int)
 Called when a tab has been pressed.
 
void viewModule (yarp::manager::Module *)
 Load the Module on the MainWindow.
 
void viewResource (yarp::manager::Computer *res)
 Load the Resource on the MainWindow.
 
void viewApplication (yarp::manager::Application *app, bool editingMode)
 Load the Application on the MainWindow.
 
void onRemoveApplication (QString, QString)
 
void onRemoveModule (QString)
 
void onRemoveResource (QString)
 
void onReopenApplication (QString, QString)
 
void onReopenModule (QString, QString)
 
void onReopenResource (QString, QString)
 
void onApplicationSelectionChanged ()
 

Signals

void internalQuit ()
 
void internalLoad (QString)
 
void internalPlay ()
 
void internalPause ()
 
void internalStop ()
 
void internalStep (yarp::os::Bottle *reply)
 
void internalSetFrame (const int frameNum)
 
void internalGetFrame (const std::string &name, int *frame)
 
void internalGetSliderPercentage (int *percentage)
 
void selectItem (QString, bool)
 
void sig_enableControlVelocity (bool)
 
void sig_enableControlMixed (bool)
 
void sig_enableControlPositionDirect (bool)
 
void sig_enableControlPWM (bool)
 
void sig_enableControlCurrent (bool)
 
void sig_viewSpeedValues (bool)
 
void sig_viewCurrentValues (bool)
 
void sig_viewMotorPositions (bool)
 
void sig_viewDutyCycles (bool)
 
void sig_setPosSliderOptionMW (int, double, int)
 
void sig_setVelSliderOptionMW (int, double)
 
void sig_setTrqSliderOptionMW (int, double)
 
void sig_viewPositionTargetBox (bool)
 
void sig_viewPositionTargetValue (bool)
 
void sig_internalClose ()
 

Public Member Functions

 MainWindow (const yarp::os::ResourceFinder &rf, yarp::dev::IBattery *ibat, QWidget *parent=0, double refresh_period=10.0)
 
 ~MainWindow ()
 
 MainWindow (yarp::os::ResourceFinder &rf, QWidget *parent=0)
 
 ~MainWindow ()
 
void addPart (const char *szName, const char *type, int frames, const char *portName, const char *szFileName=NULL)
 function that adds a data part to the main window
 
bool setPartProgress (const char *szName, int percentage)
 function that sets the dataset part progress bar
 
bool setInitialPartProgress (const char *szName, int percentage)
 function that sets the initial dataset part progress bar
 
bool getPartPort (const char *szName, QString *dest)
 function that handles individual dataset part ports
 
bool setFrameRate (const char *szName, int frameRate)
 function that sets the frame rate
 
bool setTimeTaken (const char *szName, double time)
 function that sets the time taken
 
void setPlayProgress (int percentage)
 function that sets the play progress bar
 
bool attach (yarp::os::RpcServer &source)
 function that that attaches the rpcServer port for IDL
 
bool step () override
 function that that handles an IDL message - step
 
bool setFrame (const int frameNum) override
 function that handles an IDL message - setFrame
 
int getFrame (const std::string &name) override
 function that handles an IDL message - getFrame
 
bool load (const std::string &path) override
 function that handles an IDL message - load
 
int getSliderPercentage () override
 function that returns slider percentage
 
std::string getStatus () override
 function that returns the player status (playing, paused, stopped)
 
bool play () override
 function that handles an IDL message - play
 
bool pause () override
 function that handles an IDL message - pause
 
bool stop () override
 function that handles an IDL message - stop
 
bool quit () override
 function that handles an IDL message - quit
 
 MainWindow (QWidget *parent=0)
 
 ~MainWindow ()
 
 MainWindow (QWidget *parent=0)
 
void init (yarp::os::Property config)
 Init the application with the current configuration.
 
 ~MainWindow ()
 
void reportErrors ()
 Reports tge error on the log window.
 
 MainWindow (const yarp::os::ResourceFinder &rf, QWidget *parent=0, double refresh_period=0.01)
 
 ~MainWindow ()
 
 MainWindow (QWidget *parent=0)
 
bool init (std::vector< std::string > enabledParts, ResourceFinder &finder, bool debug_param_enabled, bool speedview_param_enabled, bool enable_calib_all)
 
 ~MainWindow ()
 
void term ()
 
 MainWindow (QWidget *parent=0)
 
 ~MainWindow ()
 
void drawGraph (yarp::profiler::graph::Graph &graph)
 
void onProgress (unsigned int percentage) override
 
- Public Member Functions inherited from yarp::os::ResourceFinder
 ResourceFinder ()
 
 ResourceFinder (const ResourceFinder &alt)
 
virtual ~ResourceFinder ()
 
const ResourceFinderoperator= (const ResourceFinder &alt)
 
bool configure (int argc, char *argv[], bool skipFirstArgument=true)
 Sets up the ResourceFinder.
 
bool setDefaultContext (const std::string &contextName)
 Sets the context for the current ResourceFinder object.
 
bool setDefault (const std::string &key, const std::string &val)
 Provide a default value for a given key.
 
bool setDefault (const std::string &key, std::int32_t val)
 Provide a default value for a given key.
 
bool setDefault (const std::string &key, yarp::conf::float64_t val)
 Provide a default value for a given key.
 
bool setDefault (const std::string &key, const yarp::os::Value &val)
 Provide a default value for a given key.
 
bool setDefaultConfigFile (const std::string &fname)
 Provide a default value for the configuration file (can be overridden from command line with the –from argument)
 
std::string findFile (const std::string &name)
 Find the full path to a file.
 
std::string findFileByName (const std::string &name)
 Find the full path to a file.
 
std::string findPath (const std::string &name)
 Expand a partial path to a full path.
 
yarp::os::Bottle findPaths (const std::string &name)
 Expand a partial path to a list of paths.
 
std::string findPath ()
 Find the first existing directory in the search path.
 
std::string getContext ()
 Return the default "context" or "application name" used in searching for configuration files.
 
yarp::os::Bottle getContexts ()
 Return the full stack of contexts used in searching for configuration files.
 
bool check (const std::string &key) const override
 Check if there exists a property of the given name.
 
Valuefind (const std::string &key) const override
 Gets a value corresponding to a given keyword.
 
BottlefindGroup (const std::string &key) const override
 Gets a list corresponding to a given keyword.
 
bool isNull () const override
 Checks if the object is invalid.
 
std::string toString () const override
 Return a standard text representation of the content of the object.
 
virtual ResourceFinder findNestedResourceFinder (const std::string &key)
 Gets a section as a ResourceFinder object, retaining the context and configuration of the current ResourceFinder.
 
bool isConfigured () const
 
std::string getHomeContextPath ()
 Return the path to the "user" context directory for the current context.
 
std::string getHomeRobotPath ()
 Return the path to the "user" robot directory.
 
yarp::os::Bottle findPaths (const std::string &name, const ResourceFinderOptions &options)
 
std::string findPath (const std::string &name, const ResourceFinderOptions &options)
 
std::string findFile (const std::string &name, const ResourceFinderOptions &options)
 
std::string findFileByName (const std::string &name, const ResourceFinderOptions &options)
 
bool readConfig (Property &config, const std::string &key, const ResourceFinderOptions &options)
 
bool setVerbose (bool verbose=true)
 Request that information be printed to the console on how resources are being found.
 
bool setQuiet (bool quiet=true)
 Request that information be suppressed from the console.
 
virtual bool check (const std::string &key) const=0
 Check if there exists a property of the given name.
 
virtual bool check (const std::string &key, const std::string &comment) const
 Check if there exists a property of the given name.
 
virtual bool check (const std::string &key, Value *&result, const std::string &comment="") const
 Gets a value corresponding to a given keyword.
 
virtual Value check (const std::string &key, const Value &fallback, const std::string &comment="") const
 Gets a value corresponding to a given keyword.
 
virtual BottlefindGroup (const std::string &key) const=0
 Gets a list corresponding to a given keyword.
 
BottlefindGroup (const std::string &key, const std::string &comment) const
 Gets a list corresponding to a given keyword.
 
- Public Member Functions inherited from yarp::os::Searchable
 Searchable ()
 Default constructor.
 
 Searchable (const Searchable &rhs)=default
 Copy constructor.
 
 Searchable (Searchable &&rhs) noexcept=default
 Move constructor.
 
virtual ~Searchable ()
 Destructor.
 
Searchableoperator= (const Searchable &rhs)=default
 Copy assignment operator.
 
Searchableoperator= (Searchable &&rhs) noexcept=default
 Move assignment operator.
 
BottlefindGroup (const std::string &key, const std::string &comment) const
 Gets a list corresponding to a given keyword.
 
- Public Member Functions inherited from yarpdataplayer_IDL
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion ()
 
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion ()
 
virtual bool checkProtocolVersion ()
 
 yarpdataplayer_IDL ()
 
virtual bool setFrame (const std::int32_t frameNum)
 Sets the frame number to the user desired frame.
 
virtual std::vector< std::string > help (const std::string &functionName="--all")
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection.
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLinkyarp ()
 Get YARP state associated with this object.
 
const yarp::os::WireLinkyarp () const
 Get YARP state associated with this object (const version).
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::profiler::NetworkProfiler::ProgressCallback
virtual ~ProgressCallback ()
 

Public Attributes

yarp::os::Network yarp
 
yarp::dev::IBatteryibat
 
yarp::dev::PolyDriverdrv
 
QGraphicsScene * scene
 
double max_vel_lin = 1
 
double max_vel_theta = 10
 
double cur_vel_lin_x = 0
 
double cur_vel_lin_y = 0
 
double cur_vel_theta = 0
 
double lin_vel_step = 0.05
 
double ang_vel_step = 5
 
std::string portname = "/yarpmobilebasegui:o"
 
yarp::os::Port outputport
 
bool pressed_left = false
 
bool pressed_up = false
 
bool pressed_down = false
 
bool pressed_right = false
 
bool pressed_turn_left = false
 
bool pressed_turn_right = false
 
yarp::dev::MobileBaseVelocity output_data
 

Protected Member Functions

bool updateFrameNumber (int number)
 function that updates the frame number
 
void createUtilities ()
 function that creates utilities
 
void clearUtilities ()
 function that deletes utilities
 
void getFrameCmd (const char *part, int *frame)
 function that gets the frame command
 
void stepFromCommand (yarp::os::Bottle &reply)
 function steps datasets when requeted from terminal
 
void closeEvent (QCloseEvent *event) override
 
void closeEvent (QCloseEvent *) override
 
void keyReleaseEvent (QKeyEvent *e) override
 
void keyPressEvent (QKeyEvent *e) override
 
void closeEvent (QCloseEvent *event) override
 

Protected Attributes

QUtilitiesqutilities
 
std::map< const char *, int > partMap
 
int itr
 
int column
 
bool withExtraTimeCol
 
bool quitFromCmd
 

Friends

class QUtilities
 
class NewApplicationWizard
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::ResourceFinder
static ResourceFindergetResourceFinderSingleton ()
 Access a ResourceFinder singleton whose lifetime will match that of the YARP library.
 

Detailed Description

MainWindow class.

Definition at line 21 of file display.h.

Constructor & Destructor Documentation

◆ MainWindow() [1/7]

MainWindow::MainWindow ( const yarp::os::ResourceFinder rf,
yarp::dev::IBattery ibat,
QWidget *  parent = 0,
double  refresh_period = 10.0 
)
explicit

Definition at line 186 of file display.cpp.

◆ ~MainWindow() [1/7]

MainWindow::~MainWindow ( )

Definition at line 21 of file display.cpp.

◆ MainWindow() [2/7]

MainWindow::MainWindow ( yarp::os::ResourceFinder rf,
QWidget *  parent = 0 
)
explicit

Definition at line 48 of file mainwindow.cpp.

◆ ~MainWindow() [2/7]

MainWindow::~MainWindow ( )

◆ MainWindow() [3/7]

MainWindow::MainWindow ( QWidget *  parent = 0)
explicit

Definition at line 309 of file mainwindow.cpp.

◆ ~MainWindow() [3/7]

MainWindow::~MainWindow ( )

◆ MainWindow() [4/7]

MainWindow::MainWindow ( QWidget *  parent = 0)
explicit

◆ ~MainWindow() [4/7]

MainWindow::~MainWindow ( )

◆ MainWindow() [5/7]

MainWindow::MainWindow ( const yarp::os::ResourceFinder rf,
QWidget *  parent = 0,
double  refresh_period = 0.01 
)
explicit

Definition at line 132 of file display.cpp.

◆ ~MainWindow() [5/7]

MainWindow::~MainWindow ( )

◆ MainWindow() [6/7]

MainWindow::MainWindow ( QWidget *  parent = 0)
explicit

◆ ~MainWindow() [6/7]

MainWindow::~MainWindow ( )

◆ MainWindow() [7/7]

MainWindow::MainWindow ( QWidget *  parent = 0)
explicit

◆ ~MainWindow() [7/7]

MainWindow::~MainWindow ( )

Member Function Documentation

◆ addPart()

void MainWindow::addPart ( const char szName,
const char type,
int  frames,
const char portName,
const char szFileName = NULL 
)

function that adds a data part to the main window

Definition at line 646 of file mainwindow.cpp.

◆ attach()

bool MainWindow::attach ( yarp::os::RpcServer source)

function that that attaches the rpcServer port for IDL

Definition at line 144 of file mainwindow.cpp.

◆ clearUtilities()

void MainWindow::clearUtilities ( )
protected

function that deletes utilities

Definition at line 477 of file mainwindow.cpp.

◆ closeEvent() [1/3]

void MainWindow::closeEvent ( QCloseEvent *  )
overrideprotected

◆ closeEvent() [2/3]

void MainWindow::closeEvent ( QCloseEvent event)
overrideprotected

Definition at line 502 of file mainwindow.cpp.

◆ closeEvent() [3/3]

void MainWindow::closeEvent ( QCloseEvent event)
overrideprotected

◆ createUtilities()

void MainWindow::createUtilities ( )
protected

function that creates utilities

Definition at line 464 of file mainwindow.cpp.

◆ drawGraph()

void MainWindow::drawGraph ( yarp::profiler::graph::Graph graph)

Definition at line 132 of file MainWindow.cpp.

◆ getFrame()

int MainWindow::getFrame ( const std::string &  name)
overridevirtual

function that handles an IDL message - getFrame

Reimplemented from yarpdataplayer_IDL.

Definition at line 183 of file mainwindow.cpp.

◆ getFrameCmd()

void MainWindow::getFrameCmd ( const char part,
int frame 
)
protected

function that gets the frame command

Definition at line 350 of file mainwindow.cpp.

◆ getPartActivation

bool MainWindow::getPartActivation ( const char szName)
slot

function that gets which parts are activated

Definition at line 486 of file mainwindow.cpp.

◆ getPartPort()

bool MainWindow::getPartPort ( const char szName,
QString dest 
)

function that handles individual dataset part ports

Definition at line 1068 of file mainwindow.cpp.

◆ getSliderPercentage()

int MainWindow::getSliderPercentage ( )
overridevirtual

function that returns slider percentage

Reimplemented from yarpdataplayer_IDL.

Definition at line 201 of file mainwindow.cpp.

◆ getStatus()

std::string MainWindow::getStatus ( )
overridevirtual

function that returns the player status (playing, paused, stopped)

Reimplemented from yarpdataplayer_IDL.

Definition at line 219 of file mainwindow.cpp.

◆ init() [1/2]

bool MainWindow::init ( std::vector< std::string >  enabledParts,
ResourceFinder finder,
bool  debug_param_enabled,
bool  speedview_param_enabled,
bool  enable_calib_all 
)

Definition at line 592 of file mainwindow.cpp.

◆ init() [2/2]

void MainWindow::init ( yarp::os::Property  config)

Init the application with the current configuration.

Parameters
configthe configuration

Definition at line 207 of file mainwindow.cpp.

◆ internalGetFrame

void MainWindow::internalGetFrame ( const std::string &  name,
int *  frame 
)
signal

◆ internalGetSliderPercentage

void MainWindow::internalGetSliderPercentage ( int *  percentage)
signal

◆ internalLoad

void MainWindow::internalLoad ( QString  )
signal

◆ internalPause

void MainWindow::internalPause ( )
signal

◆ internalPlay

void MainWindow::internalPlay ( )
signal

◆ internalQuit

void MainWindow::internalQuit ( )
signal

◆ internalSetFrame

void MainWindow::internalSetFrame ( const int  frameNum)
signal

◆ internalStep

void MainWindow::internalStep ( yarp::os::Bottle reply)
signal

◆ internalStop

void MainWindow::internalStop ( )
signal

◆ keyPressEvent()

void MainWindow::keyPressEvent ( QKeyEvent *  e)
overrideprotected

Definition at line 55 of file display.cpp.

◆ keyReleaseEvent()

void MainWindow::keyReleaseEvent ( QKeyEvent *  e)
overrideprotected

Definition at line 42 of file display.cpp.

◆ load()

bool MainWindow::load ( const std::string &  path)
overridevirtual

function that handles an IDL message - load

Reimplemented from yarpdataplayer_IDL.

Definition at line 234 of file mainwindow.cpp.

◆ onApplicationSelectionChanged

void MainWindow::onApplicationSelectionChanged ( )
slot

Definition at line 1431 of file mainwindow.cpp.

◆ onProgress()

void MainWindow::onProgress ( unsigned int  percentage)
overridevirtual

Reimplemented from yarp::profiler::NetworkProfiler::ProgressCallback.

Definition at line 125 of file MainWindow.cpp.

◆ onRemoveApplication

void MainWindow::onRemoveApplication ( QString  xmlFile,
QString  appName 
)
slot

Definition at line 1390 of file mainwindow.cpp.

◆ onRemoveModule

void MainWindow::onRemoveModule ( QString  modName)
slot

Definition at line 1405 of file mainwindow.cpp.

◆ onRemoveResource

void MainWindow::onRemoveResource ( QString  resName)
slot

Definition at line 1418 of file mainwindow.cpp.

◆ onReopenApplication

void MainWindow::onReopenApplication ( QString  appName,
QString  fileName 
)
slot

Definition at line 1397 of file mainwindow.cpp.

◆ onReopenModule

void MainWindow::onReopenModule ( QString  modName,
QString  fileName 
)
slot

Definition at line 1411 of file mainwindow.cpp.

◆ onReopenResource

void MainWindow::onReopenResource ( QString  resName,
QString  fileName 
)
slot

Definition at line 1424 of file mainwindow.cpp.

◆ onTabChangeItem

void MainWindow::onTabChangeItem ( int  index)
slot

Called when a tab has been pressed.

Parameters
indexthe index of the tab

Definition at line 927 of file mainwindow.cpp.

◆ pause()

bool MainWindow::pause ( )
overridevirtual

function that handles an IDL message - pause

Reimplemented from yarpdataplayer_IDL.

Definition at line 286 of file mainwindow.cpp.

◆ play()

bool MainWindow::play ( )
overridevirtual

function that handles an IDL message - play

Reimplemented from yarpdataplayer_IDL.

Definition at line 273 of file mainwindow.cpp.

◆ quit()

bool MainWindow::quit ( )
overridevirtual

function that handles an IDL message - quit

Reimplemented from yarpdataplayer_IDL.

Definition at line 312 of file mainwindow.cpp.

◆ reportErrors()

void MainWindow::reportErrors ( )

Reports tge error on the log window.

Definition at line 375 of file mainwindow.cpp.

◆ selectItem

void MainWindow::selectItem ( QString  ,
bool   
)
signal

◆ setFrame()

bool MainWindow::setFrame ( const int  frameNum)
override

function that handles an IDL message - setFrame

Definition at line 170 of file mainwindow.cpp.

◆ setFrameRate()

bool MainWindow::setFrameRate ( const char szName,
int  frameRate 
)

function that sets the frame rate

Definition at line 1084 of file mainwindow.cpp.

◆ setInitialPartProgress()

bool MainWindow::setInitialPartProgress ( const char szName,
int  percentage 
)

function that sets the initial dataset part progress bar

Definition at line 680 of file mainwindow.cpp.

◆ setPartProgress()

bool MainWindow::setPartProgress ( const char szName,
int  percentage 
)

function that sets the dataset part progress bar

Definition at line 698 of file mainwindow.cpp.

◆ setPlayProgress()

void MainWindow::setPlayProgress ( int  percentage)

function that sets the play progress bar

Definition at line 1110 of file mainwindow.cpp.

◆ setTimeTaken()

bool MainWindow::setTimeTaken ( const char szName,
double  time 
)

function that sets the time taken

Definition at line 1097 of file mainwindow.cpp.

◆ sig_enableControlCurrent

void MainWindow::sig_enableControlCurrent ( bool  )
signal

◆ sig_enableControlMixed

void MainWindow::sig_enableControlMixed ( bool  )
signal

◆ sig_enableControlPositionDirect

void MainWindow::sig_enableControlPositionDirect ( bool  )
signal

◆ sig_enableControlPWM

void MainWindow::sig_enableControlPWM ( bool  )
signal

◆ sig_enableControlVelocity

void MainWindow::sig_enableControlVelocity ( bool  )
signal

◆ sig_internalClose

void MainWindow::sig_internalClose ( )
signal

◆ sig_setPosSliderOptionMW

void MainWindow::sig_setPosSliderOptionMW ( int  ,
double  ,
int   
)
signal

◆ sig_setTrqSliderOptionMW

void MainWindow::sig_setTrqSliderOptionMW ( int  ,
double   
)
signal

◆ sig_setVelSliderOptionMW

void MainWindow::sig_setVelSliderOptionMW ( int  ,
double   
)
signal

◆ sig_viewCurrentValues

void MainWindow::sig_viewCurrentValues ( bool  )
signal

◆ sig_viewDutyCycles

void MainWindow::sig_viewDutyCycles ( bool  )
signal

◆ sig_viewMotorPositions

void MainWindow::sig_viewMotorPositions ( bool  )
signal

◆ sig_viewPositionTargetBox

void MainWindow::sig_viewPositionTargetBox ( bool  )
signal

◆ sig_viewPositionTargetValue

void MainWindow::sig_viewPositionTargetValue ( bool  )
signal

◆ sig_viewSpeedValues

void MainWindow::sig_viewSpeedValues ( bool  )
signal

◆ step()

bool MainWindow::step ( )
overridevirtual

function that that handles an IDL message - step

Reimplemented from yarpdataplayer_IDL.

Definition at line 150 of file mainwindow.cpp.

◆ stepFromCommand()

void MainWindow::stepFromCommand ( yarp::os::Bottle reply)
protected

function steps datasets when requeted from terminal

Definition at line 362 of file mainwindow.cpp.

◆ stop()

bool MainWindow::stop ( )
overridevirtual

function that handles an IDL message - stop

Reimplemented from yarpdataplayer_IDL.

Definition at line 299 of file mainwindow.cpp.

◆ term()

void MainWindow::term ( )

Definition at line 369 of file mainwindow.cpp.

◆ updateFrameNumber()

bool MainWindow::updateFrameNumber ( int  number)
protected

function that updates the frame number

Definition at line 328 of file mainwindow.cpp.

◆ viewApplication

void MainWindow::viewApplication ( yarp::manager::Application app,
bool  editingMode 
)
slot

Load the Application on the MainWindow.

Parameters
appthe Application

Definition at line 622 of file mainwindow.cpp.

◆ viewModule

void MainWindow::viewModule ( yarp::manager::Module module)
slot

Load the Module on the MainWindow.

Parameters
modulethe module

Definition at line 604 of file mainwindow.cpp.

◆ viewResource

void MainWindow::viewResource ( yarp::manager::Computer res)
slot

Load the Resource on the MainWindow.

Parameters
resthe resource

Definition at line 586 of file mainwindow.cpp.

Friends And Related Symbol Documentation

◆ NewApplicationWizard

friend class NewApplicationWizard
friend

Definition at line 32 of file mainwindow.h.

◆ QUtilities

friend class QUtilities
friend

Definition at line 41 of file mainwindow.h.

Member Data Documentation

◆ ang_vel_step

double MainWindow::ang_vel_step = 5

Definition at line 66 of file display.h.

◆ column

int MainWindow::column
protected

Definition at line 202 of file mainwindow.h.

◆ cur_vel_lin_x

double MainWindow::cur_vel_lin_x = 0

Definition at line 62 of file display.h.

◆ cur_vel_lin_y

double MainWindow::cur_vel_lin_y = 0

Definition at line 63 of file display.h.

◆ cur_vel_theta

double MainWindow::cur_vel_theta = 0

Definition at line 64 of file display.h.

◆ drv

yarp::dev::PolyDriver* MainWindow::drv

Definition at line 36 of file display.h.

◆ ibat

yarp::dev::IBattery* MainWindow::ibat

Definition at line 35 of file display.h.

◆ itr

int MainWindow::itr
protected

Definition at line 201 of file mainwindow.h.

◆ lin_vel_step

double MainWindow::lin_vel_step = 0.05

Definition at line 65 of file display.h.

◆ max_vel_lin

double MainWindow::max_vel_lin = 1

Definition at line 60 of file display.h.

◆ max_vel_theta

double MainWindow::max_vel_theta = 10

Definition at line 61 of file display.h.

◆ output_data

yarp::dev::MobileBaseVelocity MainWindow::output_data

Definition at line 90 of file display.h.

◆ outputport

yarp::os::Port MainWindow::outputport

Definition at line 83 of file display.h.

◆ partMap

std::map<const char*,int> MainWindow::partMap
protected

Definition at line 200 of file mainwindow.h.

◆ portname

std::string MainWindow::portname = "/yarpmobilebasegui:o"

Definition at line 67 of file display.h.

◆ pressed_down

bool MainWindow::pressed_down = false

Definition at line 86 of file display.h.

◆ pressed_left

bool MainWindow::pressed_left = false

Definition at line 84 of file display.h.

◆ pressed_right

bool MainWindow::pressed_right = false

Definition at line 87 of file display.h.

◆ pressed_turn_left

bool MainWindow::pressed_turn_left = false

Definition at line 88 of file display.h.

◆ pressed_turn_right

bool MainWindow::pressed_turn_right = false

Definition at line 89 of file display.h.

◆ pressed_up

bool MainWindow::pressed_up = false

Definition at line 85 of file display.h.

◆ quitFromCmd

bool MainWindow::quitFromCmd
protected

Definition at line 204 of file mainwindow.h.

◆ qutilities

QUtilities* MainWindow::qutilities
protected

Definition at line 198 of file mainwindow.h.

◆ scene

QGraphicsScene* MainWindow::scene

Definition at line 37 of file display.h.

◆ withExtraTimeCol

bool MainWindow::withExtraTimeCol
protected

Definition at line 203 of file mainwindow.h.

◆ yarp

yarp::os::Network MainWindow::yarp

Definition at line 34 of file display.h.


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