libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::hal::platform Namespace Reference

Classes

struct  ComponentStatus
 Per-component outcome of a probe call. More...
struct  ProbeResult
struct  ProbeOptions
class  ProbeFailedError
class  Platform
 Hardware-health entry point. Implemented per platform bundle. More...

Enumerations

enum class  Component : uint8_t { Stm32Bridge , Imu , Motors }

Functions

const char * toString (Component component)
 Stable string form for logging and Python repr.

Enumeration Type Documentation

◆ Component

enum class libstp::hal::platform::Component : uint8_t
strong

Sub-systems verified by Platform::probe().

Stm32Bridge confirms that stm32-data-reader is alive and forwarding data over LCM. Imu confirms that orientation data is available — on the wombat this is signalled by reception of the heading channel. Motors confirms that motor telemetry (BEMF) is being published.

Enumerator
Stm32Bridge 
Imu 
Motors 

Definition at line 28 of file Platform.hpp.

Function Documentation

◆ toString()

const char * libstp::hal::platform::toString ( Component component)

Stable string form for logging and Python repr.