ROS2 Subscribe Joint State

This node subscribes to a joint state command of a robot in a ROS2 JointState message

Installation

To use this Node, you must enable omni.isaac.ros2_bridge-humble in the Extension Manager.

Inputs

Name

Type

Description

Default

execIn

execution

The input execution port

context

uint64

ROS2 context handle, Default of zero will use the default global context

0

nodeNamespace

string

Namespace of ROS2 Node, prepends any published/subscribed topic by the node namespace

topicName

string

Name of ROS2 Topic

joint_command

queueSize

uint64

The number of messages to queue up before throwing some away, in case messages are collected faster than they can be sent

10

Outputs

Name

Type

Description

Default

execOut

execution

Output execution triggers when a new message is received

Timestamp (timeStamp)

double

ROS2 Timestamp in seconds

0.0

jointNames

token[]

Commanded joint names

positionCommand

double[]

Position commands

velocityCommand

double[]

Velocity commands

effortCommand

double[]

Effort commands