Describe the bug
Use of the make command fails and returns an error when building against branch release/1.12 on multiple targets including px4_sitl_default.
To Reproduce
Steps to reproduce the behavior:
Install developer tool chain and git clone PX4-Autopilot repo.
// use sensor voter to find best if SENS_IMU_MODE is enabled or ORB_ID(sensor_selection) has never published
checkFailover(_accel, "Accel");
checkFailover(_gyro, "Gyro");
It's possible this is due to the lack of existence of src/lib/events in the release/1.12 branch.
The target compiles successfully on checkout of tag v1.12.0.
Describe the bug Use of the
make
command fails and returns an error when building against branch release/1.12 on multiple targets includingpx4_sitl_default
.To Reproduce Steps to reproduce the behavior:
git checkout release/1.12
.git submodule update --init --recursive
make px4_sitl_default
.Expected behavior Clean compilation of the intended target.
Log Files and Screenshots The complete terminal output following the make command is given below, including the error message.
Additional context The error seems to have appeared following commit 0f46220. The target will compile successfully if lines 217-219 of src/modules/sensors/voted_sensors_update.cpp are altered as follows.
It's possible this is due to the lack of existence of src/lib/events in the
release/1.12
branch. The target compiles successfully on checkout of tag v1.12.0.