29 #ifndef BEBOP_AUTONOMY_AUTOGENERATED_Ardrone3_SETTING_CALLBACKS_H 30 #define BEBOP_AUTONOMY_AUTOGENERATED_Ardrone3_SETTING_CALLBACKS_H 34 #include "libARSAL/ARSAL.h" 35 #include "libARController/ARController.h" 39 #include "bebop_driver/BebopArdrone3Config.h" 54 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MAXALTITUDECHANGED, priv_nh)
55 , PilotingSettingsMaxAltitudeCurrent_bebop_sent_(false)
59 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
61 ::boost::lock_guard<boost::mutex> lock(
mutex_);
63 bool all_inited =
true;
66 if ((config.PilotingSettingsMaxAltitudeCurrent != PilotingSettingsMaxAltitudeCurrent_bebop_value_))
68 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
69 "PilotingSettingsMaxAltitudeCurrent changed!");
74 if (changed && !all_inited)
76 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
77 "Value of PilotingSettingsMaxAltitude was not initialized either by Bebop or Params.");
80 if (changed && all_inited)
82 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
83 "Sending PilotingSettingsMaxAltitude changes to bebop");
85 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsMaxAltitude(bebop_ctrl_ptr_->aRDrone3
86 , (config.PilotingSettingsMaxAltitudeCurrent)
92 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
94 if (arguments == NULL)
96 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
97 "PilotingSettingsMaxAltitude::Update() arguments is NULL");
101 ::boost::lock_guard<boost::mutex> lock(
mutex_);
104 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MAXALTITUDECHANGED_CURRENT,
arg);
107 PilotingSettingsMaxAltitudeCurrent_bebop_sent_ =
true;
108 ROS_INFO_STREAM(
"Value for PilotingSettingsMaxAltitudeCurrent recved: " << static_cast<double>(
arg->value.Float));
109 PilotingSettingsMaxAltitudeCurrent_bebop_value_ =
static_cast<double>(
arg->value.Float);
111 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsMaxAltitudeCurrent exists in params ...");
114 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
115 priv_nh_.
setParam(
"PilotingSettingsMaxAltitudeCurrent", static_cast<double>(
arg->value.Float));
119 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
134 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MAXTILTCHANGED, priv_nh)
135 , PilotingSettingsMaxTiltCurrent_bebop_sent_(false)
139 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
141 ::boost::lock_guard<boost::mutex> lock(
mutex_);
142 bool changed =
false;
143 bool all_inited =
true;
146 if ((config.PilotingSettingsMaxTiltCurrent != PilotingSettingsMaxTiltCurrent_bebop_value_))
148 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
149 "PilotingSettingsMaxTiltCurrent changed!");
152 all_inited &= PilotingSettingsMaxTiltCurrent_bebop_sent_;
154 if (changed && !all_inited)
156 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
157 "Value of PilotingSettingsMaxTilt was not initialized either by Bebop or Params.");
160 if (changed && all_inited)
162 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
163 "Sending PilotingSettingsMaxTilt changes to bebop");
165 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsMaxTilt(bebop_ctrl_ptr_->aRDrone3
166 , (config.PilotingSettingsMaxTiltCurrent)
172 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
174 if (arguments == NULL)
176 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
177 "PilotingSettingsMaxTilt::Update() arguments is NULL");
181 ::boost::lock_guard<boost::mutex> lock(
mutex_);
184 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MAXTILTCHANGED_CURRENT,
arg);
187 PilotingSettingsMaxTiltCurrent_bebop_sent_ =
true;
188 ROS_INFO_STREAM(
"Value for PilotingSettingsMaxTiltCurrent recved: " << static_cast<double>(
arg->value.Float));
189 PilotingSettingsMaxTiltCurrent_bebop_value_ =
static_cast<double>(
arg->value.Float);
191 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsMaxTiltCurrent exists in params ...");
194 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
195 priv_nh_.
setParam(
"PilotingSettingsMaxTiltCurrent", static_cast<double>(
arg->value.Float));
199 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
214 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_ABSOLUTCONTROLCHANGED, priv_nh)
215 , PilotingSettingsAbsolutControlOn_bebop_sent_(false)
219 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
221 ::boost::lock_guard<boost::mutex> lock(
mutex_);
222 bool changed =
false;
223 bool all_inited =
true;
226 if ((config.PilotingSettingsAbsolutControlOn != PilotingSettingsAbsolutControlOn_bebop_value_))
228 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
229 "PilotingSettingsAbsolutControlOn changed!");
232 all_inited &= PilotingSettingsAbsolutControlOn_bebop_sent_;
234 if (changed && !all_inited)
236 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
237 "Value of PilotingSettingsAbsolutControl was not initialized either by Bebop or Params.");
240 if (changed && all_inited)
242 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
243 "Sending PilotingSettingsAbsolutControl changes to bebop");
245 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsAbsolutControl(bebop_ctrl_ptr_->aRDrone3
246 , (config.PilotingSettingsAbsolutControlOn)
252 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
254 if (arguments == NULL)
256 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
257 "PilotingSettingsAbsolutControl::Update() arguments is NULL");
261 ::boost::lock_guard<boost::mutex> lock(
mutex_);
264 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_ABSOLUTCONTROLCHANGED_ON,
arg);
267 PilotingSettingsAbsolutControlOn_bebop_sent_ =
true;
268 ROS_INFO_STREAM(
"Value for PilotingSettingsAbsolutControlOn recved: " << static_cast<int32_t>(
arg->value.U8));
269 PilotingSettingsAbsolutControlOn_bebop_value_ =
static_cast<int32_t
>(
arg->value.U8);
271 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsAbsolutControlOn exists in params ...");
274 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
275 priv_nh_.
setParam(
"PilotingSettingsAbsolutControlOn", static_cast<int32_t>(
arg->value.U8));
279 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
294 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MAXDISTANCECHANGED, priv_nh)
295 , PilotingSettingsMaxDistanceValue_bebop_sent_(false)
299 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
301 ::boost::lock_guard<boost::mutex> lock(
mutex_);
302 bool changed =
false;
303 bool all_inited =
true;
306 if ((config.PilotingSettingsMaxDistanceValue != PilotingSettingsMaxDistanceValue_bebop_value_))
308 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
309 "PilotingSettingsMaxDistanceValue changed!");
312 all_inited &= PilotingSettingsMaxDistanceValue_bebop_sent_;
314 if (changed && !all_inited)
316 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
317 "Value of PilotingSettingsMaxDistance was not initialized either by Bebop or Params.");
320 if (changed && all_inited)
322 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
323 "Sending PilotingSettingsMaxDistance changes to bebop");
325 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsMaxDistance(bebop_ctrl_ptr_->aRDrone3
326 , (config.PilotingSettingsMaxDistanceValue)
332 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
334 if (arguments == NULL)
336 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
337 "PilotingSettingsMaxDistance::Update() arguments is NULL");
341 ::boost::lock_guard<boost::mutex> lock(
mutex_);
344 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MAXDISTANCECHANGED_CURRENT,
arg);
347 PilotingSettingsMaxDistanceValue_bebop_sent_ =
true;
348 ROS_INFO_STREAM(
"Value for PilotingSettingsMaxDistanceValue recved: " << static_cast<double>(
arg->value.Float));
349 PilotingSettingsMaxDistanceValue_bebop_value_ =
static_cast<double>(
arg->value.Float);
351 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsMaxDistanceValue exists in params ...");
354 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
355 priv_nh_.
setParam(
"PilotingSettingsMaxDistanceValue", static_cast<double>(
arg->value.Float));
359 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
374 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_NOFLYOVERMAXDISTANCECHANGED, priv_nh)
375 , PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_sent_(false)
379 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
381 ::boost::lock_guard<boost::mutex> lock(
mutex_);
382 bool changed =
false;
383 bool all_inited =
true;
386 if ((config.PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover != PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_value_))
388 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
389 "PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover changed!");
392 all_inited &= PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_sent_;
394 if (changed && !all_inited)
396 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
397 "Value of PilotingSettingsNoFlyOverMaxDistance was not initialized either by Bebop or Params.");
400 if (changed && all_inited)
402 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
403 "Sending PilotingSettingsNoFlyOverMaxDistance changes to bebop");
405 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsNoFlyOverMaxDistance(bebop_ctrl_ptr_->aRDrone3
406 , (config.PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover)
412 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
414 if (arguments == NULL)
416 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
417 "PilotingSettingsNoFlyOverMaxDistance::Update() arguments is NULL");
421 ::boost::lock_guard<boost::mutex> lock(
mutex_);
424 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_NOFLYOVERMAXDISTANCECHANGED_SHOULDNOTFLYOVER,
arg);
427 PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_sent_ =
true;
428 ROS_INFO_STREAM(
"Value for PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover recved: " << static_cast<int32_t>(
arg->value.U8));
429 PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_value_ =
static_cast<int32_t
>(
arg->value.U8);
431 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover exists in params ...");
432 if (!
priv_nh_.
hasParam(
"PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover"))
434 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
435 priv_nh_.
setParam(
"PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover", static_cast<int32_t>(
arg->value.U8));
439 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
454 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_BANKEDTURNCHANGED, priv_nh)
455 , PilotingSettingsBankedTurnValue_bebop_sent_(false)
459 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
461 ::boost::lock_guard<boost::mutex> lock(
mutex_);
462 bool changed =
false;
463 bool all_inited =
true;
466 if ((config.PilotingSettingsBankedTurnValue != PilotingSettingsBankedTurnValue_bebop_value_))
468 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
469 "PilotingSettingsBankedTurnValue changed!");
472 all_inited &= PilotingSettingsBankedTurnValue_bebop_sent_;
474 if (changed && !all_inited)
476 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
477 "Value of PilotingSettingsBankedTurn was not initialized either by Bebop or Params.");
480 if (changed && all_inited)
482 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
483 "Sending PilotingSettingsBankedTurn changes to bebop");
485 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsBankedTurn(bebop_ctrl_ptr_->aRDrone3
486 , (config.PilotingSettingsBankedTurnValue)
492 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
494 if (arguments == NULL)
496 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
497 "PilotingSettingsBankedTurn::Update() arguments is NULL");
501 ::boost::lock_guard<boost::mutex> lock(
mutex_);
504 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_BANKEDTURNCHANGED_STATE,
arg);
507 PilotingSettingsBankedTurnValue_bebop_sent_ =
true;
508 ROS_INFO_STREAM(
"Value for PilotingSettingsBankedTurnValue recved: " << static_cast<int32_t>(
arg->value.U8));
509 PilotingSettingsBankedTurnValue_bebop_value_ =
static_cast<int32_t
>(
arg->value.U8);
511 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsBankedTurnValue exists in params ...");
514 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
519 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
534 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MINALTITUDECHANGED, priv_nh)
535 , PilotingSettingsMinAltitudeCurrent_bebop_sent_(false)
539 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
541 ::boost::lock_guard<boost::mutex> lock(
mutex_);
542 bool changed =
false;
543 bool all_inited =
true;
546 if ((config.PilotingSettingsMinAltitudeCurrent != PilotingSettingsMinAltitudeCurrent_bebop_value_))
548 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
549 "PilotingSettingsMinAltitudeCurrent changed!");
552 all_inited &= PilotingSettingsMinAltitudeCurrent_bebop_sent_;
554 if (changed && !all_inited)
556 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
557 "Value of PilotingSettingsMinAltitude was not initialized either by Bebop or Params.");
560 if (changed && all_inited)
562 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
563 "Sending PilotingSettingsMinAltitude changes to bebop");
565 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsMinAltitude(bebop_ctrl_ptr_->aRDrone3
566 , (config.PilotingSettingsMinAltitudeCurrent)
572 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
574 if (arguments == NULL)
576 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
577 "PilotingSettingsMinAltitude::Update() arguments is NULL");
581 ::boost::lock_guard<boost::mutex> lock(
mutex_);
584 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_MINALTITUDECHANGED_CURRENT,
arg);
587 PilotingSettingsMinAltitudeCurrent_bebop_sent_ =
true;
588 ROS_INFO_STREAM(
"Value for PilotingSettingsMinAltitudeCurrent recved: " << static_cast<double>(
arg->value.Float));
589 PilotingSettingsMinAltitudeCurrent_bebop_value_ =
static_cast<double>(
arg->value.Float);
591 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsMinAltitudeCurrent exists in params ...");
594 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
595 priv_nh_.
setParam(
"PilotingSettingsMinAltitudeCurrent", static_cast<double>(
arg->value.Float));
599 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
614 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_CIRCLINGDIRECTIONCHANGED, priv_nh)
615 , PilotingSettingsCirclingDirectionValue_bebop_sent_(false)
619 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
621 ::boost::lock_guard<boost::mutex> lock(
mutex_);
622 bool changed =
false;
623 bool all_inited =
true;
626 if ((config.PilotingSettingsCirclingDirectionValue != PilotingSettingsCirclingDirectionValue_bebop_value_))
628 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
629 "PilotingSettingsCirclingDirectionValue changed!");
632 all_inited &= PilotingSettingsCirclingDirectionValue_bebop_sent_;
634 if (changed && !all_inited)
636 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
637 "Value of PilotingSettingsCirclingDirection was not initialized either by Bebop or Params.");
640 if (changed && all_inited)
642 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
643 "Sending PilotingSettingsCirclingDirection changes to bebop");
645 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsCirclingDirection(bebop_ctrl_ptr_->aRDrone3
646 , static_cast<eARCOMMANDS_ARDRONE3_PILOTINGSETTINGS_CIRCLINGDIRECTION_VALUE>(config.PilotingSettingsCirclingDirectionValue)
652 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
654 if (arguments == NULL)
656 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
657 "PilotingSettingsCirclingDirection::Update() arguments is NULL");
661 ::boost::lock_guard<boost::mutex> lock(
mutex_);
664 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_CIRCLINGDIRECTIONCHANGED_VALUE,
arg);
667 PilotingSettingsCirclingDirectionValue_bebop_sent_ =
true;
668 ROS_INFO_STREAM(
"Value for PilotingSettingsCirclingDirectionValue recved: " << static_cast<int32_t>(
arg->value.I32));
669 PilotingSettingsCirclingDirectionValue_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
671 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsCirclingDirectionValue exists in params ...");
674 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
675 priv_nh_.
setParam(
"PilotingSettingsCirclingDirectionValue", static_cast<int32_t>(
arg->value.I32));
679 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
694 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_CIRCLINGRADIUSCHANGED, priv_nh)
695 , PilotingSettingsCirclingRadiusValue_bebop_sent_(false)
699 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
701 ::boost::lock_guard<boost::mutex> lock(
mutex_);
702 bool changed =
false;
703 bool all_inited =
true;
706 if ((config.PilotingSettingsCirclingRadiusValue != PilotingSettingsCirclingRadiusValue_bebop_value_))
708 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
709 "PilotingSettingsCirclingRadiusValue changed!");
712 all_inited &= PilotingSettingsCirclingRadiusValue_bebop_sent_;
714 if (changed && !all_inited)
716 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
717 "Value of PilotingSettingsCirclingRadius was not initialized either by Bebop or Params.");
720 if (changed && all_inited)
722 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
723 "Sending PilotingSettingsCirclingRadius changes to bebop");
725 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsCirclingRadius(bebop_ctrl_ptr_->aRDrone3
726 , (config.PilotingSettingsCirclingRadiusValue)
732 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
734 if (arguments == NULL)
736 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
737 "PilotingSettingsCirclingRadius::Update() arguments is NULL");
741 ::boost::lock_guard<boost::mutex> lock(
mutex_);
744 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_CIRCLINGRADIUSCHANGED_CURRENT,
arg);
747 PilotingSettingsCirclingRadiusValue_bebop_sent_ =
true;
748 ROS_INFO_STREAM(
"Value for PilotingSettingsCirclingRadiusValue recved: " << static_cast<int32_t>(
arg->value.U16));
749 PilotingSettingsCirclingRadiusValue_bebop_value_ =
static_cast<int32_t
>(
arg->value.U16);
751 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsCirclingRadiusValue exists in params ...");
754 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
755 priv_nh_.
setParam(
"PilotingSettingsCirclingRadiusValue", static_cast<int32_t>(
arg->value.U16));
759 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
774 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_CIRCLINGALTITUDECHANGED, priv_nh)
775 , PilotingSettingsCirclingAltitudeValue_bebop_sent_(false)
779 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
781 ::boost::lock_guard<boost::mutex> lock(
mutex_);
782 bool changed =
false;
783 bool all_inited =
true;
786 if ((config.PilotingSettingsCirclingAltitudeValue != PilotingSettingsCirclingAltitudeValue_bebop_value_))
788 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
789 "PilotingSettingsCirclingAltitudeValue changed!");
792 all_inited &= PilotingSettingsCirclingAltitudeValue_bebop_sent_;
794 if (changed && !all_inited)
796 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
797 "Value of PilotingSettingsCirclingAltitude was not initialized either by Bebop or Params.");
800 if (changed && all_inited)
802 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
803 "Sending PilotingSettingsCirclingAltitude changes to bebop");
805 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsCirclingAltitude(bebop_ctrl_ptr_->aRDrone3
806 , (config.PilotingSettingsCirclingAltitudeValue)
812 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
814 if (arguments == NULL)
816 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
817 "PilotingSettingsCirclingAltitude::Update() arguments is NULL");
821 ::boost::lock_guard<boost::mutex> lock(
mutex_);
824 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_CIRCLINGALTITUDECHANGED_CURRENT,
arg);
827 PilotingSettingsCirclingAltitudeValue_bebop_sent_ =
true;
828 ROS_INFO_STREAM(
"Value for PilotingSettingsCirclingAltitudeValue recved: " << static_cast<int32_t>(
arg->value.U16));
829 PilotingSettingsCirclingAltitudeValue_bebop_value_ =
static_cast<int32_t
>(
arg->value.U16);
831 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsCirclingAltitudeValue exists in params ...");
834 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
835 priv_nh_.
setParam(
"PilotingSettingsCirclingAltitudeValue", static_cast<int32_t>(
arg->value.U16));
839 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
854 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_PITCHMODECHANGED, priv_nh)
855 , PilotingSettingsPitchModeValue_bebop_sent_(false)
859 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
861 ::boost::lock_guard<boost::mutex> lock(
mutex_);
862 bool changed =
false;
863 bool all_inited =
true;
866 if ((config.PilotingSettingsPitchModeValue != PilotingSettingsPitchModeValue_bebop_value_))
868 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
869 "PilotingSettingsPitchModeValue changed!");
872 all_inited &= PilotingSettingsPitchModeValue_bebop_sent_;
874 if (changed && !all_inited)
876 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
877 "Value of PilotingSettingsPitchMode was not initialized either by Bebop or Params.");
880 if (changed && all_inited)
882 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
883 "Sending PilotingSettingsPitchMode changes to bebop");
885 bebop_ctrl_ptr_->aRDrone3->sendPilotingSettingsPitchMode(bebop_ctrl_ptr_->aRDrone3
886 , static_cast<eARCOMMANDS_ARDRONE3_PILOTINGSETTINGS_PITCHMODE_VALUE>(config.PilotingSettingsPitchModeValue)
892 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
894 if (arguments == NULL)
896 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
897 "PilotingSettingsPitchMode::Update() arguments is NULL");
901 ::boost::lock_guard<boost::mutex> lock(
mutex_);
904 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PILOTINGSETTINGSSTATE_PITCHMODECHANGED_VALUE,
arg);
907 PilotingSettingsPitchModeValue_bebop_sent_ =
true;
908 ROS_INFO_STREAM(
"Value for PilotingSettingsPitchModeValue recved: " << static_cast<int32_t>(
arg->value.I32));
909 PilotingSettingsPitchModeValue_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
911 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PilotingSettingsPitchModeValue exists in params ...");
914 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
919 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
934 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_MAXVERTICALSPEEDCHANGED, priv_nh)
935 , SpeedSettingsMaxVerticalSpeedCurrent_bebop_sent_(false)
939 void UpdateBebopFromROS(
const BebopArdrone3Config &config,
const ARCONTROLLER_Device_t* bebop_ctrl_ptr_)
941 ::boost::lock_guard<boost::mutex> lock(
mutex_);
942 bool changed =
false;
943 bool all_inited =
true;
946 if ((config.SpeedSettingsMaxVerticalSpeedCurrent != SpeedSettingsMaxVerticalSpeedCurrent_bebop_value_))
948 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
949 "SpeedSettingsMaxVerticalSpeedCurrent changed!");
952 all_inited &= SpeedSettingsMaxVerticalSpeedCurrent_bebop_sent_;
954 if (changed && !all_inited)
956 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
957 "Value of SpeedSettingsMaxVerticalSpeed was not initialized either by Bebop or Params.");
960 if (changed && all_inited)
962 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
963 "Sending SpeedSettingsMaxVerticalSpeed changes to bebop");
965 bebop_ctrl_ptr_->aRDrone3->sendSpeedSettingsMaxVerticalSpeed(bebop_ctrl_ptr_->aRDrone3
966 , (config.SpeedSettingsMaxVerticalSpeedCurrent)
972 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
974 if (arguments == NULL)
976 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
977 "SpeedSettingsMaxVerticalSpeed::Update() arguments is NULL");
981 ::boost::lock_guard<boost::mutex> lock(
mutex_);
984 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_MAXVERTICALSPEEDCHANGED_CURRENT,
arg);
987 SpeedSettingsMaxVerticalSpeedCurrent_bebop_sent_ =
true;
988 ROS_INFO_STREAM(
"Value for SpeedSettingsMaxVerticalSpeedCurrent recved: " << static_cast<double>(
arg->value.Float));
989 SpeedSettingsMaxVerticalSpeedCurrent_bebop_value_ =
static_cast<double>(
arg->value.Float);
991 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if SpeedSettingsMaxVerticalSpeedCurrent exists in params ...");
994 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
995 priv_nh_.
setParam(
"SpeedSettingsMaxVerticalSpeedCurrent", static_cast<double>(
arg->value.Float));
999 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1014 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_MAXROTATIONSPEEDCHANGED, priv_nh)
1015 , SpeedSettingsMaxRotationSpeedCurrent_bebop_sent_(false)
1021 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1022 bool changed =
false;
1023 bool all_inited =
true;
1026 if ((config.SpeedSettingsMaxRotationSpeedCurrent != SpeedSettingsMaxRotationSpeedCurrent_bebop_value_))
1028 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1029 "SpeedSettingsMaxRotationSpeedCurrent changed!");
1032 all_inited &= SpeedSettingsMaxRotationSpeedCurrent_bebop_sent_;
1034 if (changed && !all_inited)
1036 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1037 "Value of SpeedSettingsMaxRotationSpeed was not initialized either by Bebop or Params.");
1040 if (changed && all_inited)
1042 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1043 "Sending SpeedSettingsMaxRotationSpeed changes to bebop");
1045 bebop_ctrl_ptr_->aRDrone3->sendSpeedSettingsMaxRotationSpeed(bebop_ctrl_ptr_->aRDrone3
1046 , (config.SpeedSettingsMaxRotationSpeedCurrent)
1052 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1054 if (arguments == NULL)
1056 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1057 "SpeedSettingsMaxRotationSpeed::Update() arguments is NULL");
1061 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1064 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_MAXROTATIONSPEEDCHANGED_CURRENT,
arg);
1067 SpeedSettingsMaxRotationSpeedCurrent_bebop_sent_ =
true;
1068 ROS_INFO_STREAM(
"Value for SpeedSettingsMaxRotationSpeedCurrent recved: " << static_cast<double>(
arg->value.Float));
1069 SpeedSettingsMaxRotationSpeedCurrent_bebop_value_ =
static_cast<double>(
arg->value.Float);
1071 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if SpeedSettingsMaxRotationSpeedCurrent exists in params ...");
1074 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1075 priv_nh_.
setParam(
"SpeedSettingsMaxRotationSpeedCurrent", static_cast<double>(
arg->value.Float));
1079 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1094 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_HULLPROTECTIONCHANGED, priv_nh)
1095 , SpeedSettingsHullProtectionPresent_bebop_sent_(false)
1101 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1102 bool changed =
false;
1103 bool all_inited =
true;
1106 if ((config.SpeedSettingsHullProtectionPresent != SpeedSettingsHullProtectionPresent_bebop_value_))
1108 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1109 "SpeedSettingsHullProtectionPresent changed!");
1112 all_inited &= SpeedSettingsHullProtectionPresent_bebop_sent_;
1114 if (changed && !all_inited)
1116 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1117 "Value of SpeedSettingsHullProtection was not initialized either by Bebop or Params.");
1120 if (changed && all_inited)
1122 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1123 "Sending SpeedSettingsHullProtection changes to bebop");
1125 bebop_ctrl_ptr_->aRDrone3->sendSpeedSettingsHullProtection(bebop_ctrl_ptr_->aRDrone3
1126 , (config.SpeedSettingsHullProtectionPresent)
1132 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1134 if (arguments == NULL)
1136 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1137 "SpeedSettingsHullProtection::Update() arguments is NULL");
1141 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1144 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_HULLPROTECTIONCHANGED_PRESENT,
arg);
1147 SpeedSettingsHullProtectionPresent_bebop_sent_ =
true;
1148 ROS_INFO_STREAM(
"Value for SpeedSettingsHullProtectionPresent recved: " << static_cast<int32_t>(
arg->value.U8));
1149 SpeedSettingsHullProtectionPresent_bebop_value_ =
static_cast<int32_t
>(
arg->value.U8);
1151 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if SpeedSettingsHullProtectionPresent exists in params ...");
1154 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1155 priv_nh_.
setParam(
"SpeedSettingsHullProtectionPresent", static_cast<int32_t>(
arg->value.U8));
1159 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1174 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_OUTDOORCHANGED, priv_nh)
1175 , SpeedSettingsOutdoorOutdoor_bebop_sent_(false)
1181 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1182 bool changed =
false;
1183 bool all_inited =
true;
1186 if ((config.SpeedSettingsOutdoorOutdoor != SpeedSettingsOutdoorOutdoor_bebop_value_))
1188 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1189 "SpeedSettingsOutdoorOutdoor changed!");
1192 all_inited &= SpeedSettingsOutdoorOutdoor_bebop_sent_;
1194 if (changed && !all_inited)
1196 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1197 "Value of SpeedSettingsOutdoor was not initialized either by Bebop or Params.");
1200 if (changed && all_inited)
1202 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1203 "Sending SpeedSettingsOutdoor changes to bebop");
1205 bebop_ctrl_ptr_->aRDrone3->sendSpeedSettingsOutdoor(bebop_ctrl_ptr_->aRDrone3
1206 , (config.SpeedSettingsOutdoorOutdoor)
1212 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1214 if (arguments == NULL)
1216 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1217 "SpeedSettingsOutdoor::Update() arguments is NULL");
1221 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1224 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_OUTDOORCHANGED_OUTDOOR,
arg);
1227 SpeedSettingsOutdoorOutdoor_bebop_sent_ =
true;
1228 ROS_INFO_STREAM(
"Value for SpeedSettingsOutdoorOutdoor recved: " << static_cast<int32_t>(
arg->value.U8));
1229 SpeedSettingsOutdoorOutdoor_bebop_value_ =
static_cast<int32_t
>(
arg->value.U8);
1231 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if SpeedSettingsOutdoorOutdoor exists in params ...");
1234 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1239 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1254 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_MAXPITCHROLLROTATIONSPEEDCHANGED, priv_nh)
1255 , SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_sent_(false)
1261 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1262 bool changed =
false;
1263 bool all_inited =
true;
1266 if ((config.SpeedSettingsMaxPitchRollRotationSpeedCurrent != SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_value_))
1268 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1269 "SpeedSettingsMaxPitchRollRotationSpeedCurrent changed!");
1272 all_inited &= SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_sent_;
1274 if (changed && !all_inited)
1276 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1277 "Value of SpeedSettingsMaxPitchRollRotationSpeed was not initialized either by Bebop or Params.");
1280 if (changed && all_inited)
1282 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1283 "Sending SpeedSettingsMaxPitchRollRotationSpeed changes to bebop");
1285 bebop_ctrl_ptr_->aRDrone3->sendSpeedSettingsMaxPitchRollRotationSpeed(bebop_ctrl_ptr_->aRDrone3
1286 , (config.SpeedSettingsMaxPitchRollRotationSpeedCurrent)
1292 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1294 if (arguments == NULL)
1296 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1297 "SpeedSettingsMaxPitchRollRotationSpeed::Update() arguments is NULL");
1301 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1304 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_SPEEDSETTINGSSTATE_MAXPITCHROLLROTATIONSPEEDCHANGED_CURRENT,
arg);
1307 SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_sent_ =
true;
1308 ROS_INFO_STREAM(
"Value for SpeedSettingsMaxPitchRollRotationSpeedCurrent recved: " << static_cast<double>(
arg->value.Float));
1309 SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_value_ =
static_cast<double>(
arg->value.Float);
1311 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if SpeedSettingsMaxPitchRollRotationSpeedCurrent exists in params ...");
1314 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1315 priv_nh_.
setParam(
"SpeedSettingsMaxPitchRollRotationSpeedCurrent", static_cast<double>(
arg->value.Float));
1319 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1338 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED, priv_nh)
1339 , NetworkSettingsWifiSelectionType_bebop_sent_(false)
1340 , NetworkSettingsWifiSelectionBand_bebop_sent_(false)
1341 , NetworkSettingsWifiSelectionChannel_bebop_sent_(false)
1347 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1348 bool changed =
false;
1349 bool all_inited =
true;
1352 if ((config.NetworkSettingsWifiSelectionType != NetworkSettingsWifiSelectionType_bebop_value_))
1354 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1355 "NetworkSettingsWifiSelectionType changed!");
1358 all_inited &= NetworkSettingsWifiSelectionType_bebop_sent_;
1361 if ((config.NetworkSettingsWifiSelectionBand != NetworkSettingsWifiSelectionBand_bebop_value_))
1363 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1364 "NetworkSettingsWifiSelectionBand changed!");
1367 all_inited &= NetworkSettingsWifiSelectionBand_bebop_sent_;
1370 if ((config.NetworkSettingsWifiSelectionChannel != NetworkSettingsWifiSelectionChannel_bebop_value_))
1372 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1373 "NetworkSettingsWifiSelectionChannel changed!");
1376 all_inited &= NetworkSettingsWifiSelectionChannel_bebop_sent_;
1378 if (changed && !all_inited)
1380 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1381 "Value of NetworkSettingsWifiSelection was not initialized either by Bebop or Params.");
1384 if (changed && all_inited)
1386 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1387 "Sending NetworkSettingsWifiSelection changes to bebop");
1389 bebop_ctrl_ptr_->aRDrone3->sendNetworkSettingsWifiSelection(bebop_ctrl_ptr_->aRDrone3
1390 , static_cast<eARCOMMANDS_ARDRONE3_NETWORKSETTINGS_WIFISELECTION_TYPE>(config.NetworkSettingsWifiSelectionType)
1391 , static_cast<eARCOMMANDS_ARDRONE3_NETWORKSETTINGS_WIFISELECTION_BAND>(config.NetworkSettingsWifiSelectionBand)
1392 , (config.NetworkSettingsWifiSelectionChannel)
1398 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1400 if (arguments == NULL)
1402 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1403 "NetworkSettingsWifiSelection::Update() arguments is NULL");
1407 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1410 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_TYPE,
arg);
1413 NetworkSettingsWifiSelectionType_bebop_sent_ =
true;
1414 ROS_INFO_STREAM(
"Value for NetworkSettingsWifiSelectionType recved: " << static_cast<int32_t>(
arg->value.I32));
1415 NetworkSettingsWifiSelectionType_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1417 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if NetworkSettingsWifiSelectionType exists in params ...");
1420 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1421 priv_nh_.
setParam(
"NetworkSettingsWifiSelectionType", static_cast<int32_t>(
arg->value.I32));
1425 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1431 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_BAND,
arg);
1434 NetworkSettingsWifiSelectionBand_bebop_sent_ =
true;
1435 ROS_INFO_STREAM(
"Value for NetworkSettingsWifiSelectionBand recved: " << static_cast<int32_t>(
arg->value.I32));
1436 NetworkSettingsWifiSelectionBand_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1438 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if NetworkSettingsWifiSelectionBand exists in params ...");
1441 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1442 priv_nh_.
setParam(
"NetworkSettingsWifiSelectionBand", static_cast<int32_t>(
arg->value.I32));
1446 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1452 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_CHANNEL,
arg);
1455 NetworkSettingsWifiSelectionChannel_bebop_sent_ =
true;
1456 ROS_INFO_STREAM(
"Value for NetworkSettingsWifiSelectionChannel recved: " << static_cast<int32_t>(
arg->value.U8));
1457 NetworkSettingsWifiSelectionChannel_bebop_value_ =
static_cast<int32_t
>(
arg->value.U8);
1459 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if NetworkSettingsWifiSelectionChannel exists in params ...");
1462 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1463 priv_nh_.
setParam(
"NetworkSettingsWifiSelectionChannel", static_cast<int32_t>(
arg->value.U8));
1467 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1482 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEOSTABILIZATIONMODECHANGED, priv_nh)
1483 , PictureSettingsVideoStabilizationModeMode_bebop_sent_(false)
1489 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1490 bool changed =
false;
1491 bool all_inited =
true;
1494 if ((config.PictureSettingsVideoStabilizationModeMode != PictureSettingsVideoStabilizationModeMode_bebop_value_))
1496 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1497 "PictureSettingsVideoStabilizationModeMode changed!");
1500 all_inited &= PictureSettingsVideoStabilizationModeMode_bebop_sent_;
1502 if (changed && !all_inited)
1504 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1505 "Value of PictureSettingsVideoStabilizationMode was not initialized either by Bebop or Params.");
1508 if (changed && all_inited)
1510 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1511 "Sending PictureSettingsVideoStabilizationMode changes to bebop");
1513 bebop_ctrl_ptr_->aRDrone3->sendPictureSettingsVideoStabilizationMode(bebop_ctrl_ptr_->aRDrone3
1514 , static_cast<eARCOMMANDS_ARDRONE3_PICTURESETTINGS_VIDEOSTABILIZATIONMODE_MODE>(config.PictureSettingsVideoStabilizationModeMode)
1520 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1522 if (arguments == NULL)
1524 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1525 "PictureSettingsVideoStabilizationMode::Update() arguments is NULL");
1529 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1532 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEOSTABILIZATIONMODECHANGED_MODE,
arg);
1535 PictureSettingsVideoStabilizationModeMode_bebop_sent_ =
true;
1536 ROS_INFO_STREAM(
"Value for PictureSettingsVideoStabilizationModeMode recved: " << static_cast<int32_t>(
arg->value.I32));
1537 PictureSettingsVideoStabilizationModeMode_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1539 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PictureSettingsVideoStabilizationModeMode exists in params ...");
1542 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1543 priv_nh_.
setParam(
"PictureSettingsVideoStabilizationModeMode", static_cast<int32_t>(
arg->value.I32));
1547 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1562 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEORECORDINGMODECHANGED, priv_nh)
1563 , PictureSettingsVideoRecordingModeMode_bebop_sent_(false)
1569 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1570 bool changed =
false;
1571 bool all_inited =
true;
1574 if ((config.PictureSettingsVideoRecordingModeMode != PictureSettingsVideoRecordingModeMode_bebop_value_))
1576 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1577 "PictureSettingsVideoRecordingModeMode changed!");
1580 all_inited &= PictureSettingsVideoRecordingModeMode_bebop_sent_;
1582 if (changed && !all_inited)
1584 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1585 "Value of PictureSettingsVideoRecordingMode was not initialized either by Bebop or Params.");
1588 if (changed && all_inited)
1590 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1591 "Sending PictureSettingsVideoRecordingMode changes to bebop");
1593 bebop_ctrl_ptr_->aRDrone3->sendPictureSettingsVideoRecordingMode(bebop_ctrl_ptr_->aRDrone3
1594 , static_cast<eARCOMMANDS_ARDRONE3_PICTURESETTINGS_VIDEORECORDINGMODE_MODE>(config.PictureSettingsVideoRecordingModeMode)
1600 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1602 if (arguments == NULL)
1604 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1605 "PictureSettingsVideoRecordingMode::Update() arguments is NULL");
1609 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1612 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEORECORDINGMODECHANGED_MODE,
arg);
1615 PictureSettingsVideoRecordingModeMode_bebop_sent_ =
true;
1616 ROS_INFO_STREAM(
"Value for PictureSettingsVideoRecordingModeMode recved: " << static_cast<int32_t>(
arg->value.I32));
1617 PictureSettingsVideoRecordingModeMode_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1619 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PictureSettingsVideoRecordingModeMode exists in params ...");
1622 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1623 priv_nh_.
setParam(
"PictureSettingsVideoRecordingModeMode", static_cast<int32_t>(
arg->value.I32));
1627 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1642 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEOFRAMERATECHANGED, priv_nh)
1643 , PictureSettingsVideoFramerateFramerate_bebop_sent_(false)
1649 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1650 bool changed =
false;
1651 bool all_inited =
true;
1654 if ((config.PictureSettingsVideoFramerateFramerate != PictureSettingsVideoFramerateFramerate_bebop_value_))
1656 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1657 "PictureSettingsVideoFramerateFramerate changed!");
1660 all_inited &= PictureSettingsVideoFramerateFramerate_bebop_sent_;
1662 if (changed && !all_inited)
1664 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1665 "Value of PictureSettingsVideoFramerate was not initialized either by Bebop or Params.");
1668 if (changed && all_inited)
1670 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1671 "Sending PictureSettingsVideoFramerate changes to bebop");
1673 bebop_ctrl_ptr_->aRDrone3->sendPictureSettingsVideoFramerate(bebop_ctrl_ptr_->aRDrone3
1674 , static_cast<eARCOMMANDS_ARDRONE3_PICTURESETTINGS_VIDEOFRAMERATE_FRAMERATE>(config.PictureSettingsVideoFramerateFramerate)
1680 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1682 if (arguments == NULL)
1684 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1685 "PictureSettingsVideoFramerate::Update() arguments is NULL");
1689 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1692 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEOFRAMERATECHANGED_FRAMERATE,
arg);
1695 PictureSettingsVideoFramerateFramerate_bebop_sent_ =
true;
1696 ROS_INFO_STREAM(
"Value for PictureSettingsVideoFramerateFramerate recved: " << static_cast<int32_t>(
arg->value.I32));
1697 PictureSettingsVideoFramerateFramerate_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1699 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PictureSettingsVideoFramerateFramerate exists in params ...");
1702 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1703 priv_nh_.
setParam(
"PictureSettingsVideoFramerateFramerate", static_cast<int32_t>(
arg->value.I32));
1707 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1722 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEORESOLUTIONSCHANGED, priv_nh)
1723 , PictureSettingsVideoResolutionsType_bebop_sent_(false)
1729 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1730 bool changed =
false;
1731 bool all_inited =
true;
1734 if ((config.PictureSettingsVideoResolutionsType != PictureSettingsVideoResolutionsType_bebop_value_))
1736 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1737 "PictureSettingsVideoResolutionsType changed!");
1740 all_inited &= PictureSettingsVideoResolutionsType_bebop_sent_;
1742 if (changed && !all_inited)
1744 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1745 "Value of PictureSettingsVideoResolutions was not initialized either by Bebop or Params.");
1748 if (changed && all_inited)
1750 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1751 "Sending PictureSettingsVideoResolutions changes to bebop");
1753 bebop_ctrl_ptr_->aRDrone3->sendPictureSettingsVideoResolutions(bebop_ctrl_ptr_->aRDrone3
1754 , static_cast<eARCOMMANDS_ARDRONE3_PICTURESETTINGS_VIDEORESOLUTIONS_TYPE>(config.PictureSettingsVideoResolutionsType)
1760 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1762 if (arguments == NULL)
1764 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1765 "PictureSettingsVideoResolutions::Update() arguments is NULL");
1769 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1772 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_PICTURESETTINGSSTATE_VIDEORESOLUTIONSCHANGED_TYPE,
arg);
1775 PictureSettingsVideoResolutionsType_bebop_sent_ =
true;
1776 ROS_INFO_STREAM(
"Value for PictureSettingsVideoResolutionsType recved: " << static_cast<int32_t>(
arg->value.I32));
1777 PictureSettingsVideoResolutionsType_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1779 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if PictureSettingsVideoResolutionsType exists in params ...");
1782 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1783 priv_nh_.
setParam(
"PictureSettingsVideoResolutionsType", static_cast<int32_t>(
arg->value.I32));
1787 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1802 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_GPSSETTINGSSTATE_HOMETYPECHANGED, priv_nh)
1803 , GPSSettingsHomeTypeType_bebop_sent_(false)
1809 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1810 bool changed =
false;
1811 bool all_inited =
true;
1814 if ((config.GPSSettingsHomeTypeType != GPSSettingsHomeTypeType_bebop_value_))
1816 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1817 "GPSSettingsHomeTypeType changed!");
1820 all_inited &= GPSSettingsHomeTypeType_bebop_sent_;
1822 if (changed && !all_inited)
1824 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1825 "Value of GPSSettingsHomeType was not initialized either by Bebop or Params.");
1828 if (changed && all_inited)
1830 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1831 "Sending GPSSettingsHomeType changes to bebop");
1833 bebop_ctrl_ptr_->aRDrone3->sendGPSSettingsHomeType(bebop_ctrl_ptr_->aRDrone3
1834 , static_cast<eARCOMMANDS_ARDRONE3_GPSSETTINGS_HOMETYPE_TYPE>(config.GPSSettingsHomeTypeType)
1840 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1842 if (arguments == NULL)
1844 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1845 "GPSSettingsHomeType::Update() arguments is NULL");
1849 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1852 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_GPSSETTINGSSTATE_HOMETYPECHANGED_TYPE,
arg);
1855 GPSSettingsHomeTypeType_bebop_sent_ =
true;
1856 ROS_INFO_STREAM(
"Value for GPSSettingsHomeTypeType recved: " << static_cast<int32_t>(
arg->value.I32));
1857 GPSSettingsHomeTypeType_bebop_value_ =
static_cast<int32_t
>(
arg->value.I32);
1859 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if GPSSettingsHomeTypeType exists in params ...");
1862 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1867 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1882 :
AbstractSetting(ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_GPSSETTINGSSTATE_RETURNHOMEDELAYCHANGED, priv_nh)
1883 , GPSSettingsReturnHomeDelayDelay_bebop_sent_(false)
1889 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1890 bool changed =
false;
1891 bool all_inited =
true;
1894 if ((config.GPSSettingsReturnHomeDelayDelay != GPSSettingsReturnHomeDelayDelay_bebop_value_))
1896 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1897 "GPSSettingsReturnHomeDelayDelay changed!");
1900 all_inited &= GPSSettingsReturnHomeDelayDelay_bebop_sent_;
1902 if (changed && !all_inited)
1904 ARSAL_PRINT(ARSAL_PRINT_ERROR,
"CB",
1905 "Value of GPSSettingsReturnHomeDelay was not initialized either by Bebop or Params.");
1908 if (changed && all_inited)
1910 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
1911 "Sending GPSSettingsReturnHomeDelay changes to bebop");
1913 bebop_ctrl_ptr_->aRDrone3->sendGPSSettingsReturnHomeDelay(bebop_ctrl_ptr_->aRDrone3
1914 , (config.GPSSettingsReturnHomeDelayDelay)
1920 void Update(
const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time& t)
1922 if (arguments == NULL)
1924 ARSAL_PRINT(ARSAL_PRINT_WARNING,
"CB",
1925 "GPSSettingsReturnHomeDelay::Update() arguments is NULL");
1929 ::boost::lock_guard<boost::mutex> lock(
mutex_);
1932 HASH_FIND_STR (arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_GPSSETTINGSSTATE_RETURNHOMEDELAYCHANGED_DELAY,
arg);
1935 GPSSettingsReturnHomeDelayDelay_bebop_sent_ =
true;
1936 ROS_INFO_STREAM(
"Value for GPSSettingsReturnHomeDelayDelay recved: " << static_cast<int32_t>(
arg->value.U16));
1937 GPSSettingsReturnHomeDelayDelay_bebop_value_ =
static_cast<int32_t
>(
arg->value.U16);
1939 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
"Checking if GPSSettingsReturnHomeDelayDelay exists in params ...");
1942 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" No");
1943 priv_nh_.
setParam(
"GPSSettingsReturnHomeDelayDelay", static_cast<int32_t>(
arg->value.U16));
1947 ARSAL_PRINT(ARSAL_PRINT_INFO,
"CB",
" Yes");
1956 #endif // BEBOP_AUTONOMY_AUTOGENERATED_Ardrone3_SETTING_CALLBACKS_H void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
int32_t NetworkSettingsWifiSelectionType_bebop_value_
bool PilotingSettingsMinAltitudeCurrent_bebop_sent_
SpeedSettingsMaxPitchRollRotationSpeed(ros::NodeHandle &priv_nh)
PictureSettingsVideoResolutions(ros::NodeHandle &priv_nh)
PilotingSettingsCirclingRadius(ros::NodeHandle &priv_nh)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
bool PictureSettingsVideoFramerateFramerate_bebop_sent_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
int32_t PilotingSettingsCirclingDirectionValue_bebop_value_
SpeedSettingsHullProtection(ros::NodeHandle &priv_nh)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
NetworkSettingsWifiSelection(ros::NodeHandle &priv_nh)
bool SpeedSettingsMaxRotationSpeedCurrent_bebop_sent_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool PictureSettingsVideoStabilizationModeMode_bebop_sent_
bool SpeedSettingsOutdoorOutdoor_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
int32_t PilotingSettingsBankedTurnValue_bebop_value_
bool PilotingSettingsBankedTurnValue_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
int32_t GPSSettingsHomeTypeType_bebop_value_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool SpeedSettingsHullProtectionPresent_bebop_sent_
bool PilotingSettingsCirclingAltitudeValue_bebop_sent_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool PilotingSettingsAbsolutControlOn_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
int32_t PilotingSettingsCirclingAltitudeValue_bebop_value_
PilotingSettingsMaxDistance(ros::NodeHandle &priv_nh)
PictureSettingsVideoFramerate(ros::NodeHandle &priv_nh)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
SpeedSettingsOutdoor(ros::NodeHandle &priv_nh)
double PilotingSettingsMinAltitudeCurrent_bebop_value_
bool PilotingSettingsMaxTiltCurrent_bebop_sent_
bool PictureSettingsVideoRecordingModeMode_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
bool PilotingSettingsCirclingDirectionValue_bebop_sent_
int32_t PictureSettingsVideoResolutionsType_bebop_value_
bool SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_sent_
int32_t NetworkSettingsWifiSelectionChannel_bebop_value_
bool NetworkSettingsWifiSelectionChannel_bebop_sent_
int32_t GPSSettingsReturnHomeDelayDelay_bebop_value_
PictureSettingsVideoStabilizationMode(ros::NodeHandle &priv_nh)
double PilotingSettingsMaxAltitudeCurrent_bebop_value_
PilotingSettingsBankedTurn(ros::NodeHandle &priv_nh)
PilotingSettingsCirclingAltitude(ros::NodeHandle &priv_nh)
int32_t PictureSettingsVideoStabilizationModeMode_bebop_value_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
SpeedSettingsMaxVerticalSpeed(ros::NodeHandle &priv_nh)
int32_t PilotingSettingsAbsolutControlOn_bebop_value_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
double SpeedSettingsMaxVerticalSpeedCurrent_bebop_value_
bool GPSSettingsReturnHomeDelayDelay_bebop_sent_
double SpeedSettingsMaxPitchRollRotationSpeedCurrent_bebop_value_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool SpeedSettingsMaxVerticalSpeedCurrent_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
int32_t SpeedSettingsHullProtectionPresent_bebop_value_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
double SpeedSettingsMaxRotationSpeedCurrent_bebop_value_
SpeedSettingsMaxRotationSpeed(ros::NodeHandle &priv_nh)
int32_t NetworkSettingsWifiSelectionBand_bebop_value_
PilotingSettingsMaxTilt(ros::NodeHandle &priv_nh)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
int32_t PictureSettingsVideoRecordingModeMode_bebop_value_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
double PilotingSettingsMaxTiltCurrent_bebop_value_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
PictureSettingsVideoRecordingMode(ros::NodeHandle &priv_nh)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
bool GPSSettingsHomeTypeType_bebop_sent_
bool NetworkSettingsWifiSelectionType_bebop_sent_
int32_t PilotingSettingsPitchModeValue_bebop_value_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
PilotingSettingsMaxAltitude(ros::NodeHandle &priv_nh)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
PilotingSettingsNoFlyOverMaxDistance(ros::NodeHandle &priv_nh)
bool NetworkSettingsWifiSelectionBand_bebop_sent_
int32_t SpeedSettingsOutdoorOutdoor_bebop_value_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
int32_t PictureSettingsVideoFramerateFramerate_bebop_value_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
#define ROS_INFO_STREAM(args)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
PilotingSettingsMinAltitude(ros::NodeHandle &priv_nh)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_sent_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
PilotingSettingsAbsolutControl(ros::NodeHandle &priv_nh)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool PilotingSettingsMaxDistanceValue_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
GPSSettingsReturnHomeDelay(ros::NodeHandle &priv_nh)
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
PilotingSettingsPitchMode(ros::NodeHandle &priv_nh)
ARCONTROLLER_DICTIONARY_ARG_t * arg
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
bool hasParam(const std::string &key) const
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
mutable::boost::mutex mutex_
double PilotingSettingsMaxDistanceValue_bebop_value_
bool PilotingSettingsPitchModeValue_bebop_sent_
PilotingSettingsCirclingDirection(ros::NodeHandle &priv_nh)
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool PilotingSettingsCirclingRadiusValue_bebop_sent_
void setParam(const std::string &key, const XmlRpc::XmlRpcValue &v) const
bool PictureSettingsVideoResolutionsType_bebop_sent_
void Update(const ARCONTROLLER_DICTIONARY_ARG_t *arguments, const ::ros::Time &t)
bool PilotingSettingsMaxAltitudeCurrent_bebop_sent_
void UpdateBebopFromROS(const BebopArdrone3Config &config, const ARCONTROLLER_Device_t *bebop_ctrl_ptr_)
int32_t PilotingSettingsCirclingRadiusValue_bebop_value_
GPSSettingsHomeType(ros::NodeHandle &priv_nh)
int32_t PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_bebop_value_