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

change terminology of static and (un)bounded dynamic arrays #597

Closed
dirk-thomas opened this issue Nov 2, 2018 · 7 comments
Closed

change terminology of static and (un)bounded dynamic arrays #597

dirk-thomas opened this issue Nov 2, 2018 · 7 comments
Assignees

Comments

@dirk-thomas
Copy link
Member

When we wrote the design article about interface definitions we needed to distinguish three different kind of arrays and came up with these terms:

  • "static array": arrays with a static size
  • "dynamic unbounded arrays": arrays with a dynamic size and no upper boundary
  • "dynamic bounded arrays": arrays with a dynamic size and an upper boundary

In preparation of the migration to IDL we should change our terminology to match the specification.

  • array equates to "static array" from above
  • (unbounded) sequence equates to "dynamic unbounded arrays" from above
  • bounded sequence equates to "dynamic bounded arrays" from above

This ticket will serve as a meta ticket for PRs renaming types, functions, variables, files, etc.

@dirk-thomas
Copy link
Member Author

dirk-thomas commented Nov 2, 2018

All referenced PRs are ready for review.

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

@wjwwood
Copy link
Member

wjwwood commented Nov 2, 2018

Renaming sounds fine to me.

@mjcarroll
Copy link
Member

Looks like there were a few places where array -> sequence caused us to violate line lengths.

@jacobperron
Copy link
Member

Should ROS message types in rcl_interfaces/test_msgs be renamed for consistency?

@dirk-thomas
Copy link
Member Author

Build Status

Should ROS message types in rcl_interfaces/test_msgs be renamed for consistency?

That could be done. Since it doesn't affect the API touched by the IDL work I didn't include it in this set of patches.

@mjcarroll
Copy link
Member

All look good to me provided that those few linting issues are resolved.

@dirk-thomas
Copy link
Member Author

And another linter fix: ros2/rosidl@2d11c37#diff-e989a753d48150acb8507440277b41b4R15

CI only running the linter of the failing test: Build Status

@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Nov 2, 2018
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

No branches or pull requests

4 participants