Karsten1987 / confbot_robot

workspace comprising demo packages for our roscon2018 talk
Apache License 2.0
10 stars 8 forks source link

specify history depth explicitly to avoid rclpy warnings #49

Closed mikaelarguedas closed 5 years ago

mikaelarguedas commented 5 years ago

Otherwise we get some warnings like:

[safe_zone_publisher-2] /opt/ros/dashing/lib/python3.6/site-packages/rclpy/node.py:1030: UserWarning: Pass an explicit 'qos_profile' argument

Similar to https://github.com/ros2/demos/pull/334/

Value of 10 is picked to match the previous default. There doesnt seem to be a define for it: https://github.com/ros2/rmw/blob/a54e25b64eeeb95b5437f4c5d47279f856f291be/rmw/include/rmw/qos_profiles.h#L54