Repository navigation
move vectors instantiated in wait_for_work to MemoryStrategy - #116
Merged
Merged
Conversation
Member
|
Seems reasonable to me, but I don't have time to try it right now. I'd recommend CI before merging. |
Member
|
Is this necessary for the demo at ROSCon? If not I would suggest postponing it until Monday. |
Contributor
Author
Member
|
The |
Member
There was a problem hiding this comment.
I think the MemoryStrategy API would look clear if, instead of exposing the std::vector directly, provide add_subscription, add_service, etc. and hide the underlying storage.
jackieokay
force-pushed
the
fix_uninitialized_vectors
branch
from
October 7, 2015 21:37
3f4a2b9 to
af9d641
Compare
jackieokay
added a commit
that referenced
this pull request
Oct 7, 2015
move vectors instantiated in wait_for_work to MemoryStrategy
nnmm
pushed a commit
to ApexAI/rclcpp
that referenced
this pull request
Jul 9, 2022
* fix cmake for test - remove unused params * set env variable for rmw_implementation
DensoADAS
pushed a commit
to DensoADAS/rclcpp
that referenced
this pull request
Aug 5, 2022
…ackage (ros2#48) * ros2GH-111 Add package for converter plugins * ros2GH-111 Add CDR converter plugin * ros2GH-111 Add test for more primitives types * ros2GH-116 Fix cdr converter after rebase on new converters interface * ros2GH-116 Use rmw_serialize/rmw_deserialize directly in converter and link against rmw_fastrtps_cpp * Fix converter package.xml * Fix clang warnings * ros2GH-30 Change interface to the same convention as rmw_(de)serialize * comply to new rcutils error handling API * use poco to load fastrtps * Update rosbag2_converter_default_plugins/src/rosbag2_converter_default_plugins/cdr/cdr_converter.cpp Co-Authored-By: Karsten1987 <[email protected]>
DensoADAS
pushed a commit
to DensoADAS/rclcpp
that referenced
this pull request
Aug 5, 2022
* ignore cast function type warning Signed-off-by: Karsten Knese <[email protected]> * use pragma to ignore warning on specific lines of code Signed-off-by: Karsten Knese <[email protected]> * correctly branch the pragma Signed-off-by: Karsten Knese <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This was done in my attempt to reduce pagefaults in Executor::spin. Several vectors that were being instantiated on the stack in Executor::spin have been moved into the MemoryStrategy, so that they can be preallocated (with
vector::reserve) on construction.