Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,19 @@ cpp_name_space:
type: double_array
```

The generated parameter value for the nested map example can then be accessed with `params.gain.joints_map.at("joint1").interfaces_map.at("position").value`.
The generated parameter value for the nested map example can then be accessed with:

**C++**

```c++
params.gain.joints_map.at("joint1").interfaces_map.at("position").value
```

**Python**

```python
params.gain.get_entry("joint1").get_entry("position").value
```

### Use generated struct in Cpp
The generated header file is named based on the target library name you passed as the first argument to the cmake function.
Expand Down
Loading