PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.27k stars 13.43k forks source link

px4 Eigen #15958

Open LiBin971204 opened 3 years ago

LiBin971204 commented 3 years ago

How ca I use eigen library in px4 firmware?

Thanks!

dagar commented 3 years ago

Eigen is usable as a C++ header only library. The only thing you need to be careful of is C++ usage in NuttX (mainly avoid the standard library std::).

dagar commented 3 years ago

I'd also take a look at PX4/Matrix (https://github.com/PX4/Matrix) which is similar to Eigen, albeit a smaller, simpler subset.

Antefos commented 3 years ago

@LiBin971204 have you solved the problem in some way?

mengchaoheng commented 6 months ago

How to build with Eigen? @dagar @LiBin971204

lvyiqun commented 5 months ago

How to build with Eigen? @dagar @LiBin971204

I also have the same problem, have you achieved it?