mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
[wpical] Use updated thirdparty-ceres and move resource files (#8151)
This commit is contained in:
@@ -47,10 +47,18 @@ def eigen_inclusions(dp: Path, f: str):
|
||||
or "SSE" in dp.parts
|
||||
)
|
||||
|
||||
if (
|
||||
"StlSupport" in dp.parts
|
||||
and not f.endswith("StdList.h")
|
||||
and not f.endswith("StdDeque.h")
|
||||
):
|
||||
return True
|
||||
|
||||
# Include the following modules
|
||||
modules = [
|
||||
"Cholesky",
|
||||
"Core",
|
||||
"Dense",
|
||||
"Eigenvalues",
|
||||
"Geometry",
|
||||
"Householder",
|
||||
@@ -64,6 +72,7 @@ def eigen_inclusions(dp: Path, f: str):
|
||||
"SparseCore",
|
||||
"SparseLU",
|
||||
"SparseQR",
|
||||
"StdVector",
|
||||
"misc",
|
||||
"plugins",
|
||||
]
|
||||
|
||||
@@ -32,6 +32,9 @@ def copy_upstream_src(wpilib_root: Path):
|
||||
with open(f) as file:
|
||||
content = file.read()
|
||||
content = content.replace("#include <malloc.h>", "")
|
||||
content = content.replace(
|
||||
"suitesparse/cholmod_core.h", "suitesparse/cholmod.h"
|
||||
)
|
||||
content = content.replace(
|
||||
"// mrcal_point3_t *c_observations_point_pool = observations_point;",
|
||||
"mrcal_point3_t *c_observations_point_pool = observations_point;",
|
||||
|
||||
Reference in New Issue
Block a user