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 buttonPathFromTravPlanner ()
 
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::ServiceClient getPathFromTravPlannerService_
 
ros::Publisher goalPosePublisher_
 
std::map< std::string, std_msgs::ColorRGBA > localGuidanceModeToColorMap_
 

Constructor & Destructor Documentation

◆ PathCreatorWidget()

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

◆ ~PathCreatorWidget()

path_creator_widget::PathCreatorWidget::~PathCreatorWidget ( )
overridedefault

Member Function Documentation

◆ buttonAddInitialNodePair

virtual void path_creator_widget::PathCreatorWidget::buttonAddInitialNodePair ( )
protectedvirtualslot

◆ buttonAddNode

virtual void path_creator_widget::PathCreatorWidget::buttonAddNode ( )
protectedvirtualslot

◆ buttonAddNumNodes

virtual void path_creator_widget::PathCreatorWidget::buttonAddNumNodes ( )
protectedvirtualslot

◆ buttonAutoOrientation

virtual void path_creator_widget::PathCreatorWidget::buttonAutoOrientation ( )
protectedvirtualslot

◆ buttonCreatePathTxt

virtual void path_creator_widget::PathCreatorWidget::buttonCreatePathTxt ( )
protectedvirtualslot

◆ buttonGlobalMode

virtual void path_creator_widget::PathCreatorWidget::buttonGlobalMode ( )
protectedvirtualslot

◆ buttonLegend

virtual void path_creator_widget::PathCreatorWidget::buttonLegend ( )
protectedvirtualslot

◆ buttonLoadPathTxt

virtual void path_creator_widget::PathCreatorWidget::buttonLoadPathTxt ( )
protectedvirtualslot

◆ buttonPathFromTravPlanner

virtual void path_creator_widget::PathCreatorWidget::buttonPathFromTravPlanner ( )
protectedvirtualslot

◆ buttonRemoveAllNodes

virtual void path_creator_widget::PathCreatorWidget::buttonRemoveAllNodes ( )
protectedvirtualslot

◆ buttonRemoveNode

virtual void path_creator_widget::PathCreatorWidget::buttonRemoveNode ( )
protectedvirtualslot

◆ buttonRevert

virtual void path_creator_widget::PathCreatorWidget::buttonRevert ( )
protectedvirtualslot

◆ buttonSetPath

virtual void path_creator_widget::PathCreatorWidget::buttonSetPath ( )
protectedvirtualslot

◆ buttonSnapToMap

virtual void path_creator_widget::PathCreatorWidget::buttonSnapToMap ( bool  checked)
protectedvirtualslot

◆ checkBoxShowAdvancedOptions

virtual void path_creator_widget::PathCreatorWidget::checkBoxShowAdvancedOptions ( int  isChecked)
protectedvirtualslot

◆ colorValueToInt()

int path_creator_widget::PathCreatorWidget::colorValueToInt ( double  value)
inlineprivate

◆ eventFilter()

bool path_creator_widget::PathCreatorWidget::eventFilter ( QObject *  target,
QEvent *  event 
)
override

◆ haveNewPath

void path_creator_widget::PathCreatorWidget::haveNewPath ( navigation_msgs::PathLocalGuidance  newPath)
signal

◆ lineEditFrameId

virtual void path_creator_widget::PathCreatorWidget::lineEditFrameId ( )
protectedvirtualslot

◆ lineEditStoragePathFileExists

virtual void path_creator_widget::PathCreatorWidget::lineEditStoragePathFileExists ( const QString &  filePath)
protectedvirtualslot

◆ populateGlobalModeMenu()

void path_creator_widget::PathCreatorWidget::populateGlobalModeMenu ( )
private

◆ populateLegendTable()

void path_creator_widget::PathCreatorWidget::populateLegendTable ( )
private

◆ radioButtonMoveMultiple

virtual void path_creator_widget::PathCreatorWidget::radioButtonMoveMultiple ( bool  checked)
protectedvirtualslot

◆ radioButtonMoveSingle

virtual void path_creator_widget::PathCreatorWidget::radioButtonMoveSingle ( bool  checked)
protectedvirtualslot

◆ toggleProcessFeedbackCallback()

bool path_creator_widget::PathCreatorWidget::toggleProcessFeedbackCallback ( std_srvs::SetBool::Request &  req,
std_srvs::SetBool::Response &  res 
)
private

◆ updateColorMap()

bool path_creator_widget::PathCreatorWidget::updateColorMap ( )
private

◆ updatePushAddNumNodesAppendTo

virtual void path_creator_widget::PathCreatorWidget::updatePushAddNumNodesAppendTo ( int  value)
protectedvirtualslot

◆ updatePushAddNumNodesN

virtual void path_creator_widget::PathCreatorWidget::updatePushAddNumNodesN ( int  value)
protectedvirtualslot

Member Data Documentation

◆ addInitialNodePairService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::addInitialNodePairService_
private

◆ addNodeService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::addNodeService_
private

◆ addNumNodesService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::addNumNodesService_
private

◆ autoSetOrientationService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::autoSetOrientationService_
private

◆ getLocalGuidanceToColorMapService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::getLocalGuidanceToColorMapService_
private

◆ getNodePoseService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::getNodePoseService_
private

◆ getPathFromTravPlannerService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::getPathFromTravPlannerService_
private

◆ goalPosePublisher_

ros::Publisher path_creator_widget::PathCreatorWidget::goalPosePublisher_
private

◆ loadFromTxtFileService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::loadFromTxtFileService_
private

◆ localGuidanceModeToColorMap_

std::map<std::string, std_msgs::ColorRGBA> path_creator_widget::PathCreatorWidget::localGuidanceModeToColorMap_
private

◆ nh_

ros::NodeHandle path_creator_widget::PathCreatorWidget::nh_
private

◆ removeAllNodesService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::removeAllNodesService_
private

◆ removeNodeService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::removeNodeService_
private

◆ resetSnapToMapService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::resetSnapToMapService_
private

◆ revertService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::revertService_
private

◆ setGlobalModeService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::setGlobalModeService_
private

◆ setNewPathService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::setNewPathService_
private

◆ snapToMapService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::snapToMapService_
private

◆ storeToTxtFileService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::storeToTxtFileService_
private

◆ toggleProcessFeedbackServer_

ros::ServiceServer path_creator_widget::PathCreatorWidget::toggleProcessFeedbackServer_
private

◆ toggleProcessFeedbackService_

ros::ServiceClient path_creator_widget::PathCreatorWidget::toggleProcessFeedbackService_
private

◆ ui_

Ui::PathCreatorWidget path_creator_widget::PathCreatorWidget::ui_
private

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