Setting navdata_demo to off by default so all the data is being sent by Drone.
Esse commit está contido em:
@@ -53,7 +53,7 @@ void ARDroneDriver::run()
|
||||
{
|
||||
// For some unknown reason, sometimes the ardrone critical configurations are not applied
|
||||
// when the commands are being sent during SDK initialization. This is a trick to send critical
|
||||
// configurations sometime after SDK boots up. The navdata_demo saves around 300 KBytes/Sec bw!
|
||||
// configurations sometime after SDK boots up.
|
||||
if (configDone == false)
|
||||
{
|
||||
configWate--;
|
||||
|
||||
@@ -24,7 +24,7 @@ bool toggleNavdataDemoCallback(std_srvs::Empty::Request& request, std_srvs::Empt
|
||||
//All global drone configs that should be sent on init
|
||||
|
||||
#define DEFAULT_CAM_STATE 0
|
||||
#define DEFAULT_NAVDATA_DEMO 1
|
||||
#define DEFAULT_NAVDATA_DEMO 0
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário