diff --git a/pandar_pointcloud/include/pandar_pointcloud/decoder/packet_decoder.hpp b/pandar_pointcloud/include/pandar_pointcloud/decoder/packet_decoder.hpp index e4be024..c63f3d4 100644 --- a/pandar_pointcloud/include/pandar_pointcloud/decoder/packet_decoder.hpp +++ b/pandar_pointcloud/include/pandar_pointcloud/decoder/packet_decoder.hpp @@ -12,7 +12,11 @@ class PacketDecoder public: virtual ~PacketDecoder(){}; virtual void unpack(const pandar_msgs::PandarPacket & raw_packet) = 0; + + // TODO: Remove this function + // In Hesai's original driver, the decoder controls how many packets are used, but now the pandar_driver controls it. virtual bool hasScanned() = 0; + virtual PointcloudXYZIRADT getPointcloud() = 0; }; } // namespace pandar_pointcloud \ No newline at end of file