Skip to content

Commit

Permalink
some build improvement to match poulpe
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Dussieux committed Feb 13, 2024
1 parent 7ed3404 commit 2ddfbe5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions orbita2d_c_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ libc = "0.2.147"
once_cell = "1.18.0"
orbita2d_controller = { version = "0.1.0", path = "../orbita2d_controller" }
orbita2d_kinematics = { version = "0.1.0", path = "../orbita2d_kinematics" }
motor_toolbox_rs = { git = "https://github.com/pollen-robotics/motor_toolbox_rs", branch = "support-poulpe" }

[build-dependencies]
cbindgen = "0.24.5"
Expand Down
4 changes: 3 additions & 1 deletion orbita2d_c_api/src/controller.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use std::{ffi::CStr, sync::Mutex};

use once_cell::sync::Lazy;
use orbita2d_controller::{AngleLimit, Orbita2dController, motor_toolbox_rs::pid::PID};
use orbita2d_controller::{AngleLimit, Orbita2dController};
use motor_toolbox_rs::{PID};


use crate::sync_map::SyncMap;

Expand Down

0 comments on commit 2ddfbe5

Please sign in to comment.