ros2 / demos

Apache License 2.0
502 stars 330 forks source link

counter starts from 1, not 2. #562

Closed fujitatomoya closed 2 years ago

fujitatomoya commented 2 years ago
root@tomoyafujita:~/ros2_ws/colcon_ws# ros2 run demo_nodes_cpp talker_loaned_message
[INFO] [1652204561.364158816] [loaned_message_talker]: Publishing: '2.000000'
[INFO] [1652204561.364556243] [rclcpp]: Currently used middleware can't loan messages. Local allocator will be used.
[INFO] [1652204561.364600686] [loaned_message_talker]: Publishing: 'Hello World: 2'
...<snip>
root@tomoyafujita:~/ros2_ws/colcon_ws# ros2 run demo_nodes_cpp talker_loaned_message
[INFO] [1652205700.592875942] [loaned_message_talker]: Publishing: '1.000000'
[INFO] [1652205700.593295376] [rclcpp]: Currently used middleware can't loan messages. Local allocator will be used.
[INFO] [1652205700.593366279] [loaned_message_talker]: Publishing: 'Hello World: 1'
[INFO] [1652205701.592808672] [loaned_message_talker]: Publishing: '2.000000'
[INFO] [1652205701.592999875] [loaned_message_talker]: Publishing: 'Hello World: 2'
...<snip>

Signed-off-by: Tomoya Fujita Tomoya.Fujita@sony.com

fujitatomoya commented 2 years ago

CI:

fujitatomoya commented 2 years ago

@audrow can you merge this?