47   , m_settings(settings)
    49   m_writer_ptr = std::make_shared<sick::data_processing::ReadWriteHelper>();
    65   uint16_t prevSize = telegram.size();
    66   telegram.resize(prevSize + 28);
    67   return telegram.data() + prevSize;
 Command for method calls to the sensor. 
 
void writeEnabledToDataPtr(uint8_t *&data_ptr) const 
 
boost::asio::ip::address_v4 getHostIp() const 
Gets the IP-address of the host. 
 
uint16_t getFeatures() const 
Gets the enabled features. 
 
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const 
Adds the data to the telegram. 
 
uint16_t getPublishingFrequency() const 
Gets the publishing frequency. 
 
bool processReply()
Processes the return from the sensor. Checks if the method was acknowledged by the sensor...
 
void writeIPAddresstoDataPtr(uint8_t *&data_ptr) const 
 
uint8_t getEInterfaceType() const 
Gets the eInterface type. 
 
sick::datastructure::CommSettings m_settings
 
Containing the communication settings for the sensor which can be changed on runtime. 
 
uint32_t getStartAngle() const 
Gets the start angle of the scan. 
 
void writeDataToDataPtr(uint8_t *&data_ptr) const 
 
uint32_t getEndAngle() const 
Gets the end angle of the scan. 
 
uint8_t * prepareTelegramAndGetDataPtr(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const 
 
void addTelegramData(sick::datastructure::PacketBuffer::VectorBuffer &telegram) const 
Adds the settings as data to the packetbuffer. 
 
bool canBeExecutedWithoutSessionID() const 
Returns if the command can be executed without a session ID. Will return false for most commands exce...
 
bool getEnabled() const 
Gets if the channel is enabled. 
 
uint8_t getChannel() const 
Gets the channel of the data. 
 
bool processReply()
Processes the return from the sensor. 
 
void writeFeaturesToDataPtr(uint8_t *&data_ptr) const 
 
void writeEndAngleToDataPtr(uint8_t *&data_ptr) const 
 
void writeEInterfaceTypeToDataPtr(uint8_t *&data_ptr) const 
 
void writeStartAngleToDataPtr(uint8_t *&data_ptr) const 
 
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_writer_ptr
 
void writeFrequencyToDataPtr(uint8_t *&data_ptr) const 
 
uint16_t getHostUdpPort() const 
Gets the host udp port. 
 
ChangeCommSettingsCommand(Cola2Session &session, const datastructure::CommSettings &settings)
Constructor of the Command, takes the current session and the new set of parameters for the sensor...
 
void writePortToDataPtr(uint8_t *&data_ptr) const 
 
std::vector< uint8_t > VectorBuffer
Typedef for a vector buffer, to sort the incoming packets. 
 
Establishes a cola2 session with a sensor and enables execution of commands in this session...
 
void writeChannelToDataPtr(uint8_t *&data_ptr) const