Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Make sure to fully initialize the QoS structures. #43

Merged
merged 2 commits into from Jun 22, 2017
Merged

Conversation

clalancette
Copy link
Contributor

There are additional structure members that were being left
as garbage. Make sure to assign to a default before modifying
the structure.

This should fix: ros2/rosdistro#5

CI:

  • TB2 Linux Build Status
  • TB2 Linux-aarch64 Build Status

There are additional structure members that were being left
as garbage.  Make sure to assign to a default before modifying
the structure.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette clalancette added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jun 22, 2017
@mikaelarguedas
Copy link
Member

Can you please update the other uninitialized qos profiles in this repo ? (e.g. https://github.com/ros2/turtlebot2_demo/blob/master/turtlebot2_follower/src/follower.cpp#L117)

@clalancette
Copy link
Contributor Author

Ah, good call. I took a brief look around, but must have missed that one. Will also update that.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@mikaelarguedas
Copy link
Member

Thanks for iterating on this. Did you cancel the job and rerun with the new changes or is it still the original jobs running ?

@clalancette
Copy link
Contributor Author

It's still the original. I did a local build (which worked fine), and the new change is small enough that I didn't think it was worth doing another full build. Let me know if you want me to re-run the full CI.

@mikaelarguedas
Copy link
Member

No I think we're good, these packages don't have tests anyway so CI is mostly checking for compiler warnings. If you successfully built it locally without warnings I think this is good to go

Copy link
Member

@dhood dhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using locally with no issues (kobuki node at least)

@clalancette
Copy link
Contributor Author

Thanks @dhood . Merging.

@clalancette clalancette merged commit 5decba8 into master Jun 22, 2017
@clalancette clalancette removed the in review Waiting for review (Kanban column) label Jun 22, 2017
@clalancette clalancette deleted the fix-qos-init branch June 22, 2017 20:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

turtlebot2_driver needs kobuki driver
3 participants