SMACC
Loading...
Searching...
No Matches
smacc_client_library
move_base_z_client
move_base_z_client_plugin
src
components
waypoints_navigator
waypoints_event_dispatcher.cpp
Go to the documentation of this file.
1
#include <
move_base_z_client_plugin/components/waypoints_navigator/waypoints_event_dispatcher.h
>
2
3
namespace
cl_move_base_z
4
{
5
void
WaypointEventDispatcher::postWaypointEvent
(
int
index)
6
{
7
auto
& fn =
postWaypointFn
[index %
WAYPOINTS_EVENTCOUNT
];
8
if
(fn!=
nullptr
)
9
fn();
10
}
11
}
// namespace smacc
cl_move_base_z::WaypointEventDispatcher::postWaypointEvent
void postWaypointEvent(int index)
Definition:
waypoints_event_dispatcher.cpp:5
cl_move_base_z::WaypointEventDispatcher::postWaypointFn
std::function< void()> postWaypointFn[WAYPOINTS_EVENTCOUNT]
Definition:
waypoints_event_dispatcher.h:1562
cl_move_base_z
Definition:
backward_global_planner.h:14
waypoints_event_dispatcher.h
WAYPOINTS_EVENTCOUNT
#define WAYPOINTS_EVENTCOUNT
Definition:
waypoints_event_dispatcher.h:1558
Generated by
1.9.5