URDF Plugin API reference

API functions for URDF input.

simURDF.import

simURDF.import

Description Import a URDF file into the current scene.
Lua synopsis string robotName=simURDF.import(string fileName,int options=0)
Lua parameters
fileName (string): URDF file path, or URDF string
options (ImportOptions, default: 0),bit coded: bit0=show collision links, bit1=showJoints, bit2=do not convex decompose non convex collidables, bit3=do not create visual if none, bit4=show convex decomposition dlg, bit5=do not center above ground, bit6=do not make model, bit7=no seld collision, bit8=no position control
Lua return values
robotName (string): name of the robot
See also