Protective Stop
Loading...
Searching...
No Matches
protective_stop_machine::FleetCheckinConfig Struct Reference

Deployment values for the fleet check-in. More...

#include <fleet_checkin.hpp>

Public Attributes

std::string base_url
 http://host[:port]. Empty disables the check-in.
std::string key_file
 Path whose first line is the bearer token, chmod 600.
std::string app_version
 ament package version of protective_stop_machine.
std::string idf_version
 Runtime tag, e.g. "ros2-jazzy".
int interval_s {300}
 Seconds between check-ins. The ESP32 default is 300.
double http_timeout_s {15.0}
 Matches the ESP32's 15s check-in timeout.

Detailed Description

Deployment values for the fleet check-in.

Disabled when base_url is empty. PSTOP_CHECKIN_URL and PSTOP_CHECKIN_API_KEY_FILE override base_url and key_file. base_url is a base such as http://fleet.example:8000; the client appends /api/v1/checkin itself.


The documentation for this struct was generated from the following file: