|
FP Perception 0.1.2
|
The fp_perception package provides a standardized, plugin-based architecture for managing drivers (and related processing) that power perception systems in human-robot interaction (HRI) scenarios.
It enables modular development and dynamic loading of components at runtime using ROS 2's pluginlib, simplifying integration, testing, and extension of perception pipelines.
Start here:
Drivers:
DriverBase) and REST-backed drivers (RestBase)DriverBase is used to implement drivers that interact with perception hardware (e.g., cameras, audio devices).RestBase is used to implement drivers that interact with REST APIs (e.g., OpenAI, HuggingFace).Create the workspace folder
Clone the repository
Install dependencies
for any missing dependencies
build the workspace
If using microphone or speaker, configure the audio drivers by device_name when possible. The test guide shows how to confirm the selected PortAudio device and map it to an ALSA plughw:X,Y route for direct WAV playback checks.
See Test the System for startup validation, generated WAV checks, and service-call examples.
The launch files load the installed config from install/fp_perception/share/fp_perception/config/config.yaml. After editing src/fp_perception/fp_perception/config/config.yaml, rebuild fp_perception and re-source the workspace before relaunching.
fp_perception::DriverBase (or fp_perception::RestBase for REST-backed drivers).initialize, deinitialize) and whichever data methods you need (getData*, setData*).PLUGINLIB_EXPORT_CLASS.