Livox: Add new loadable libs for Protocolv1 and gen1 lidars
We've added two new libs: * commonLibs/livoxProto1 * senseApis/livoxGen1 They currently get to the point of detecting my Livox Avia on the network over UDP. This was really easy to get done in one night using boost::asio and Cursor, honestly.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef LIVOX_PROTO1_API_H
|
||||
#define LIVOX_PROTO1_API_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <map>
|
||||
#include "livoxProto1Core.h"
|
||||
#include "livoxProto1Device.h"
|
||||
|
||||
namespace livoxProto1 {
|
||||
|
||||
} // namespace livoxProto1
|
||||
|
||||
extern "C" {
|
||||
typedef void (livoxProto1_mainFn)(
|
||||
const std::shared_ptr<smo::ComponentThread> &componentThread);
|
||||
typedef void (livoxProto1_exitFn)(void);
|
||||
|
||||
void livoxProto1_main(
|
||||
const std::shared_ptr<smo::ComponentThread> &componentThread);
|
||||
void livoxProto1_exit(void);
|
||||
} // extern "C"
|
||||
|
||||
#endif // LIVOX_PROTO1_API_H
|
||||
Reference in New Issue
Block a user