Robot model, specified as a rigidBodyTree object. To use the
gravityTorque function, set the DataFormat
property to either 'row' or 'column'.
configuration — Robot configuration vector
Robot configuration, specified as a vector with positions for all nonfixed joints in the robot
model. You can generate a configuration using
homeConfiguration(robot),
randomConfiguration(robot), or by specifying your own joint
positions. To use the vector form of configuration, set the
DataFormat property for the robot to either
'row' or 'column' .