Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Navigation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
Skills
Navigation
Commits
4f19afa0
Commit
4f19afa0
authored
3 years ago
by
Fabian Reister
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.com:ArmarX/Navigation
parents
bd081a79
ad18226b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Navigation/libraries/core/events.h
+26
-0
26 additions, 0 deletions
source/Navigation/libraries/core/events.h
with
26 additions
and
0 deletions
source/Navigation/libraries/core/events.h
+
26
−
0
View file @
4f19afa0
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment