|
LibMultiSense
LibMultiSense Documentation
|
Go to the documentation of this file.
37 #ifndef LibMultiSense_MultiSenseChannel_hh
38 #define LibMultiSense_MultiSenseChannel_hh
47 namespace multisense {
83 static Channel* Create(
const std::string& sensorAddress);
111 static Channel* Create(
const std::string& sensorAddress,
const std::string& interfaceName);
128 static Channel* Create(
const std::string& sensorAddress,
const RemoteHeadChannel& cameraId,
const std::string& interfaceName);
138 static void Destroy(
Channel* instanceP);
153 static const char *statusString(
Status status);
197 void *userDataP=NULL) = 0;
224 void *userDataP=NULL) = 0;
250 void *userDataP=NULL) = 0;
277 void *userDataP=NULL) = 0;
300 void *userDataP=NULL) = 0;
326 void *userDataP=NULL) = 0;
352 void *userDataP=NULL) = 0;
369 void *userDataP=NULL) = 0;
485 virtual void *reserveCallbackBuffer() = 0;
499 virtual Status releaseCallbackBuffer(
void *referenceP) = 0;
522 virtual Status networkTimeSynchronization(
bool enabled) = 0;
544 virtual Status ptpTimeSynchronization(
bool enabled) = 0;
624 virtual Status setMotorSpeed (
float rpm) = 0;
887 virtual Status getImageHistogram (int64_t frameId,
913 virtual Status getDeviceModes (std::vector<system::DeviceMode>& m) = 0;
930 virtual Status getMtu (int32_t& mtu) = 0;
944 virtual Status getMotorPos (int32_t& mtu) = 0;
955 virtual Status setMtu (int32_t mtu) = 0;
1011 virtual Status setDeviceInfo (
const std::string& key,
1098 virtual Status flashBitstream (
const std::string& file) = 0;
1113 virtual Status flashFirmware (
const std::string& file) = 0;
1125 virtual Status verifyBitstream (
const std::string& file) = 0;
1137 virtual Status verifyFirmware (
const std::string& file) = 0;
1177 virtual Status getImuInfo (uint32_t& maxSamplesPerMesage,
1178 std::vector<imu::Info>& info) = 0;
1196 virtual Status getImuConfig (uint32_t& samplesPerMessage,
1197 std::vector<imu::Config>& c) = 0;
1219 virtual Status setImuConfig (
bool storeSettingsInFlash,
1220 uint32_t samplesPerMessage,
1221 const std::vector<imu::Config>& c) = 0;
1240 virtual Status getLargeBufferDetails(uint32_t& bufferCount,
1241 uint32_t& bufferSize) = 0;
1262 virtual Status setLargeBuffers (
const std::vector<uint8_t*>& buffers,
1263 uint32_t bufferSize) = 0;
1274 virtual Status getLocalUdpPort(uint16_t& port) = 0;
1289 #endif // LibMultiSense_MultiSenseChannel_hh
Class which manages all communications with a MultiSense device.
PTP status data associated with a specific stamped MultiSense message.
Class used For querying/setting camera calibration.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks of image data.
uint32_t VersionType
Sensor version typedef used to store a given version number.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks for feature_detector data.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks of lidar data.
A struct for storing statistics for a channel object.
Example code showing usage of the onboard feature detector.
Class used to store device information specific to a sensor.
Class which stores a image histogram from a camera image.
Class used to store a laser calibration.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks for IMU data.
Class containing status information for a particular device.
uint64_t DataSource
Data sources typedef representing the various data sources available from sensors in the MultiSense-S...
Class used to store a specific lighting configuration.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks for Ground Surface Spline data.
Class containing parameters for the ground surface modeling and obstacle detection application which ...
A external calibration associated with the MultiSense.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks for compressed image data.
int32_t Status
General status typdef used as a return value for get/set crl::multisense::Channel methods.
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks for PPS events.
virtual ~Channel()
Destructor.
Class containing the network configuration for a specific sensor.
Class containing version info for a specific sensor.
Class containing parameters for the apriltag fiduciual detection algorithm application which may be r...
A external sensor status.
Class used to store a specific camera configuration.
int16_t RemoteHeadChannel
Remote head channel defines which channel is used to communicate to a specific component in the Remot...
void(* Callback)(const Header &header, void *userDataP)
Function pointer for receiving callbacks for apriltag data.