Expand description
Common copper traits and types for robotics systems.
This crate is no_std compatible by default. Enable the “std” feature for additional
functionality like implementing std::error::Error for CuError and the
new_with_cause method that accepts types implementing std::error::Error.
§Features
std(default): Enables standard library support- Implements
std::error::ErrorforCuError - Adds
CuError::new_with_cause()method for interop with std error types
- Implements
§no_std Usage
To use without the standard library:
[dependencies]
cu29-traits = { version = "0.9", default-features = false }Structs§
- CuCompact
String - CuError
- Common copper Error type.
Enums§
- Unified
LogType - Defines the types of what can be logged in the unified logger.
Constants§
Traits§
- Copper
List Tuple - A CopperListTuple needs to be encodable, decodable and fixed size in memory.
- CuMsg
Metadata Trait - Key metadata piece attached to every message in Copper.
- Erased
CuStamped Data - A generic trait to expose the generated CuStampedDataSet from the task graph.
- Erased
CuStamped Data Set - Trait to get a vector of type-erased CuStampedDataSet This is used for generic serialization of the copperlists
- Matching
Tasks - Trait to trace back from the CopperList the origin of the messages
- Metadata
- Represent the minimum set of traits to be usable as Metadata in Copper.
- Write
Stream - Defines a basic write, append only stream trait to be able to log or send serializable objects.