Ignore:
Timestamp:
01/03/13 15:32:03 (12 years ago)
Author:
wcaarls
Message:

Updated extremum_seeking to revision 1177

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extremum_seeking/esc_ros/include/esc_ros/esc_ros.h

    r11 r19  
    1616#include <std_msgs/Float32.h>
    1717#include <std_msgs/Float32MultiArray.h>
     18#include <std_msgs/Bool.h>
     19#include <std_msgs/Empty.h>
    1820#include <esc_common/esc.h>
    1921#include <string>
     
    2426protected:
    2527        ESC* esc_;
    26         ros::Publisher pub_ref_, pub_monitor_;
    27         ros::Subscriber sub_obj_val_;
     28        ros::Publisher pub_ref_, pub_monitor_, pub_stopped_;
     29        ros::Subscriber sub_obj_val_, sub_enable_;
    2830        ros::NodeHandle* n_;
    2931        double obj_val_;
    3032        std::vector<double> state_vec_;
    31         bool initialized_, monitor_, first_obj_val_received_;
     33        bool initialized_, monitor_, first_obj_val_received_,enabled_, reference_zeroed_;
    3234        double period_;
     35        unsigned int opt_dim_;
    3336
    3437public:
     
    3740        virtual void step();
    3841        virtual void spin();
     42        virtual void reset();
     43        virtual void enableCallback(std_msgs::Bool msg);
    3944        virtual ~ESCROS(){};
    4045protected:
Note: See TracChangeset for help on using the changeset viewer.