Skip to content

Get parameters that aren't set#493

Merged
sloretz merged 3 commits intomasterfrom
get_not_set_parameters
Jun 6, 2018
Merged

Get parameters that aren't set#493
sloretz merged 3 commits intomasterfrom
get_not_set_parameters

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Jun 6, 2018

Parameters that are queried but don't exist on the node should return a value with type NOT_SET to comply with the service definition in rcl_interfaces.

This PR only changes the behavior of the get_parameters service. The C++ API doesn't have the same problem (it returns both the name and the value of the parameter), so this PR adds documentation to it instead.

Fixes #490
connects to #490

@sloretz sloretz added the bug Something isn't working label Jun 6, 2018
@sloretz sloretz added this to the bouncy milestone Jun 6, 2018
@sloretz sloretz self-assigned this Jun 6, 2018
@sloretz sloretz added the in progress Actively being worked on (Kanban column) label Jun 6, 2018
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Jun 6, 2018

Keeping In progress label, while CI runs

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@sloretz sloretz added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jun 6, 2018
rclcpp::Parameter
get_parameter(const std::string & name) const = 0;

/// Return the description of one parameter given a name.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy-n-paste ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed "Return" to "Get" in 886cf2a.

@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Jun 6, 2018

Assuming 886cf2a won't break CI since it only shortens comments, and merging.

@sloretz sloretz merged commit 9b294ec into master Jun 6, 2018
@sloretz sloretz removed the in review Waiting for review (Kanban column) label Jun 6, 2018
@sloretz sloretz deleted the get_not_set_parameters branch June 6, 2018 17:23
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
* Fail fast on invalid ROS arguments.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>

* Address peer review comments.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>

* Fix warning on Windows.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* add storage_config_uri

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* linters and tests

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* move storage options to rosbag2_storage

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* use storage options to open storage backends

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* add rosbag2_py to metapackage

Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants