[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] 3abd41: FIX ardrone2_gazebo bu

From: Tom van Dijk
Subject: [paparazzi-commits] [paparazzi/paparazzi] 3abd41: FIX ardrone2_gazebo build error
Date: Wed, 12 Jun 2019 00:38:17 -0700

  Branch: refs/heads/sim_update
  Commit: 3abd412764475fc3257c254949d6946f87134a89
  Author: Tom van Dijk <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M sw/simulator/nps/nps_fdm_gazebo.cpp

  Log Message:
  FIX ardrone2_gazebo build error

linking error was caused by undefined reference to mt9f002 struct
(which is not used in the ardrone). Removing the NPS MT9F002 define
means that this struct is always linked, even though it may not be
used. To fix, I added an empty `__attribute__((weak))` struct that
prevents these linking errors, but could cause unexpected behavior
when a Bebop model or other model with mt9f002 camera is used
without the bebop_cam module.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]