Class VisionaryDataStream
Defined in File VisionaryDataStream.h
Class Documentation
-
class VisionaryDataStream
Public Functions
-
~VisionaryDataStream()
-
bool open(const std::string &hostname, std::uint16_t port)
Opens a connection to a Visionary sensor
- Parameters:
hostname – [in] name or IP address of the Visionary sensor.
port – [in] control command port of the sensor, usually 2112 for CoLa-B or 2122 for CoLa-2.
- Return values:
true – The connection to the sensor successfully was established.
false – The connection attempt failed; the sensor is either
switched off or has a different IP address or name
not available using for PCs network settings (different subnet)
the protocol type or the port did not match. Please check your sensor documentation.
-
void close()
Close a connection
Closes the connection. It is allowed to call close of a connection that is not open. In this case this call is a no-op.
-
bool syncCoLa() const
-
bool getNextFrame()
-
~VisionaryDataStream()