7.VREP的API函数大全2

目录

 

11.力传感器

12.关节

13.轨迹

14.模型

15.曲线图

16.光线

17.摄像机

18.虚拟物件

19.OC树

20.点云


11.力传感器

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.readForceSensor (Lua)                              simReadForceSensor (C/C++)

sim.breakForceSensor (Lua)                             simBreakForceSensor (C/C++)

sim.createForceSensor (Lua)                            simCreateForceSensor (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their force sensor related parameters.

 

12.关节

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.setJointPosition (Lua)                             simSetJointPosition (C/C++)

sim.getJointPosition (Lua)                             simGetJointPosition (C/C++)

sim.setJointTargetPosition (Lua)                       simSetJointTargetPosition (C/C++)

sim.getJointTargetPosition (Lua)                       simGetJointTargetPosition (C/C++)

sim.setJointTargetVelocity (Lua)                       simSetJointTargetVelocity (C/C++)

sim.getJointTargetVelocity (Lua)                       simGetJointTargetVelocity (C/C++)

sim.setSphericalJointMatrix (Lua)                      simSetSphericalJointMatrix (C/C++)

sim.getJointMatrix (Lua)                               simGetJointMatrix (C/C++)

sim.setJointInterval (Lua)                             simSetJointInterval (C/C++)

sim.getJointInterval (Lua)                             simGetJointInterval (C/C++)

sim.getJointType (Lua)                                 simGetJointType (C/C++)

sim.createJoint (Lua)                                  simCreateJoint (C/C++)

sim.setJointMode (Lua)                                 simSetJointMode (C/C++)

sim.getJointMode (Lua)                                 simGetJointMode (C/C++)

sim.setJointDependency (Lua)                           simSetJointDependency (C/C++)

sim.getJointForce (Lua)                                simGetJointForce (C/C++)

sim.getJointMaxForce (Lua)                             simGetJointMaxForce (C/C++)

sim.setJointMaxForce (Lua)                             simSetJointMaxForce (C/C++)

sim.rmlPos (Lua)                                       simRMLPos (C/C++)

sim.rmlVel (Lua)                                       simRMLVel (C/C++)

sim.rmlMoveToJointPositions (Lua)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

sim.getEngineFloatParameter (Lua)                      simGetEngineFloatParameter (C/C++)

sim.getEngineInt32Parameter (Lua)                      simGetEngineInt32Parameter (C/C++)

sim.getEngineBoolParameter (Lua)                       simGetEngineBoolParameter (C/C++)

sim.setEngineFloatParameter (Lua)                      simSetEngineFloatParameter (C/C++)

sim.setEngineInt32Parameter (Lua)                      simSetEngineInt32Parameter (C/C++)

sim.setEngineBoolParameter (Lua)                       simSetEngineBoolParameter (C/C++)

 

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their joint related parameters.

 

13.轨迹

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.setPathPosition (Lua)                              simSetPathPosition (C/C++)

sim.getPathPosition (Lua)                              simGetPathPosition (C/C++)

sim.getPathLength (Lua)                                simGetPathLength (C/C++)

sim.getOrientationOnPath (Lua)                         simGetOrientationOnPath (C/C++)

sim.getPositionOnPath (Lua)                            simGetPositionOnPath (C/C++)

sim.getDataOnPath (Lua)                                simGetDataOnPath (C/C++)

sim.getClosestPositionOnPath (Lua)                     simGetClosestPositionOnPath (C/C++)

sim.followPath (Lua)

sim.moveToObject (Lua)

sim.createPath (Lua)                                   simCreatePath (C/C++)

sim.insertPathCtrlPoints (Lua)                         simInsertPathCtrlPoints (C/C++)

sim.cutPathCtrlPoints (Lua)                            simCutPathCtrlPoints (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their path related parameters.

 

14.模型

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.addForce (Lua)                                     simAddForce (C/C++)

sim.addForceAndTorque (Lua)                            simAddForceAndTorque (C/C++)

sim.getVelocity (Lua)                                  simGetVelocity (C/C++)

sim.getShapeColor (Lua)                                simGetShapeColor (C/C++)

sim.setShapeColor (Lua)                                simSetShapeColor (C/C++)

sim.getShapeTextureId (Lua)                            simGetShapeTextureId (C/C++)

sim.setShapeTexture (Lua)                              simSetShapeTexture (C/C++)

sim.createMeshShape (Lua)                              simCreateMeshShape (C/C++)

sim.createPureShape (Lua)                              simCreatePureShape (C/C++)

sim.createHeightfieldShape (Lua)                       simCreateHeightfieldShape (C/C++)

sim.getShapeMesh (Lua)                                 simGetShapeMesh (C/C++)

sim.getShapeViz (Lua)                                  simGetShapeViz (C/C++)

                                                       simApplyTexture (C/C++)

sim.getShapeGeomInfo (Lua)                             simGetShapeGeomInfo (C/C++)

sim.getShapeMassAndInertia (Lua)                       simGetShapeMassAndInertia (C/C++)

sim.setShapeMassAndInertia (Lua)                       simSetShapeMassAndInertia (C/C++)

sim.computeMassAndInertia (Lua)                        simComputeMassAndInertia (C/C++)

sim.groupShapes (Lua)                                  simGroupShapes (C/C++)

sim.ungroupShape (Lua)                                 simUngroupShape (C/C++)

sim.importShape (Lua)                                  simImportShape (C/C++)

sim.convexDecompose (Lua)                              simConvexDecompose (C/C++)

sim.getQHull (Lua)                                     simGetQHull (C/C++)

sim.getDecimatedMesh (Lua)                             simGetDecimatedMesh (C/C++)

sim.reorientShapeBoundingBox (Lua)                     simReorientShapeBoundingBox (C/C++)

sim.setShapeMaterial (Lua)                             simSetShapeMaterial (C/C++)

sim.getExtensionString (Lua)                           simGetExtensionString (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

sim.getEngineFloatParameter (Lua)                      simGetEngineFloatParameter (C/C++)

sim.getEngineInt32Parameter (Lua)                      simGetEngineInt32Parameter (C/C++)

sim.getEngineBoolParameter (Lua)                       simGetEngineBoolParameter (C/C++)

sim.setEngineFloatParameter (Lua)                      simSetEngineFloatParameter (C/C++)

sim.setEngineInt32Parameter (Lua)                      simSetEngineInt32Parameter (C/C++)

sim.setEngineBoolParameter (Lua)                       simSetEngineBoolParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their shape related parameters.

 

15.曲线图

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.handleGraph (Lua)                                  simHandleGraph (C/C++)

sim.resetGraph (Lua)                                   simResetGraph (C/C++)

sim.setGraphUserData (Lua)                             simSetGraphUserData (C/C++)

sim.adjustView (Lua)                                   simAdjustView (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their graph related parameters.

 

16.光线

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.getLightParameters (Lua)                           simGetLightParameters (C/C++)

sim.setLightParameters (Lua)                           simSetLightParameters (C/C++)

sim.getExtensionString (Lua)                           simGetExtensionString (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their light related parameters.

 

17.摄像机

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.cameraFitToView (Lua)                              simCameraFitToView (C/C++)

sim.adjustView (Lua)                                   simAdjustView (C/C++)

sim.getExtensionString (Lua)                           simGetExtensionString (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their camera related parameters.

 

18.虚拟物件

sim.createDummy (Lua)                                  simCreateDummy (C/C++)

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.getLinkDummy (Lua)                                 simGetLinkDummy (C/C++)

sim.setLinkDummy (Lua)                                 simSetLinkDummy (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their dummy related parameters.

 

19.OC树

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.createOctree (Lua)                                 simCreateOctree (C/C++)

sim.insertVoxelsIntoOctree (Lua)                       simInsertVoxelsIntoOctree (C/C++)

sim.removeVoxelsFromOctree (Lua)                       simRemoveVoxelsFromOctree (C/C++)

sim.insertObjectIntoOctree (Lua)                       simInsertObjectIntoOctree (C/C++)

sim.subtractObjectFromOctree (Lua)                     simSubtractObjectFromOctree (C/C++)

sim.getOctreeVoxels (Lua)                              simGetOctreeVoxels (C/C++)

sim.checkOctreePointOccupancy (Lua)                    simCheckOctreePointOccupancy (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their OC tree related parameters.

 

20.点云

sim.getObjectHandle (Lua)                              simGetObjectHandle (C/C++)

sim.isHandleValid (Lua)                                simIsHandleValid (C/C++)

sim.createPointCloud (Lua)                             simCreatePointCloud (C/C++)

sim.getPointCloudOptions (Lua)                         simGetPointCloudOptions (C/C++)

sim.setPointCloudOptions (Lua)                         simSetPointCloudOptions (C/C++)

sim.insertPointsIntoPointCloud (Lua)                   simInsertPointsIntoPointCloud (C/C++)

sim.removePointsFromPointCloud (Lua)                   simRemovePointsFromPointCloud (C/C++)

sim.subtractObjectFromPointCloud (Lua)                 simSubtractObjectFromPointCloud (C/C++)

sim.intersectPointsWithPointCloud (Lua)                simIntersectPointsWithPointCloud (C/C++)

sim.insertObjectIntoPointCloud (Lua)                   simInsertObjectIntoPointCloud (C/C++)

sim.getPointCloudPoints (Lua)                          simGetPointCloudPoints (C/C++)

sim.getObjectInt32Parameter (Lua)                      simGetObjectInt32Parameter (C/C++)

sim.setObjectInt32Parameter (Lua)                      simSetObjectInt32Parameter (C/C++)

sim.getObjectFloatParameter (Lua)                      simGetObjectFloatParameter (C/C++)

sim.setObjectFloatParameter (Lua)                      simSetObjectFloatParameter (C/C++)

sim.getObjectStringParameter (Lua)                     simGetObjectStringParameter (C/C++)

sim.setObjectStringParameter (Lua)                     simSetObjectStringParameter (C/C++)

 

See also the sim.setObjectXXXParameter and sim.getObjectXXXParameter functions

and their point cloud related parameters.

posted @ 2020-12-19 16:47  秋风不识春  阅读(557)  评论(0编辑  收藏  举报