• 9.VREP的API函数大全4


    目录

     

    31.对象选择

    32.对象创建

    33.脚本对象

    34.仿真

    35.线程

    36.用户自定义

    37.用户自定义Lua

    38.Lua布尔

    39.通用应用程序接口

    40.Lua独享接口


    31.对象选择

    sim.getObjectSelection (Lua)                           simGetObjectSelection (C/C++)

                                                           simGetObjectSelectionSize (C/C++)

    sim.isObjectInSelection (Lua)                          simIsObjectInSelection (C/C++)

    sim.removeObjectFromSelection (Lua)                    simRemoveObjectFromSelection (C/C++)

    sim.addObjectToSelection (Lua)                         simAddObjectToSelection (C/C++)

     

    32.对象创建

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

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

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

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

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

    sim.createProximitySensor (Lua)                        simCreateProximitySensor (C/C++)

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

    sim.createVisionSensor (Lua)                           simCreateVisionSensor (C/C++)

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

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

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

    sim.createTexture (Lua)                                simCreateTexture (C/C++)

    sim.createIkGroup (Lua)                                simCreateIkGroup (C/C++)

    sim.createIkElement (Lua)                              simCreateIkElement (C/C++)

     

    33.脚本对象

    sim.getRandom (Lua)

    sim.getScriptHandle (Lua)                              simGetScriptHandle (C/C++)

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

    sim.addScript (Lua)                                    simAddScript (C/C++)

    sim.removeScript (Lua)                                 simRemoveScript (C/C++)

                                                           simGetScript (C/C++)

    sim.getScriptAssociatedWithObject (Lua)                simGetScriptAssociatedWithObject (C/C++)

    sim.getCustomizationScriptAssociatedWithObject (Lua)   simGetCustomizationScriptAssociatedWithObject (C/C++)

    sim.getObjectAssociatedWithScript (Lua)                simGetObjectAssociatedWithScript (C/C++)

    sim.getScriptAttribute (Lua)                           simGetScriptAttribute (C/C++)

    sim.setScriptAttribute (Lua)                           simSetScriptAttribute (C/C++)

    sim.callScriptFunction (Lua)                           simCallScriptFunction (C/C++)

                                                           simCallScriptFunctionEx (C/C++)

    sim.executeScriptString (Lua)                          simExecuteScriptString (C/C++)

    sim.getApiFunc (Lua)                                   simGetApiFunc (C/C++)

    sim.getApiInfo (Lua)                                   simGetApiInfo (C/C++)

                                                           simHandleMainScript (C/C++)

    sim.handleChildScripts (Lua)

    sim.launchThreadedChildScripts (Lua)

    sim.handleCustomizationScripts (Lua)

    sim.handleAddOnScripts (Lua)

    sim.handleSandboxScript (Lua)

                                                           simResetScript (C/C++)

    sim.getScriptName (Lua)                                simGetScriptName (C/C++)

                                                           simGetScriptProperty (C/C++)

                                                           simGetScriptText (C/C++)

    sim.setScriptText (Lua)                                simSetScriptText (C/C++)

    sim.getScriptExecutionCount (Lua)

    sim.isScriptExecutionThreaded (Lua)

                                                           simSetScriptRawBuffer (C/C++)

                                                           simGetScriptRawBuffer (C/C++)

                                                           simReleaseScriptRawBuffer (C/C++)

    sim.readCustomDataBlock (Lua)                          simReadCustomDataBlock (C/C++)

    sim.readCustomDataBlockTags (Lua)                      simReadCustomDataBlockTags (C/C++)

    sim.writeCustomDataBlock (Lua)                         simWriteCustomDataBlock (C/C++)

    sim.registerScriptFunction (Lua)                       simRegisterScriptCallbackFunction (C/C++)

    sim.registerScriptVariable (Lua)                       simRegisterScriptVariable (C/C++)

    sim.setScriptVariable (Lua)                            simSetScriptVariable (C/C++)

    sim.setDebugWatchList (Lua)

    sim.getUserVariables (Lua)

    sim.getStackTraceback (Lua)

     

    34.仿真

    sim.startSimulation (Lua)                              simStartSimulation (C/C++)

    sim.pauseSimulation (Lua)                              simPauseSimulation (C/C++)

    sim.stopSimulation (Lua)                               simStopSimulation (C/C++)

                                                           simAdvanceSimulationByOneStep (C/C++)

    sim.getSimulationState (Lua)                           simGetSimulationState (C/C++)

    sim.getSimulationTime (Lua)                            simGetSimulationTime (C/C++)

    sim.getSimulationTimeStep (Lua)                        simGetSimulationTimeStep (C/C++)

                                                           simGetSimulationPassesPerRenderingPass (C/C++)

                                                           simSetSimulationPassesPerRenderingPass (C/C++)

    sim.getRealTimeSimulation (Lua)                        simGetRealTimeSimulation (C/C++)

                                                           simAdjustRealTimeTimer (C/C++)

                                                           simIsRealTimeSimulationStepNeeded (C/C++)

    sim.setDebugWatchList (Lua)

    sim.getUserVariables (Lua)

     

    35.线程

    sim.setThreadSwitchTiming (Lua)

    sim.getThreadAutomaticSwitch (Lua)

    sim.setThreadAutomaticSwitch (Lua

    sim.switchThread (Lua)                                 simSwitchThread (C/C++)

    sim.setThreadResumeLocation (Lua)

    sim.resumeThreads (Lua)

    sim.isScriptExecutionThreaded (Lua)

    sim.setThreadIsFree (Lua)                              simSetThreadIsFree (C/C++)

    sim.launchExecutable (Lua)

    sim.getThreadId (Lua)                                  simGetThreadId (C/C++)

     

    36.用户自定义

    sim.getModuleInfo (Lua)                                simGetModuleInfo (C/C++)

                                                           simSetModuleInfo (C/C++)

    sim.loadModule (Lua)                                   simLoadModule (C/C++)

                                                           simSendModuleMessage (C/C++)

    sim.unloadModule (Lua)                                 simUnloadModule (C/C++)

                                                           simBroadcastMessage (C/C++)

                                                           simAddModuleMenuEntry (C/C++)

                                                           simSetModuleMenuItemState (C/C++)

    sim.getSimulatorMessage (Lua)                          simGetSimulatorMessage (C/C++)

    sim.fileDialog (Lua)                                   simFileDialog (C/C++)

    sim.msgBox (Lua)                                       simMsgBox (C/C++)

    sim.quitSimulator (Lua)                                simQuitSimulator (C/C++)

    sim.getThreadId (Lua)                                  simGetThreadId (C/C++)

                                                           simEnableEventCallback (C/C++)

    sim.readCustomDataBlock (Lua)                          simReadCustomDataBlock (C/C++)

    sim.readCustomDataBlockTags (Lua)                      simReadCustomDataBlockTags (C/C++)

    sim.writeCustomDataBlock (Lua)                         simWriteCustomDataBlock (C/C++)

    sim.setScriptVariable (Lua)                            simSetScriptVariable (C/C++)

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

                                                           simOpenTextEditor (C/C++)

    sim.textEditorClose (Lua)

    sim.textEditorGetInfo (Lua)

    sim.textEditorOpen (Lua)

    sim.textEditorShow (Lua)

    sim.setReferencedHandles (Lua)                         simSetReferencedHandles (C/C++)

    sim.getReferencedHandles (Lua)                         simGetReferencedHandles (C/C++)

     

    37.用户自定义Lua

    sim.registerScriptFunction (Lua)                       simRegisterScriptCallbackFunction (C/C++)

    sim.registerScriptVariable (Lua)                       simRegisterScriptVariable (C/C++)

     

    38.Lua布尔

    sim.boolAnd32 (Lua)

    sim.boolOr32 (Lua)

    sim.boolXor32 (Lua)

     

    39.通用应用程序接口

                                                           simApplyTexture (C/C++)

                                                           simSendModuleMessage (C/C++)

                                                           simSetModuleInfo (C/C++)

                                                           simBroadcastMessage (C/C++)

                                                           simAddModuleMenuEntry (C/C++)

                                                           simSetModuleMenuItemState (C/C++)

                                                           simGetMainWindow (C/C++)

                                                           simRunSimulator (C/C++)

                                                           simRunSimulatorEx (C/C++)

                                                           simCreateBuffer (C/C++)

                                                           simReleaseBuffer (C/C++)

                                                           simGetScript (C/C++)

                                                           simHandleMainScript (C/C++)

                                                           simResetScript (C/C++)

                                                           simGetScriptProperty (C/C++)

                                                           simSetScriptRawBuffer (C/C++)

                                                           simGetScriptRawBuffer (C/C++)

                                                           simDoesFileExist (C/C++)

                                                           simAdvanceSimulationByOneStep (C/C++)

                                                           simGetSimulationPassesPerRenderingPass (C/C++)

                                                           simAdjustRealTimeTimer (C/C++)

                                                           simIsRealTimeSimulationStepNeeded (C/C++)

                                                           simTransformVector (C/C++)

                                                           simEnableEventCallback (C/C++)

                                                           simLockResources (C/C++)

                                                           simUnlockResources (C/C++)

     

    40.Lua独享接口

    sim.getRandom (Lua)

    sim.openModule (Lua)

    sim.handleModule (Lua)

    sim.closeModule (Lua)

    sim.boolAnd32 (Lua)

    sim.boolOr32 (Lua)

    sim.boolXor32 (Lua)

    sim.getScriptExecutionCount (Lua)

    sim.isScriptExecutionThreaded (Lua)

    sim.handleChildScripts (Lua)

    sim.launchThreadedChildScripts (Lua)

    sim.handleCustomizationScripts (Lua)

    sim.handleAddOnScripts (Lua)

    sim.handleSandboxScript (Lua)

    sim.multiplyVector (Lua)

    sim.setThreadSwitchTiming (Lua)

    sim.waitForSignal (Lua)

    sim.moveToObject (Lua)

    sim.rmlMoveToPosition (Lua)

    sim.rmlMoveToJointPositions (Lua)

    sim.followPath (Lua)

    sim.packUInt8Table (Lua)

    sim.packDoubleTable (Lua)

    sim.packFloatTable (Lua)

    sim.packInt32Table (Lua)

    sim.packUInt32Table (Lua)

    sim.packUInt16Table (Lua)

    sim.unpackUInt8Table (Lua)

    sim.unpackDoubleTable (Lua)

    sim.unpackFloatTable (Lua)

    sim.unpackInt32Table (Lua)

    sim.unpackUInt32Table (Lua)

    sim.unpackUInt16Table (Lua)

    sim.transformBuffer (Lua)

    sim.wait (Lua)

    sim.launchExecutable (Lua)

    sim.setThreadResumeLocation (Lua)

    sim.getThreadAutomaticSwitch (Lua)

    sim.setThreadAutomaticSwitch (Lua

    sim.resumeThreads (Lua)

    sim.setDebugWatchList (Lua)

    sim.getUserVariables (Lua)

    sim.closeTextEditor (Lua)

    sim.getStackTraceback (Lua)

  • 相关阅读:
    存储过程分页,前台应用范例repeater分页
    引用真正分页控件(与存储过程联合使用)页面
    分页存储过程repeater分页
    查找DetailsView1数据控件中的数据
    c#读取文件
    SQL触发器实例讲解
    TreeView节点选中问题
    C# 实现版本自动更新
    .Net那点事儿系列:C#操作Xml:通过XmlDocument读写Xml文档
    Linq学习笔记
  • 原文地址:https://www.cnblogs.com/deciduousmap/p/14160028.html
Copyright © 2020-2023  润新知