File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed
include/generate_parameter_library_example_external Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1- # Example:
1+ # Using parameters defined in another package
2+
3+ This package is a minimal example demonstrating how the parameters defined in ` generate_parameter_library/example `
4+ can be used in a different package (i.e. the current one : ` generate_parameter_library/example_external ` ).
5+
6+ In particular, check the ` CMakeLists.txt ` file and the ` #include ` instructions in the source files.
27
38## Build the node
49
@@ -93,7 +98,8 @@ You should see:
9398 use_sim_time
9499 ```
95100
96- All parameter are automatically declared and callbacks are setup by default. You can set a parameter by typing:
101+ All parameters are automatically declared and callbacks are setup by default.
102+ You can set a parameter by typing:
97103
98104` ros2 param set /admittance_controller control.frame.id new_frame `
99105
@@ -103,7 +109,8 @@ You should see:
103109
104110Congratulations, you updated the parameter!
105111
106- If you try to set a parameter that is read only, you will get an error. Running the following
112+ If you try to set a parameter that is read only, you will get an error.
113+ Running the following
107114
108115` ros2 param set /admittance_controller command_interfaces ["velocity"] `
109116
Original file line number Diff line number Diff line change 1- // Copyright 2022 PickNik Inc.
1+ // Copyright 2025 Forssea Robotics
22//
33// Redistribution and use in source and binary forms, with or without
44// modification, are permitted provided that the following conditions are met:
1010// notice, this list of conditions and the following disclaimer in the
1111// documentation and/or other materials provided with the distribution.
1212//
13- // * Neither the name of the PickNik Inc. nor the names of its
13+ // * Neither the name of Forssea Robotics nor the names of its
1414// contributors may be used to endorse or promote products derived from
1515// this software without specific prior written permission.
1616//
Original file line number Diff line number Diff line change 1- // Copyright 2022 PickNik Inc.
1+ // Copyright 2025 Forssea Robotics
22//
33// Redistribution and use in source and binary forms, with or without
44// modification, are permitted provided that the following conditions are met:
1010// notice, this list of conditions and the following disclaimer in the
1111// documentation and/or other materials provided with the distribution.
1212//
13- // * Neither the name of the PickNik Inc. nor the names of its
13+ // * Neither the name of Forssea Robotics nor the names of its
1414// contributors may be used to endorse or promote products derived from
1515// this software without specific prior written permission.
1616//
You can’t perform that action at this time.
0 commit comments