Skip to main content

Module embedded

Module embedded 

Source
Expand description

Prelude module for convenient imports

Import everything you need with a single statement:

use nros::prelude::*;

phase-379 W5 — the RTOS machinery, named explicitly.

The second tier of the two-tier surface. nros::prelude is the API a ported ROS 2 node uses; everything here exists because the target is an RTOS, has no correspondent in rclrs/rclcpp/rclc, and a ROS 2 developer reading a node should not have to step over it.

Nothing moved out of nros:: — these are re-exports, and every name is still reachable at its old path. What changed is that they are no longer dragged in by use nros::prelude::*.

The membership rule is mechanical rather than taste: a name belongs in the PRELUDE iff the parity ledger gives it a non-extension verdict — i.e. it corresponds to something in rclrs, rclcpp or rclc. Names with no correspondent belong here, unless they are load-bearing for startup (ExecutorConfig, SpinOptions), which is an argued allow-list rather than an exception anyone may grow.

Re-exports§

pub use crate::MetadataRecorder;
pub use crate::NodeRuntimeAdapter;
pub use crate::RuntimeNodeRecord;
pub use crate::ActionTag;
pub use crate::Callback;
pub use crate::CallbackEffectKind;
pub use crate::CallbackEffects;
pub use crate::DeclaredNode;
pub use crate::DeclaredNodeRuntime;
pub use crate::EntityKind;
pub use crate::NodeRuntime;
pub use crate::ServiceTag;
pub use crate::SourceLocationMetadata;
pub use crate::SourceNameKind;
pub use crate::SubscriptionTag;
pub use crate::record_node_metadata;
pub use crate::register_node;
pub use crate::SourceMetadataExport;

Structs§

CdrReader
CDR reader for deserialization
CdrWriter
HandleId
Opaque handle identifier returned by registration methods.
HandleSet
A set of handle IDs, represented as a bitset.

Enums§

InvocationMode
Per-callback invocation mode.