recordRobot

Robot with links and joints from URDF
Diagram of Robot

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Stringname"defaultRobotName"
IntegernumLinks1
IntegernumJoints1
IntegernumAxes1Moveable Joints
Integer[numJoints,2]connectionMatrixzeros(numJoints, 2)Each row contains parent and child link index of a joint
Integer[numAxes,2]moveableJointszeros(numAxes, 2)First column joint index of a moveable joint, second column DOF of joint
Link[:]linkfill(Link(), numLinks)
Joint[:]jointfill(Joint(), numJoints)