-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ActionServer #270
Add ActionServer #270
Commits on Feb 15, 2019
-
* Add Action server functions to extension module * Separated service related macros into separate request and response calls * Add server goal handle functions to extension module * Update Action extension module to use conversion functions * Add partial implementation of Python ActionServer * Handles goal and cancel requests, responds, and calls user-defined functions for executing goals. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for f923126 - Browse repository at this point
Copy the full SHA f923126View commit details -
And some linting. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for de91864 - Browse repository at this point
Copy the full SHA de91864View commit details -
Pass an optional 'result_timeout' argument to the constructor specififying how long after a goal is completed to keep a reference to the result. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for eaca5a1 - Browse repository at this point
Copy the full SHA eaca5a1View commit details -
Fix incorrect module name in _rclpy_action.c
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for daac625 - Browse repository at this point
Copy the full SHA daac625View commit details -
Make thread safe and add tests involving concurrent goals
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 886adec - Browse repository at this point
Copy the full SHA 886adecView commit details -
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 24f0949 - Browse repository at this point
Copy the full SHA 24f0949View commit details -
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 385dd4f - Browse repository at this point
Copy the full SHA 385dd4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for de7aebc - Browse repository at this point
Copy the full SHA de7aebcView commit details -
Publish goal status array and fix feedback publishing
The goal status array is published whenever a goal state is updated. Published feedback messages should have the goal ID field populated, otherwise the message will be ignored at the rcl layer. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 9c5db87 - Browse repository at this point
Copy the full SHA 9c5db87View commit details -
Minor refactor in action unit tests
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for a4a0ea0 - Browse repository at this point
Copy the full SHA a4a0ea0View commit details -
Add
handle_accepted_callback
to ActionServerUpon accepting a goal, the provided `handle_accepted_callback` is called with a reference to the goal handle. The user can then decide to execute the goal or defer. If `handle_accepted_callback` is not provided, then the default behavior is to execute the goal handle immediately. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 8e4a34b - Browse repository at this point
Copy the full SHA 8e4a34bView commit details -
Add test for execute callback that does not set the goal state
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for fb33cb9 - Browse repository at this point
Copy the full SHA fb33cb9View commit details -
Reject goals processed by malformed goal callbacks
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for a37cd81 - Browse repository at this point
Copy the full SHA a37cd81View commit details -
Resolve issues regarding deferring and canceling goals
* Goal should first transition to CANCELING before CANCELED * Handle case where goal skips the EXECUTING state if deferred (accepted, but not executed) and then canceled Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 1b1e4d3 - Browse repository at this point
Copy the full SHA 1b1e4d3View commit details -
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 449244c - Browse repository at this point
Copy the full SHA 449244cView commit details
Commits on Feb 20, 2019
-
Avoid compiler warning from implicit cast
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 5d8881d - Browse repository at this point
Copy the full SHA 5d8881dView commit details
Commits on Feb 21, 2019
-
Use 'L' format for int64_t when calling PyArg_ParseTuple
This resolves test errors that were present in Windows builds. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for b53e7bc - Browse repository at this point
Copy the full SHA b53e7bcView commit details
Commits on Feb 22, 2019
-
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Configuration menu - View commit details
-
Copy full SHA for 19926d3 - Browse repository at this point
Copy the full SHA 19926d3View commit details