Skip to content

Conversation

@jacobperron
Copy link

Copy of ros2-java#165.

pluris and others added 8 commits January 6, 2021 13:52
* Avoid nullptr access when converting from Java arrays to C arrays
* Make sure Java arrays are initialized

Signed-off-by: Jacob Perron <[email protected]>
Signed-off-by: Jacob Perron <[email protected]>
@jacobperron jacobperron requested a review from ivanpauno January 6, 2021 22:17
@jacobperron jacobperron self-assigned this Jan 6, 2021
@jacobperron
Copy link
Author

cc/ @mallanmba

@jacobperron jacobperron merged commit c012ba8 into galactic-devel Jan 7, 2021
@jacobperron jacobperron deleted the jacob/list_to_array branch January 7, 2021 18:33
ivanpauno pushed a commit that referenced this pull request May 17, 2021
* change logic(list -> array) in msg.java.em

* change logic(list -> array) in msg.cpp.em

* Support getting and setting as Lists in addition to arrays

Signed-off-by: Jacob Perron <[email protected]>

* Update rcljava to work with new methods for list types

Signed-off-by: Jacob Perron <[email protected]>

* Update tests to work with new methods for list types

Signed-off-by: Jacob Perron <[email protected]>

* Fixes to template files

* Avoid nullptr access when converting from Java arrays to C arrays
* Make sure Java arrays are initialized

Signed-off-by: Jacob Perron <[email protected]>

* Minor refactor

Signed-off-by: Jacob Perron <[email protected]>

* A note about performance to *AsList docblocks

Signed-off-by: Jacob Perron <[email protected]>

Co-authored-by: pluris <[email protected]>
jacobperron added a commit to ros2-java/ros2_java that referenced this pull request May 17, 2022
* change logic(list -> array) in msg.java.em

* change logic(list -> array) in msg.cpp.em

* Support getting and setting as Lists in addition to arrays

Signed-off-by: Jacob Perron <[email protected]>

* Update rcljava to work with new methods for list types

Signed-off-by: Jacob Perron <[email protected]>

* Update tests to work with new methods for list types

Signed-off-by: Jacob Perron <[email protected]>

* Fixes to template files

* Avoid nullptr access when converting from Java arrays to C arrays
* Make sure Java arrays are initialized

Signed-off-by: Jacob Perron <[email protected]>

* Minor refactor

Signed-off-by: Jacob Perron <[email protected]>

* A note about performance to *AsList docblocks

Signed-off-by: Jacob Perron <[email protected]>

Co-authored-by: pluris <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants