Ask Your Question

Revision history [back]

In the current electric implementation, the action servers are actually instantiated in the init method which is called outside the real time loop. When an action goal comes in, the callbacks are executed in the thread that is calling spin (the main thread, not the real time thread for the PR2). The goal callback then sets the goal for the controller running in the realtime loop (joint_trajectory_action_controller.cpp, line 985).