64 template <
typename TOrthogonal,
typename TSourceObject>
100 auto now = std::chrono::steady_clock::now();
110 getLogger(),
"[%s] Timed out after %ld ms without completing - posting failure",
111 getName().c_str(),
static_cast<long>(timeoutMs));
std::optional< std::chrono::steady_clock::time_point > watchdogStart_
CpVehicleStatus * vehicleStatus_
CpGoalChecker * goalChecker_
std::atomic< bool > completed_
void onStateOrthogonalAllocation()
virtual ~CbPx4ClientBehaviorBase()
CpVehicleLocalPosition * localPosition_
CpTrajectorySetpoint * trajectorySetpoint_
virtual void wireCompletionSignals()
std::atomic< int64_t > timeoutMs_
CpVehicleCommand * vehicleCommand_
void setTimeout(std::chrono::milliseconds timeout)
CpOffboardKeepAlive * offboardKeepAlive_
std::string getName() const
virtual rclcpp::Logger getLogger() const
void requiresComponent(SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT)
void onStateOrthogonalAllocation()