predict
Description
predicts the next state sample between a start state and goal state in a single environment.
For this syntax, the Motion Planning Networks (MPNet) must have been trained on only one
environment using random start poses and goal poses. The input test environment must be the
same as the training environment.statePred
= predict(mpnet
,start
,goal
)
predicts the next state sample between a start state and goal state in the specified test
environment by using a pretrained MPNet. In this case, the MPNet must have been trained in
multiple environments for random start poses and goal poses. For this syntax, the input test
environment can be a different environment than any on which the planner has been trained. However,statePred
= predict(mpnet
,start
,goal
,environment
)
The grid size of the test environment must be same as that of the environments used for training.
The test environment must have the same data distribution as the training environments.
Note
To find all samples between a start pose and goal pose, you must iteratively use the
predict
function. In each iteration, the predicted state
becomes the new start pose for predicting the next state.
Note
To run this function, you will require the Deep Learning Toolbox™.
Examples
Input Arguments
Output Arguments
References
[1] Qureshi, Ahmed Hussain, Yinglong Miao, Anthony Simeonov, and Michael C. Yip. “Motion Planning Networks: Bridging the Gap Between Learning-Based and Classical Motion Planners.” IEEE Transactions on Robotics 37, no. 1 (February 2021): 48–66. https://doi.org/10.1109/TRO.2020.3006716.
Extended Capabilities
Version History
Introduced in R2023b