Go to the documentation of this file.
7 subscriptions.goalReachedCallbacks.push_back(callback);
15 subscriptions.waypointReachedCallbacks.push_back(callback);
23 subscriptions.safetyThrottlingTriggeredCallbacks.push_back(callback);
31 subscriptions.safetyStopTriggeredCallbacks.push_back(callback);
39 subscriptions.userAbortTriggeredCallbacks.push_back(callback);
47 subscriptions.internalErrorCallbacks.push_back(callback);
51 armarx::navigation::client::SimpleEventHandler::SimpleEventHandler::onMovementStarted(
54 subscriptions.movementStartedCallbacks.push_back(callback);
61 subscriptions.globalPlanningFailedCallbacks.push_back(callback);
68 subscriptions.localPlanningFailedCallbacks.push_back(callback);
74 for (
const auto& callback : subscriptions.goalReachedCallbacks)
85 for (
const auto& callback : subscriptions.waypointReachedCallbacks)
96 for (
const auto& callback : subscriptions.safetyThrottlingTriggeredCallbacks)
107 for (
const auto& callback : subscriptions.safetyStopTriggeredCallbacks)
118 for (
const auto& callback : subscriptions.userAbortTriggeredCallbacks)
128 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 safetyStopTriggered(const core::SafetyStopTriggeredEvent &event) override
Will be called whenever a safety stop is triggered.
std::function< void(const core::WaypointReachedEvent &)> OnWaypointReachedCallback
std::function< void(const core::GlobalPlanningFailedEvent &)> GlobalPlanningFailedCallback
void movementStarted(const core::MovementStartedEvent &event) override
void safetyThrottlingTriggered(const core::SafetyThrottlingTriggeredEvent &event) override
Will be called whenever safety throttling is triggered to a certain degree (configurable).
Event describing the occurance of an internal unhandled error.
void localTrajectoryUpdated(const local_planning::LocalPlannerResult &event) override
Event desciribing that a significant safety throttling factor was reached.
void onSafetyThrottlingTriggered(const OnSafetyThrottlingTriggeredCallback &callback) override
void globalPlanningFailed(const core::GlobalPlanningFailedEvent &event) override
void internalError(const core::InternalErrorEvent &event) override
Will be called whenever an internal error occurs.
This file is part of ArmarX.
std::function< void(const core::LocalPlanningFailedEvent &)> LocalPlanningFailedCallback
void localPlanningFailed(const core::LocalPlanningFailedEvent &event) override
void onInternalError(const OnInternalErrorCallback &callback) override
void userAbortTriggered(const core::UserAbortTriggeredEvent &event) override
Will be called whenever the user aborts the current navigation.
void onGoalReached(const OnGoalReachedCallback &callback) override
Event describing that for security reasons, the robot was stopped completely.
std::function< void(const core::UserAbortTriggeredEvent &)> OnUserAbortTriggeredCallback
std::function< void(const core::SafetyThrottlingTriggeredEvent &)> OnSafetyThrottlingTriggeredCallback
void onWaypointReached(const OnWaypointReachedCallback &callback) override
Event describing that the user aborted the current execution.
Event describing that the targeted goal was successfully reached.
void onUserAbortTriggered(const OnUserAbortTriggeredCallback &callback) override
void onGlobalPlanningFailed(const GlobalPlanningFailedCallback &callback) override
void onSafetyStopTriggered(const OnSafetyStopTriggeredCallback &callback) override
void goalReached(const core::GoalReachedEvent &event) override
Will be called whenever the navigator reached the goal.
std::function< void(const core::MovementStartedEvent &)> OnMovementStartedCallback
void waypointReached(const core::WaypointReachedEvent &event) override
Will be called whenever the navigator reached a user-defined waypoint.
Event describing that a user-defined waypoint was successfully reached.
std::function< void(const core::InternalErrorEvent &)> OnInternalErrorCallback
std::function< void(const core::SafetyStopTriggeredEvent &)> OnSafetyStopTriggeredCallback
void globalTrajectoryUpdated(const global_planning::GlobalPlannerResult &event) override
void onLocalPlanningFailed(const LocalPlanningFailedCallback &callback) override
std::function< void(const core::GoalReachedEvent &)> OnGoalReachedCallback