MemoryPublisher.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 
9 {
10 
12  {
13 
14  public:
17  const std::string& clientId);
18 
21  // void trajectoryControllerUpdated(
22  // const traj_ctrl::local::TrajectoryControllerResult& res) override;
23 
24  void globalPlanningFailed(const core::GlobalPlanningFailedEvent& event) override;
25  void localPlanningFailed(const core::LocalPlanningFailedEvent& event) override;
26 
27 
28  void movementStarted(const core::MovementStartedEvent& event) override;
29  void goalReached(const core::GoalReachedEvent& event) override;
30 
31  void waypointReached(const core::WaypointReachedEvent& event) override;
32 
34 
35  void safetyStopTriggered(const core::SafetyStopTriggeredEvent& event) override;
36 
37  void userAbortTriggered(const core::UserAbortTriggeredEvent& event) override;
38 
39  void internalError(const core::InternalErrorEvent& event) override;
40 
41  // Non-API.
42  ~MemoryPublisher() override = default;
43 
44  private:
47 
48  const std::string clientId;
49  };
50 
51 } // namespace armarx::navigation::server
armarx::navigation::server::MemoryPublisher::localPlanningFailed
void localPlanningFailed(const core::LocalPlanningFailedEvent &event) override
Definition: MemoryPublisher.cpp:74
Writer.h
armarx::navigation::server::MemoryPublisher::MemoryPublisher
MemoryPublisher(armarx::navigation::memory::client::stack_result::Writer *resultWriter, armarx::navigation::memory::client::events::Writer *eventsWriter, const std::string &clientId)
Definition: MemoryPublisher.cpp:85
armarx::navigation::local_planning::LocalPlannerResult
Definition: LocalPlanner.h:40
armarx::navigation::core::InternalErrorEvent
Event describing the occurance of an internal unhandled error.
Definition: events.h:101
armarx::navigation::server::MemoryPublisher::movementStarted
void movementStarted(const core::MovementStartedEvent &event) override
Definition: MemoryPublisher.cpp:80
armarx::navigation::server::MemoryPublisher::safetyStopTriggered
void safetyStopTriggered(const core::SafetyStopTriggeredEvent &event) override
Will be called whenever a safety stop is triggered.
Definition: MemoryPublisher.cpp:29
armarx::navigation::core::SafetyThrottlingTriggeredEvent
Event desciribing that a significant safety throttling factor was reached.
Definition: events.h:68
armarx::navigation::server::MemoryPublisher::waypointReached
void waypointReached(const core::WaypointReachedEvent &event) override
Will be called whenever the navigator reached a user-defined waypoint.
Definition: MemoryPublisher.cpp:15
armarx::navigation::server::MemoryPublisher::internalError
void internalError(const core::InternalErrorEvent &event) override
Will be called whenever an internal error occurs.
Definition: MemoryPublisher.cpp:43
armarx::navigation::server::MemoryPublisher::localTrajectoryUpdated
void localTrajectoryUpdated(const local_planning::LocalPlannerResult &res) override
Definition: MemoryPublisher.cpp:55
armarx::navigation::server
This file is part of ArmarX.
Definition: EventPublishingInterface.h:10
armarx::navigation::server::MemoryPublisher::globalTrajectoryUpdated
void globalTrajectoryUpdated(const global_planning::GlobalPlannerResult &res) override
Definition: MemoryPublisher.cpp:49
armarx::navigation::server::MemoryPublisher::userAbortTriggered
void userAbortTriggered(const core::UserAbortTriggeredEvent &event) override
Will be called whenever the user aborts the current navigation.
Definition: MemoryPublisher.cpp:36
armarx::navigation::server::MemoryPublisher::safetyThrottlingTriggered
void safetyThrottlingTriggered(const core::SafetyThrottlingTriggeredEvent &event) override
Will be called whenever safety throttling is triggered to a certain degree (configurable).
Definition: MemoryPublisher.cpp:22
armarx::navigation::server::MemoryPublisher::~MemoryPublisher
~MemoryPublisher() override=default
armarx::navigation::server::MemoryPublisher::goalReached
void goalReached(const core::GoalReachedEvent &event) override
Will be called whenever the navigator reached the goal.
Definition: MemoryPublisher.cpp:8
armarx::navigation::core::SafetyStopTriggeredEvent
Event describing that for security reasons, the robot was stopped completely.
Definition: events.h:84
armarx::navigation::core::UserAbortTriggeredEvent
Event describing that the user aborted the current execution.
Definition: events.h:93
armarx::navigation::global_planning::GlobalPlannerResult
Definition: GlobalPlanner.h:38
armarx::navigation::core::GlobalPlanningFailedEvent
Definition: events.h:31
armarx::navigation::core::GoalReachedEvent
Event describing that the targeted goal was successfully reached.
Definition: events.h:49
armarx::navigation::server::MemoryPublisher
Definition: MemoryPublisher.h:11
armarx::navigation::memory::client::stack_result::Writer
Definition: Writer.h:35
EventPublishingInterface.h
Writer.h
armarx::navigation::server::MemoryPublisher::globalPlanningFailed
void globalPlanningFailed(const core::GlobalPlanningFailedEvent &event) override
Definition: MemoryPublisher.cpp:69
armarx::navigation::core::WaypointReachedEvent
Event describing that a user-defined waypoint was successfully reached.
Definition: events.h:57
armarx::navigation::memory::client::events::Writer
Definition: Writer.h:35
armarx::navigation::server::EventPublishingInterface
A publisher the server navigator will use to notify others about events.
Definition: EventPublishingInterface.h:16
armarx::navigation::core::LocalPlanningFailedEvent
Definition: events.h:36
armarx::navigation::core::MovementStartedEvent
Definition: events.h:41