Skip to content

Commit e801f7f

Browse files
committed
fix compile error when read pb msgs from rosbag file with cpp APIs
1 parent 8f359c8 commit e801f7f

File tree

1 file changed

+2
-0
lines changed
  • ros/ros_comm/rosbag_storage/include/rosbag

1 file changed

+2
-0
lines changed

ros/ros_comm/rosbag_storage/include/rosbag/bag.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@
4646
#include "ros/header.h"
4747
#include "ros/time.h"
4848
#include "ros/message_traits.h"
49+
#include "ros/protobuffer_traits.h"
4950
#include "ros/message_event.h"
5051
#include "ros/serialization.h"
52+
#include "ros/serialization_protobuffer.h"
5153

5254
//#include "ros/subscription_callback_helper.h"
5355

0 commit comments

Comments
 (0)