Add bitbots cargo#944
Conversation
… rename, Rust migration - Add bitbots_cargo cmake package with r2r_cargo(), cargo_pyo3_extension(), cargo_binary() helpers - Set up root Cargo workspace covering bitbots_extrinsic_calibration and bitbots_global_planner - Rename bitbots_rust_nav → bitbots_global_planner; remove stale pixi-build files - Bring PolygonObstacle/AnyObstacle and goal obstacle support into bitbots_global_planner - Migrate bitbots_extrinsic_calibration from C++ to Rust using bitbots_cargo - Add rust and clang to pixi deps; route cargo target into build/ via CARGO_TARGET_DIR activation env - Add cargo fmt pre-commit hook and rust-analyzer vscode settings - Update bitbots_path_planning import to use new bitbots_global_planner module name
Co-authored-by: MegaIng <cornelius@krupp.hamburg>
…ain into feature/bitbots_cargo
MegaIng
left a comment
There was a problem hiding this comment.
This doesn't build for me; It appears that a global llvm and/or clang version is being found instead which is missing some symbols.
|
Apparently: |
|
I don't like the vendoring solution in the latest commit. Feel free to revert this. |
|
Do we know why the robot is different in this regard? |
Summary
Add a way of integrating cargo with colcon.
Proposed changes
As a demonstration the extrinsic calibration node and the global planning library are build using this way. This should also fix the issue @ayin21 had on her laptop.
Related issues
Checklist
pixi run build