# OptimalControlCommand.JointPositionCost - Source proto: `rb/api/basic_command.proto` | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | joint_name | [string](../scalar-value-types.md#scalar-value-types) | | | | target_position | [double](../scalar-value-types.md#scalar-value-types) | | | | weight | [double](../scalar-value-types.md#scalar-value-types) | | |