37 #ifndef MAVROSFLIGHT_PARAM_MANAGER_H 38 #define MAVROSFLIGHT_PARAM_MANAGER_H 115 #endif // MAVROSFLIGHT_PARAM_MANAGER_H bool save_to_file(std::string filename)
void param_set_timer_callback(const ros::TimerEvent &event)
void register_param_listener(ParamListenerInterface *listener)
Describes an interface classes can implement to receive and handle mavlink messages.
std::vector< ParamListenerInterface * > listeners_
ParamManager(MavlinkComm *const comm)
bool is_param_id(std::string name)
bool first_param_received_
virtual void handle_mavlink_message(const mavlink_message_t &msg)
The handler function for mavlink messages to be implemented by derived classes.
void unregister_param_listener(ParamListenerInterface *listener)
bool set_param_value(std::string name, double value)
bool param_set_in_progress_
void handle_param_value_msg(const mavlink_message_t &msg)
bool load_from_file(std::string filename)
Describes an interface classes can implement to receive and handle mavlink messages.
int get_params_received()
std::map< std::string, Param > params_
void request_param_list()
ros::Timer param_set_timer_
bool get_param_value(std::string name, double *value)
std::deque< mavlink_message_t > param_set_queue_
void request_param(int index)
bool write_request_in_progress_
void handle_command_ack_msg(const mavlink_message_t &msg)