Class ControlPackageSetupOutputsRequest

Inheritance Relationships

Base Type

Class Documentation

class ControlPackageSetupOutputsRequest : public urcl::rtde_interface::RTDEPackage

This class is used to setup the output recipe as part of the initial RTDE handshake.

Public Functions

inline ControlPackageSetupOutputsRequest()

Creates a new ControlPackageSetupOutputsRequest object.

virtual ~ControlPackageSetupOutputsRequest() = default

Public Members

double output_frequency_
std::string variable_names_

Public Static Functions

static size_t generateSerializedRequest(uint8_t *buffer, double output_frequency, std::vector<std::string> variable_names)

Generates a serialized package.

Parameters:
  • buffer – Buffer to fill with the serialization

  • output_frequency – Frequency of data packages to be sent by the robot

  • variable_names – The output recipe to set

Returns:

The total size of the serialized package

static size_t generateSerializedRequest(uint8_t *buffer, std::vector<std::string> variable_names)

Generates a serialized package.

Parameters:
  • buffer – Buffer to fill with the serialization

  • variable_names – The output recipe to set

Returns:

The total size of the serialized package