-
Notifications
You must be signed in to change notification settings - Fork 130
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 generators to IDL-based pipeline, change char type, separate action types #334
Merged
Merged
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
6a4f053
add Python function for IDL-based generators
dirk-thomas 0b1f412
update C and C++ message generators to use IDL-based extension point
dirk-thomas 6923cb9
update includes in typesupport packages
dirk-thomas 4cec368
replace separate action generation with IDL-based approach
dirk-thomas 8d39c7b
don't pass .action files to legacy message generators
dirk-thomas 565de64
temporary use custom map in not yet updated generator
dirk-thomas c3c623b
strip action specific suffixes from include filename
dirk-thomas ee172fc
add action templates to list of dependencies
dirk-thomas 88184c7
match constants with message
dirk-thomas 81de283
traits
dirk-thomas 8a815bf
native path
dirk-thomas a9ed3b7
escape JSON correctly
dirk-thomas 1347384
rsplit
dirk-thomas 8940706
fix warning
dirk-thomas 087bd40
comment fix
dirk-thomas a19de6d
unique include directives
dirk-thomas ced1df9
make pydot optional
dirk-thomas 37e4709
fix linter
dirk-thomas 2fe479f
linter
dirk-thomas 4bbb09b
fix comment
dirk-thomas a3911f2
remove service check for feedback suffix
dirk-thomas a5ce54a
use UINT8_MAX
dirk-thomas f4124af
fix comment
dirk-thomas 3b764f3
extend action struct with FeedbackMessage
dirk-thomas 6f56a6f
update C and C++ introspection typesupport generators to use IDL-base…
dirk-thomas e9f1e87
add missing symbols
dirk-thomas 7b0bb21
address linter warnings
dirk-thomas db2f4e3
instantiate parser on demand
dirk-thomas ef5e329
Add option to generate_files() for keeping idl filename case (#336)
jacobperron 61f80d8
remove unused var
dirk-thomas f56f18d
remove comment
dirk-thomas f618c8d
fix missing import introduced during rebase
dirk-thomas b343af1
change exported variable from <pkg>_INTERFACE_FILES to <pkg>_IDL_FILE…
dirk-thomas bdffa21
keep <pkg>_INTERFACE_FILES for legacy generators
dirk-thomas 38b6cff
fix upper string length for nested strings
dirk-thomas c66ef87
fix default value for strings with upper bounds
dirk-thomas 0360b23
fix classification of unbounded sequence of bounded strings
dirk-thomas 5dc61d0
fix previous fix
dirk-thomas 2f067d6
Adds includes for action wrapper IDL messages fields. (#337)
hidmic 15908c5
Use set comprehension instead (nit fix)
hidmic 54b25a1
fix adding actions
dirk-thomas b5d2ae4
Add missing closing brace for 'extern C'
jacobperron f333f96
fix missing service request/response symbols
dirk-thomas 62c6f79
don't generate png of AST by default
dirk-thomas cde2a3f
expose function to get AST
dirk-thomas 84f6ec1
no enum support yet
dirk-thomas 0b8ae2b
fix more missing symbols
dirk-thomas 666080f
fixup
dirk-thomas 1fa8b66
fix includes
dirk-thomas 3d7cb50
undef NO_ERROR for Windows
jacobperron 6878369
dump working copy
dirk-thomas a0fc35c
fix struct identifier extraction when having an annotation
dirk-thomas 0287060
match renamed action types
dirk-thomas adfc7eb
update grammar to improve parse performance
dirk-thomas 6646bf4
remove obsolete ImplicitFieldCollision logic
dirk-thomas af54767
update action tests
dirk-thomas f1800fe
fix value range of char in adapter
dirk-thomas 3758e70
fix char being unsigned
dirk-thomas 7e41aa3
disable debug images of AST
dirk-thomas 63cd827
use unique_identifier_msgs for goal id
dirk-thomas 3c75b52
up doc
dirk-thomas 0ec66e4
fix regression on Windows
dirk-thomas 355af2e
remove obsolete comment
dirk-thomas ab1b43a
try to fix Windows warning
dirk-thomas 2c58d6c
remove obsolete constant
dirk-thomas 2555d3e
targeting Dashing
dirk-thomas 5217c46
removed comment
dirk-thomas f5ee01c
moved template calls
dirk-thomas 19aea38
remove obsolete todo
dirk-thomas e155168
removed commented code
dirk-thomas b0f4c42
fix initialization of u16string
dirk-thomas cca3f1a
fix u16string len
dirk-thomas e842f17
avoid double initialization
dirk-thomas 82cef24
moved template calls
dirk-thomas e668e85
comment in test
dirk-thomas 48bd7d0
fix has_bounded_size trait
dirk-thomas b51372f
readd explicit dependency on absolute paths of idl files
dirk-thomas 1509ae8
reduce logic with all action related types being in a single file
dirk-thomas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It looks like this might trigger for fixed sized array's of nested messages if the package name starts with
string
because ofrosidl/rosidl_adapter/rosidl_adapter/msg/__init__.py
Lines 96 to 97 in ab1b43a
rosidl/rosidl_adapter/rosidl_adapter/msg/__init__.py
Lines 102 to 103 in ab1b43a
rosidl/rosidl_adapter/rosidl_adapter/resource/struct.idl.em
Line 43 in ab1b43a
I assume
startswith
is used for bounded strings?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.
The function is only used for constant values and default values. So nested messages aren't supported in these cases atm. While certainly not future proof I think it is good enough for now.