diff --git a/rviz_interface/rviz_interface/src/InterfacePanel.cpp b/rviz_interface/rviz_interface/src/InterfacePanel.cpp index 62d08e9..bcbaa51 100644 --- a/rviz_interface/rviz_interface/src/InterfacePanel.cpp +++ b/rviz_interface/rviz_interface/src/InterfacePanel.cpp @@ -104,23 +104,23 @@ void InterfacePanel::updateType(int state) // Save all configuration data from this panel to the given // Config object. It is important here that you call save() // on the parent class so the class id and panel name get saved. -void InterfacePanel::save( rviz::Config config ) const -{ - rviz::Panel::save( config ); - config.mapSetValue( "Error", _max_error ); -} +// void InterfacePanel::save( rviz::Config config ) const +// { +// rviz::Panel::save( config ); +// config.mapSetValue( "Error", _max_error ); +// } -// Load all configuration data for this panel from the given Config object. -void InterfacePanel::load( const rviz::Config& config ) -{ - rviz::Panel::load( config ); - QString error; - if( config.mapGetString( "Error", &error )) - { - _max_error_editor->setText( error ); - updateError(); - } -} +// // Load all configuration data for this panel from the given Config object. +// void InterfacePanel::load( const rviz::Config& config ) +// { +// rviz::Panel::load( config ); +// QString error; +// if( config.mapGetString( "Error", &error )) +// { +// _max_error_editor->setText( error ); +// updateError(); +// } +// } } // end namespace diff --git a/rviz_interface/rviz_interface/src/InterfacePanel.hpp b/rviz_interface/rviz_interface/src/InterfacePanel.hpp index 724306a..c522cb9 100644 --- a/rviz_interface/rviz_interface/src/InterfacePanel.hpp +++ b/rviz_interface/rviz_interface/src/InterfacePanel.hpp @@ -50,8 +50,8 @@ public: // Now we declare overrides of rviz::Panel functions for saving and // loading data from the config file. Here the data is the // topic name. - virtual void load( const rviz::Config& config ); - virtual void save( rviz::Config config ) const; + // virtual void load( const rviz::Config& config ); + // virtual void save( rviz::Config config ) const; // Next come a couple of public Qt slots. public Q_SLOTS: @@ -76,7 +76,7 @@ protected: QCheckBox* _objective_type_editor; // The current name of the output topic. - QString _max_error; + // QString _max_error; // The ROS publisher for the command velocity. ros::Publisher _config_publisher;