Skip to content
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

use forward slashes instead of double underscores #364

Merged
merged 5 commits into from
Sep 1, 2017

Conversation

Karsten1987
Copy link
Contributor

The current parameter service and client implementation still use double underscores. I believe this has been forgotten to change when namespacing was introduced.

linux: Build Status
OSX: Build Status
Windows: Build Status (test failures unrelated)

@Karsten1987 Karsten1987 added the in review Waiting for review (Kanban column) label Aug 31, 2017
@Karsten1987 Karsten1987 self-assigned this Aug 31, 2017
@dirk-thomas
Copy link
Member

Should those service names share a common definition somewhere? At least in a header, maybe even in an .msg file?

@dirk-thomas
Copy link
Member

Should the header file be visible to the outside and therefore be in the include folder instead?

@Karsten1987
Copy link
Contributor Author

I don't think so, because in the end you'd call the ParameterClient/ParameterService to get the variants and don't want to actually call the service itself (IMO).
I further think that this needs more refactoring once we start implementing the parameters in C which is possibly the right place to also put these definitions into constants within a msg file.

Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Karsten1987
Copy link
Contributor Author

waiting on CI:

Build Status
Build Status
Build Status

@Karsten1987 Karsten1987 merged commit b1ed15e into master Sep 1, 2017
@Karsten1987 Karsten1987 removed the in review Waiting for review (Kanban column) label Sep 1, 2017
@Karsten1987 Karsten1987 deleted the forward_slashes_for_parameters branch September 1, 2017 17:00
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
* Changing security directory lookup to a prefix match rather than exact match.

Signed-off-by: Emerson Knapp <[email protected]>

* Changing security directory lookup to a prefix match rather than exact match.

Signed-off-by: Emerson Knapp <[email protected]>

* Changing security directory lookup to a prefix match rather than exact match.

Signed-off-by: Emerson Knapp <[email protected]>

* Changing security directory lookup to a prefix match rather than exact match.

Signed-off-by: Emerson Knapp <[email protected]>

* Adding security_directory module and moving rcl_get_secure_root function to it. Adding tests.

Signed-off-by: Emerson Knapp <[email protected]>

* Adding security_directory module and moving rcl_get_secure_root function to it. Adding tests.

Signed-off-by: Emerson Knapp <[email protected]>

* Adding security_directory module and moving rcl_get_secure_root function to it. Adding tests.

Signed-off-by: Emerson Knapp <[email protected]>

* Adding security_directory module and moving rcl_get_secure_root function to it. Adding tests.

Signed-off-by: Emerson Knapp <[email protected]>

* Adding security_directory module and moving rcl_get_secure_root function to it. Adding tests.

Signed-off-by: Emerson Knapp <[email protected]>

* Changing security directory prefix matching to be optional. Improving error messages around security directory lookup.

Signed-off-by: Emerson Knapp <[email protected]>

* Fixing get_best_matching_directory so that it always fetches the next file inside the loop.

Signed-off-by: Emerson Knapp <[email protected]>

* make pr ready for ros2cli security feature (#1)

* update docs about possibility of rcl_take no taking (ros2#356)

* update rcl_wait doc with respect to subs and possibility of failing takes

* add a note about possible failing takes in rcl_take docs

* 0.6.2

* Set rmw_wait timeout using ros timers too (ros2#357)

* 0.6.3

* Avoid timer period being set to 0 (ros2#359)

* Fix logic that moves goal handles when one expires (ros2#360)

* Fix error from uncrustify v0.68 (ros2#364)

* Ensure that context instance id storage is aligned correctly (ros2#365)

* Ensure that context instance id storage is aligned correctly

* Make alignment compatible with MSVC

* Namespace alignment macro with RCL_

* [rcl] Guard against bad allocation calling rcl_arguments_copy() (ros2#367)

* [rcl] Add test for copying arguments struct with no arguments

* Override allocate function in test to reveal bug

* [rcl] Only allocate arrays if there are things to copy in rcl_argument_copy()

Also guard against freeing invalid pointers if rcl_argument_copy() fails.

* Remove uncessary guard against NULL pointer

* linter, styles, uncrustify fixes

Signed-off-by: Emerson Knapp <[email protected]>

* Update rcl/include/rcl/security_directory.h

Co-Authored-By: AAlon <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>

* Adding line break in docstring

Signed-off-by: Emerson Knapp <[email protected]>

* Removing duplicate doc string

Signed-off-by: Emerson Knapp <[email protected]>

* Removing tinydir from the source tree, instead using the ROS package tinydir_vendor.

Signed-off-by: Emerson Knapp <[email protected]>

* Removing tinydir

Signed-off-by: Emerson Knapp <[email protected]>

* Reformatting license notice as per linter template.

Signed-off-by: Emerson Knapp <[email protected]>

* Update test_security_directory.cpp

Signed-off-by: Emerson Knapp <[email protected]>

* Changing input to putenv to be a global, statically allocated buffer.

Signed-off-by: Emerson Knapp <[email protected]>

* test_security_directory - Using a larger buffer for env string manipulations.

Signed-off-by: Emerson Knapp <[email protected]>

* Copy environment variable to allocated string so it is not clobbered by next lookup

Signed-off-by: Emerson Knapp <[email protected]>

* Address review comments

fix security directory exact match comment and unset env vars before tests

Signed-off-by: Emerson Knapp <[email protected]>

* Remove strncpy

Signed-off-by: Emerson Knapp <[email protected]>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* Adapt player publisher profile to recorded

Signed-off-by: Emerson Knapp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants