-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow parameter changes while keeping defaults #146
Changes from 5 commits
d9520a9
dd13335
41b09e5
bd1f4e1
6b625b4
d9f4af0
58f1fd8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -212,6 +212,7 @@ good-names=a, | |
ax, | ||
ex, | ||
hz, | ||
kw, | ||
ns, | ||
Run, | ||
_ | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file is auto-generated by create_action_servers.py | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that this is in a commit and is updated by code, it should be added to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I initially put it in the I'd say we just have to be vigilant in PRs to verify changes to this file are not pushed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, I think |
||
ada_feeding_action_servers: | ||
ros__parameters: | ||
current: | ||
overridden_parameters: | ||
- "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doe we expect this to ever not be 3D? When?
If not, we should keep it a Tuple to enforce the size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We always expect it to be length 3, but the issue is that ROS2 params cannot be of type tuple, only type list. And Python's typing interface doesn't currently allow us to specify a length for Lists.
However, I found this discussion in the
mypy
library, which is a static type checker for Python. So I'll change it toAnnotated[Sequence[float], 3]
so that future Python type checkers can verify it.