HSBSender#

Fully qualified name: isaacsim::hsb::core::HSBSender

class HSBSender#

Manages the HSB emulator lifecycle and sends DLTensor data via a DataPlane.

Owns the HSBEmulator, DataPlane (Linux/RoCEv2 or COE/IEEE 1722B), and Vb1940Emulator. Supports “linux” (RoCEv2 UDP) or “coe” (IEEE 1722B Camera-over-Ethernet) data planes.

Public Functions

HSBSender(
const std::string &ipAddress,
uint8_t dataPlaneId,
uint8_t sensorId,
const std::string &dataPlaneType = "linux",
)#

Construct an HSB sender.

Parameters:
  • ipAddress – Source IP address for the HSB emulator

  • dataPlaneId – Data plane identifier

  • sensorId – Sensor identifier

  • dataPlaneType – “linux” for RoCEv2 UDP transport, “coe” for IEEE 1722B Camera-over-Ethernet

bool connect()#

Connect to the HSB data plane.

Returns:

True if the connection was established successfully, false otherwise

bool disconnect()#

Disconnect from the HSB data plane.

Returns:

True if the disconnection was successful, false otherwise

bool isConnected() const#

Check whether the sender is currently connected.

Returns:

True if connected, false otherwise

bool send(const DLTensor &tensor)#

Send a DLTensor via the HSB data plane.

Parameters:

tensor – The tensor to send (CPU or GPU data)

Returns:

True if sent successfully, false otherwise

bool isStreaming() const#

Check if the host has set the sensor to streaming mode.

Returns:

True if the Vb1940Emulator is streaming, false otherwise