Merge branch 'master' into ahrs_refactor

to get the ABI changes (not forced to pass const pointers)

* master: (99 commits)
  [abi] allow to pass variables by value
  Sign of pitch roll axis changed and yaw fit
  [opticflow] dox
  [opticflow] working variables in a struct
  Added new RC USB type joystick from Hobbyking
  Messages in module instead of thread
  fix thread communication
  convert to thread-communication
  [module] video_usb_logger
  [opticflow] example using unix domain sockets to return thread results
  [opticflow] compute V_body in hover_stabilization
  [python] ivy_msg_interface returns only ac_id and msg
  [python] ivytoredis: publish msg as json
  [python] refactor messages
  [python] messages: fix typo
  [python] messages: PPRZ_HOME
  [fix] fix extra_dl and pprrzlog
  [stm32] use desig_get_unique_id from libopencm3
  [fix] call pprzlog_init if needed (and avoid segfault)
  [message] improve ivy perf by only waiting for ALIVE by default
  ...
This commit is contained in:
Felix Ruess
2015-02-07 16:11:54 +01:00
131 changed files with 11473 additions and 733 deletions
+1 -1
View File
@@ -550,7 +550,7 @@ void navdata_update()
// Check if there is a new sonar measurement and update the sonar
if (navdata.ultrasound >> 15) {
float sonar_meas = (float)((navdata.ultrasound & 0x7FFF) - SONAR_OFFSET) * SONAR_SCALE;
AbiSendMsgAGL(AGL_SONAR_ARDRONE2_ID, &sonar_meas);
AbiSendMsgAGL(AGL_SONAR_ARDRONE2_ID, sonar_meas);
}
#endif