Files
salmanoff/commonLibs/livoxProto1/livoxProto1.cpp
T
hayodea 6eb6fa1eb0 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.
2025-09-06 22:46:03 -04:00

22 lines
374 B
C++

#include <user/senseApiDesc.h>
#include "livoxProto1.h"
#include "livoxProto1Core.h"
extern "C" {
livoxProto1_mainFn livoxProto1_main;
livoxProto1_exitFn livoxProto1_exit;
void livoxProto1_main(
const std::shared_ptr<smo::ComponentThread> &componentThread)
{
livoxProto1::main(componentThread);
}
void livoxProto1_exit(void)
{
livoxProto1::exit();
}
} // extern "C"