-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit makes the changes below: * generate type class strings for messages and services * narrow down `TypeClass` type from `string` to known values * generate typings for *Wrapper javascript classes * generate constants as 'const enum' These provide intellisense for typeclass names and allow constants to be referenced by value. The constants are generated with '_Constants' suffix, since ros does not allow underscores in the message name, this should be safe from any conflicts. This is also same as how the ros idl generator exports the constants. Fix #550
- Loading branch information
Teo Koon Peng
authored
Feb 17, 2020
1 parent
db2a685
commit a04c6d2
Showing
3 changed files
with
167 additions
and
116 deletions.
There are no files selected for viewing
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.