There was an error while loading. Please reload this page.
1 parent 560c271 commit 47d1b51Copy full SHA for 47d1b51
2 files changed
crates/code_generation/src/cyclers.rs
@@ -391,7 +391,7 @@ fn generate_start_method(cycler_kind: CyclerKind) -> TokenStream {
391
let scheduler_tokens = match cycler_kind {
392
CyclerKind::Perception => TokenStream::new(),
393
CyclerKind::RealTime => quote! {
394
- #[cfg(feature = "realtime")]
+ #[cfg(all(feature = "realtime", not(feature = "is_webots")))]
395
unsafe {
396
let priority = libc::sched_param {
397
sched_priority: 5,
crates/hulk/Cargo.toml
@@ -50,3 +50,4 @@ source_analyzer = { workspace = true }
50
[features]
51
realtime = ["libc"]
52
systemd = ["dep:systemd"]
53
+is_webots = []
0 commit comments