Gravity Torque
R2026bJoint torques that compensate gravity
Libraries:
Robotics System Toolbox /
Manipulator Algorithms
Description
The Gravity Torque block returns the joint torques required to hold the robot at a given configuration with the current Gravity setting on the Rigid body tree robot model.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"robotmaniplib/Gravity Torque"
Example: add_block("robotmaniplib/Gravity Torque","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2018a
See Also
Blocks
- Forward Dynamics | Inverse Dynamics | Get Jacobian | Joint Space Mass Matrix | Velocity Product Torque

