12 subscriptions.goalReachedCallbacks.push_back(callback);
18 subscriptions.waypointReachedCallbacks.push_back(callback);
25 subscriptions.safetyThrottlingTriggeredCallbacks.push_back(callback);
31 subscriptions.safetyStopTriggeredCallbacks.push_back(callback);
37 subscriptions.userAbortTriggeredCallbacks.push_back(callback);
43 subscriptions.internalErrorCallbacks.push_back(callback);
49 subscriptions.movementStartedCallbacks.push_back(callback);
55 subscriptions.globalTrajectoryUpdatedCallbacks.push_back(callback);
61 subscriptions.globalPlanningFailedCallbacks.push_back(callback);
67 subscriptions.localPlanningFailedCallbacks.push_back(callback);
73 subscriptions.globalTrajectoryUpdatedCallbacks.push_back(callback);
79 subscriptions.localTrajectoryUpdatedCallbacks.push_back(callback);
85 for (
const auto& callback : subscriptions.goalReachedCallbacks)
94 for (
const auto& callback : subscriptions.waypointReachedCallbacks)
103 for (
const auto& callback : subscriptions.safetyThrottlingTriggeredCallbacks)
112 for (
const auto& callback : subscriptions.safetyStopTriggeredCallbacks)
121 for (
const auto& callback : subscriptions.userAbortTriggeredCallbacks)
130 for (
const auto& callback : subscriptions.internalErrorCallbacks)
139 for (
const auto& callback : subscriptions.globalTrajectoryUpdatedCallbacks)
148 for (
const auto& callback : subscriptions.localTrajectoryUpdatedCallbacks)
167 for (
const auto& callback : subscriptions.globalPlanningFailedCallbacks)
176 for (
const auto& callback : subscriptions.localPlanningFailedCallbacks)
185 for (
const auto& callback : subscriptions.movementStartedCallbacks)
void onUserAbortTriggered(const OnUserAbortTriggeredCallback &callback) override
void onSafetyStopTriggered(const OnSafetyStopTriggeredCallback &callback) override
void globalTrajectoryUpdated(const core::GlobalTrajectoryUpdatedEvent &event) override
void onWaypointReached(const OnWaypointReachedCallback &callback) override
void onMovementStarted(const OnMovementStartedCallback &callback) override
void onLocalPlanningFailed(const LocalPlanningFailedCallback &callback) override
void safetyThrottlingTriggered(const core::SafetyThrottlingTriggeredEvent &event) override
Will be called whenever safety throttling is triggered to a certain degree (configurable).
void onLocalTrajectoryUpdated(const LocalTrajectoryUpdatedCallback &callback) override
void movementStarted(const core::MovementStartedEvent &event) override
void localTrajectoryUpdated(const core::LocalTrajectoryUpdatedEvent &event) override
void onGoalReached(const OnGoalReachedCallback &callback) override
void onInternalError(const OnInternalErrorCallback &callback) override
void safetyStopTriggered(const core::SafetyStopTriggeredEvent &event) override
Will be called whenever a safety stop is triggered.
void onSafetyThrottlingTriggered(const OnSafetyThrottlingTriggeredCallback &callback) override
void onGlobalTrajectoryUpdated(const GlobalTrajectoryUpdatedCallback &callback) override
void localPlanningFailed(const core::LocalPlanningFailedEvent &event) override
void onGlobalPlanningUpdated(const GlobalTrajectoryUpdatedCallback &callback) override
void waypointReached(const core::WaypointReachedEvent &event) override
Will be called whenever the navigator reached a user-defined waypoint.
void globalPlanningFailed(const core::GlobalPlanningFailedEvent &event) override
void userAbortTriggered(const core::UserAbortTriggeredEvent &event) override
Will be called whenever the user aborts the current navigation.
void internalError(const core::InternalErrorEvent &event) override
Will be called whenever an internal error occurs.
void onGlobalPlanningFailed(const GlobalPlanningFailedCallback &callback) override
void goalReached(const core::GoalReachedEvent &event) override
Will be called whenever the navigator reached the goal.
This file is part of ArmarX.
std::function< void(const core::LocalPlanningFailedEvent &)> LocalPlanningFailedCallback
std::function< void(const core::GoalReachedEvent &)> OnGoalReachedCallback
std::function< void(const core::UserAbortTriggeredEvent &)> OnUserAbortTriggeredCallback
std::function< void(const core::SafetyStopTriggeredEvent &)> OnSafetyStopTriggeredCallback
std::function< void(const core::InternalErrorEvent &)> OnInternalErrorCallback
std::function< void(const core::GlobalTrajectoryUpdatedEvent &)> GlobalTrajectoryUpdatedCallback
std::function< void(const core::LocalTrajectoryUpdatedEvent &)> LocalTrajectoryUpdatedCallback
std::function< void(const core::MovementStartedEvent &)> OnMovementStartedCallback
std::function< void(const core::WaypointReachedEvent &)> OnWaypointReachedCallback
std::function< void(const core::GlobalPlanningFailedEvent &)> GlobalPlanningFailedCallback
std::function< void(const core::SafetyThrottlingTriggeredEvent &)> OnSafetyThrottlingTriggeredCallback
Event describing that the global trajectory was updated.
Event describing that the targeted goal was successfully reached.
Event describing the occurance of an internal unhandled error.
Event describing that the local trajectory was updated.
Event describing that for security reasons, the robot was stopped completely.
Event desciribing that a significant safety throttling factor was reached.
Event describing that the user aborted the current execution.
Event describing that a user-defined waypoint was successfully reached.