36 #ifndef SICK_SAFETYSCANNERS_COLA2_CHANGECOMMSETTINGSCOMMAND_H 37 #define SICK_SAFETYSCANNERS_COLA2_CHANGECOMMSETTINGSCOMMAND_H 76 std::vector<uint8_t>
addTelegramData(
const std::vector<uint8_t>& telegram)
const;
115 #endif // SICK_SAFETYSCANNERS_COLA2_CHANGECOMMSETTINGSCOMMAND_H void writeFrequencyToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
Command for method calls to the sensor.
void writeChannelToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
void writeStartAngleToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
void writeEInterfaceTypeToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
void writePortToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
void writeDataToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
bool processReply()
Processes the return from the sensor. Checks if the method was acknowledged by the sensor...
sick::datastructure::CommSettings m_settings
Containing the communication settings for the sensor which can be changed on runtime.
void writeIPAddresstoDataPtr(std::vector< uint8_t >::iterator data_ptr) const
Method command class for changing the settings in the sensor. Such as which data packages to enable...
std::vector< uint8_t > addTelegramData(const std::vector< uint8_t > &telegram) const
Adds the settings as data to the packetbuffer.
void writeFeaturesToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands exce...
void writeEnabledToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
ChangeCommSettingsCommand(Cola2Session &session, const datastructure::CommSettings &settings)
Constructor of the Command, takes the current session and the new set of parameters for the sensor...
sick::cola2::MethodCommand base_class
Typedef to reference the base class.
void writeEndAngleToDataPtr(std::vector< uint8_t >::iterator data_ptr) const
Establishes a cola2 session with a sensor and enables execution of commands in this session...