-
Notifications
You must be signed in to change notification settings - Fork 509
Conversation
2ba58a6
to
f683b48
Compare
This is outside my competence to review as I do not have the necessary understanding of the make system. |
It was more of an FYI, from the PX4 workflow perspective this doesn't actually change anything. A few notes
|
Why was this merged without review? It breaks a build I am working on for another project. |
Where is it broken? Those types of concerns were why I tagged you for review. There actually isn't much risk in this PR, it's a lot of cmake to replace this single file https://github.com/PX4/ecl/blob/1bd1809d6e5c790f3eeedb1cb967d67dfc9bec54/CMakeLists.txt. |
I also don't understand why I was added for review if I don't even get the time for doing it. There is still a time difference between US, Australia and Switzerland that cannot be neglected. Otherwise a |
There was less than half a day from when i got up this morning and saw the PR to when it was merged without review. I indicated i did not have the competence in the are of build systems to review it. When I got back to it this afternoon to try building it with my project it had already been merged. Normally this sort of urgency is reserved for hot fixes. |
I am getting multiple undefined reference errors, eg: /Users/paul/src/Firmware/build/tap-v3_default_replay/../../src/modules/ekf2/ekf2_main.cpp:1302: undefined reference to `Ekf::get_hagl_innov_var(float*)' I am currently working through incorporating the cmake changes in https://github.com/PX4/Firmware/pull/9406/files. |
I will get some assistance from the project to try and resolve the build errors @simonegu FYI |
This PR was a combination of both trivial (certain that the generated output was identical) and large (many files moved around). There was no urgency to merge it, but I'd also rather not let it sit around requiring multiple rebases. Please let me know if and when active development is underway and I will happily hold off on large changes like this. |
@priseborough in your branch (output above) what do you have in the ekf2 CMakeLists.txt? https://github.com/PX4/Firmware/blob/master/src/modules/ekf2/CMakeLists.txt#L43-L45 |
px4_add_module( |
Are you able to cherry-pick this commit? PX4/PX4-Autopilot@2e92484 You're missing the ecl_EKF and ecl_geo libraries as dependencies (DEPENDS). |
Not without generating conflicts in almost every file. I need to work through them with the project developers. |
The fact that it didn't cherry-pick cleanly makes me think there must be some other large changes in the way. Without the cherry-picked commit (PX4/PX4-Autopilot@2e92484) all you need to do is add the appropriate library to the DEPENDS section of px4_add_module if you get an undefined reference when building. The libraries (ecl_EKF, ecl_geo, ecl_tecs) correspond to the top level modules/folders in the ECL project. For example...
|
This updates ECL cmake so that it's the same if built standalone or included in another project like PX4.