29 #ifndef BEBOP_COMMON_COMMANDS_H 30 #define BEBOP_COMMON_COMMANDS_H 34 #include <boost/thread/mutex.hpp> 35 #include <boost/thread/lock_guard.hpp> 41 class BebopArdrone3Config;
51 ARCONTROLLER_DICTIONARY_ARG_t*
arg;
56 : cmd_key_(cmd_key), arg(NULL)
64 virtual void Update(
const ARCONTROLLER_DICTIONARY_ARG_t* arg, const ::ros::Time&
t) = 0;
75 AbstractState(eARCONTROLLER_DICTIONARY_KEY cmd_key,
const bool pub_enabled =
false)
96 virtual void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_) = 0;
103 #endif // BEBOP_COMMON_COMMANDS_H
eARCONTROLLER_DICTIONARY_KEY GetCommandKey() const
eARCONTROLLER_DICTIONARY_KEY cmd_key_
::ros::Publisher ros_pub_
virtual ~AbstractCommand()
geometry_msgs::TransformStamped t
virtual ~AbstractSetting()
virtual void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arg, const ::ros::Time &t)=0
AbstractSetting(eARCONTROLLER_DICTIONARY_KEY cmd_key, ros::NodeHandle &priv_nh)
AbstractCommand(eARCONTROLLER_DICTIONARY_KEY cmd_key)
AbstractState(eARCONTROLLER_DICTIONARY_KEY cmd_key, const bool pub_enabled=false)
ARCONTROLLER_DICTIONARY_ARG_t * arg
mutable::boost::mutex mutex_