Regular API function

simInitializePathSearch (DEPRECATED)

Description DEPRECATED. See the OMPL library based path/motion planning functionality instead.

Initializes a temporary path search object that can be used for stepped path planning calculations. Useful in conjunction with simPerformPathSearchStep when path planning calculations need to be performed in several steps so as to keep the simulator unblocked. When operating from a threaded child script, rather use the simSearchPath function. See also simGetPathPlanningHandle
C synopsis simInt simInitializePathSearch(simInt pathPlanningObjectHandle,simFloat maximumSearchTime,simFloat searchTimeStep)
C parameters
pathPlanningObjectHandle: handle of the path planning object
maximumSearchTime: maximum search time in seconds
searchTimeStep: the duration of each search step (when calling simPerformPathSearchStep)
C return value
-1 if operation was not successful, otherwise a handle to a temporary path search object
Lua synopsis number temporaryPathSearchObjectHandle=simInitializePathSearch(number pathPlanningObjectHandle,number maximumSearchTime,number searchTimeStep)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page