12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef __LIVOX_HORIZON__H
- #define __LIVOX_HORIZON__H
- #include "Laser.h"
- #include "livox_def.h"
- #include "livox_sdk.h"
- #include <map>
- #include "LivoxLaser.h"
- //大疆livox雷达,从Laser_base继承。
- class CHorizonLaser :public CLivoxLaser
- {
- public:
- CHorizonLaser() = delete;
- CHorizonLaser(const CHorizonLaser& other) = delete;
- //唯一的构造函数,按照设备名称和雷达参数来创建实例。
- //input:id: 雷达设备的id,(唯一索引)
- //input:laser_param:雷达的参数,
- //注:利用protobuf创建 laser_parameter 类,然后从文件读取参数
- CHorizonLaser(int id, Laser_proto::laser_parameter laser_param);
- ~CHorizonLaser();
- //将二进制消息转化为三维点云的功能函数,并将其存入 任务单 , 每次只转化一个CBinaryData,
- // 纯虚函数,必须由子类重载,
- virtual Error_manager transform_buf_to_points();
- };
- #endif
|