Remove obstacles from capsule list
obstacleIDs— IDs of obstacles
IDs of obstacles to remove, specified as a vector of positive integers.
status— Result of removing obstacles
Result of removing obstacles, specified as N-element column
vector of ones, zeros, and negative ones. N is the number of
obstacles specified in the
obstacleIDs argument. Each value
indicates whether the obstacle is removed (
1), not found
0), or a duplicate (
-1). If you specify the
same obstacle ID multiple times in the
obstacleIDs input argument,
then all entries besides the last are marked as a duplicate.