Dave, Daniel,
Thank you for your reply.
Dave, my question is more something like : "Can MoveIt change it's current plan according to moving obstacles?".
I tried setting allowReplanning to true, but the planner would wait 2 seconds before replanning, and there is no place to set this 2 seconds parameter, I think...
isStateColliding is just a function I can call to check if a certain position is colliding with obstacles right ? So the planning/control can't be handled by MoveIt. MoveIt just can help me to check if the state is colliding in that case?
Daniel, I got that. I already have an estimate of the object position in time. Right now I am trying to use the elastic bands local planner (eband_local_planner) with a path pre-planned by MoveIt. Then I could get the IK with MoveIt and send the commands to the robot.
-Jimmy