Setting navdata_demo to off by default so all the data is being sent by Drone.

Esse commit está contido em:
Mani Monajjemi
2012-05-16 16:22:49 -07:00
commit d7024df907
2 arquivos alterados com 2 adições e 2 exclusões
+1 -1
Ver Arquivo
@@ -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--;
+1 -1
Ver Arquivo
@@ -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