Skip to content
Snippets Groups Projects
Commit 4f19afa0 authored by Fabian Reister's avatar Fabian Reister
Browse files

Merge branch 'master' of gitlab.com:ArmarX/Navigation

parents bd081a79 ad18226b
No related branches found
No related tags found
No related merge requests found
......@@ -11,35 +11,61 @@
namespace armarx::nav::core
{
/**
* @brief Event describing that the targeted goal was successfully reached.
*/
struct GoalReachedEvent
{
core::Pose pose;
};
/**
* @brief Event describing that a user-defined waypoint was successfully reached.
*/
struct WaypointReachedEvent
{
core::Pose pose;
int waypointId;
};
/**
* @brief Event desciribing that a significant safety throttling factor was reached.
*
* Can be configured.
*/
struct SafetyThrottlingTriggeredEvent
{
core::Pose pose;
/**
* @brief Ratio of throttled velocity divided by desired velocity.
*
* Value between 0 and 1 where 0 means full stop and 1 full desired velocity without any throttling.
*/
float throttlingFactor = 1.0;
// TODO: Direction where safety-critical obstacle is (or range or whatever...).
};
/**
* @brief Event describing that for security reasons, the robot was stopped completely.
*/
struct SafetyStopTriggeredEvent
{
core::Pose pose;
// TODO: Direction where safety-critical obstacle is (or range or whatever...).
};
/**
* @brief Event describing that the user aborted the current execution.
*/
struct UserAbortTriggeredEvent
{
core::Pose pose;
};
/**
* @brief Event describing the occurance of an internal unhandled error.
*/
struct InternalErrorEvent
{
core::Pose pose;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment