PathCreator
A path creator tool for teleoperated navigation.
path_creator_widget::PathCreatorWidget Class Reference

#include <PathCreatorWidget.hpp>

Inheritance diagram for path_creator_widget::PathCreatorWidget:
Inheritance graph

Signals

void haveNewPath (navigation_msgs::PathLocalGuidance newPath)
 

Public Member Functions

 PathCreatorWidget (QWidget *parent=nullptr)
 
 ~PathCreatorWidget () override=default
 
bool eventFilter (QObject *target, QEvent *event) override
 

Protected Slots

virtual void buttonAddInitialNodePair ()
 
virtual void buttonAddNode ()
 
virtual void buttonAddNumNodes ()
 
virtual void buttonAutoOrientation ()
 
virtual void buttonCreatePathTxt ()
 
virtual void buttonGlobalMode ()
 
virtual void buttonLoadPathTxt ()
 
virtual void buttonRemoveNode ()
 
virtual void buttonRemoveAllNodes ()
 
virtual void buttonSnapToMap (bool checked)
 
virtual void buttonSetPath ()
 
virtual void buttonRevert ()
 
virtual void buttonLegend ()
 
virtual void lineEditFrameId ()
 
virtual void lineEditStoragePathFileExists (const QString &filePath)
 
virtual void checkBoxShowAdvancedOptions (int isChecked)
 
virtual void radioButtonMoveSingle (bool checked)
 
virtual void radioButtonMoveMultiple (bool checked)
 
virtual void updatePushAddNumNodesAppendTo (int value)
 
virtual void updatePushAddNumNodesN (int value)
 

Private Member Functions

bool toggleProcessFeedbackCallback (std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
 
void populateLegendTable ()
 
bool updateColorMap ()
 
void populateGlobalModeMenu ()
 
int colorValueToInt (double value)
 

Private Attributes

Ui::PathCreatorWidget ui_
 
ros::NodeHandle nh_
 
ros::ServiceServer toggleProcessFeedbackServer_
 
ros::ServiceClient addInitialNodePairService_
 
ros::ServiceClient addNodeService_
 
ros::ServiceClient addNumNodesService_
 
ros::ServiceClient autoSetOrientationService_
 
ros::ServiceClient removeNodeService_
 
ros::ServiceClient removeAllNodesService_
 
ros::ServiceClient storeToTxtFileService_
 
ros::ServiceClient loadFromTxtFileService_
 
ros::ServiceClient setGlobalModeService_
 
ros::ServiceClient setNewPathService_
 
ros::ServiceClient snapToMapService_
 
ros::ServiceClient resetSnapToMapService_
 
ros::ServiceClient toggleProcessFeedbackService_
 
ros::ServiceClient revertService_
 
ros::ServiceClient getNodePoseService_
 
ros::ServiceClient getLocalGuidanceToColorMapService_
 
ros::Publisher goalPosePublisher_
 
std::map< std::string, std_msgs::ColorRGBA > localGuidanceModeToColorMap_
 

Constructor & Destructor Documentation

path_creator_widget::PathCreatorWidget::PathCreatorWidget ( QWidget *  parent = nullptr)
explicit
path_creator_widget::PathCreatorWidget::~PathCreatorWidget ( )
overridedefault

Member Function Documentation

virtual void path_creator_widget::PathCreatorWidget::buttonAddInitialNodePair ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonAddNode ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonAddNumNodes ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonAutoOrientation ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonCreatePathTxt ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonGlobalMode ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonLegend ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonLoadPathTxt ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonRemoveAllNodes ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonRemoveNode ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonRevert ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonSetPath ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::buttonSnapToMap ( bool  checked)
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::checkBoxShowAdvancedOptions ( int  isChecked)
protectedvirtualslot
int path_creator_widget::PathCreatorWidget::colorValueToInt ( double  value)
inlineprivate
bool path_creator_widget::PathCreatorWidget::eventFilter ( QObject *  target,
QEvent *  event 
)
override
void path_creator_widget::PathCreatorWidget::haveNewPath ( navigation_msgs::PathLocalGuidance  newPath)
signal
virtual void path_creator_widget::PathCreatorWidget::lineEditFrameId ( )
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::lineEditStoragePathFileExists ( const QString &  filePath)
protectedvirtualslot
void path_creator_widget::PathCreatorWidget::populateGlobalModeMenu ( )
private
void path_creator_widget::PathCreatorWidget::populateLegendTable ( )
private
virtual void path_creator_widget::PathCreatorWidget::radioButtonMoveMultiple ( bool  checked)
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::radioButtonMoveSingle ( bool  checked)
protectedvirtualslot
bool path_creator_widget::PathCreatorWidget::toggleProcessFeedbackCallback ( std_srvs::SetBool::Request &  req,
std_srvs::SetBool::Response &  res 
)
private
bool path_creator_widget::PathCreatorWidget::updateColorMap ( )
private
virtual void path_creator_widget::PathCreatorWidget::updatePushAddNumNodesAppendTo ( int  value)
protectedvirtualslot
virtual void path_creator_widget::PathCreatorWidget::updatePushAddNumNodesN ( int  value)
protectedvirtualslot

Member Data Documentation

ros::ServiceClient path_creator_widget::PathCreatorWidget::addInitialNodePairService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::addNodeService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::addNumNodesService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::autoSetOrientationService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::getLocalGuidanceToColorMapService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::getNodePoseService_
private
ros::Publisher path_creator_widget::PathCreatorWidget::goalPosePublisher_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::loadFromTxtFileService_
private
std::map<std::string, std_msgs::ColorRGBA> path_creator_widget::PathCreatorWidget::localGuidanceModeToColorMap_
private
ros::NodeHandle path_creator_widget::PathCreatorWidget::nh_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::removeAllNodesService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::removeNodeService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::resetSnapToMapService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::revertService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::setGlobalModeService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::setNewPathService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::snapToMapService_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::storeToTxtFileService_
private
ros::ServiceServer path_creator_widget::PathCreatorWidget::toggleProcessFeedbackServer_
private
ros::ServiceClient path_creator_widget::PathCreatorWidget::toggleProcessFeedbackService_
private
Ui::PathCreatorWidget path_creator_widget::PathCreatorWidget::ui_
private

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