Do you think that the RobOptim optimization library (which I read about in C++ library for nonlinear constrained minimization) could be used for real-time optimization for the velocity control of a robot? Being more specific, I have a distance function that I want to minimize between a point of the robot and an obstacle and I have constraints on the maximum velocity/acceleration/jerk of the robot joints, and I want to find the velocities needed to drive the robot away from the obstacle. Do you think I can solve such an optimization problem respecting the real-time requirements of my robot, considering that the iteration time is 1 ms. I know the question may be very vague, and more details should be provided about the algorithm, but for now I am just interested in the order of magnitude of the time needed by this optimization library to provide a result. For example, if the library is generally used for problems that need a solution after a time in the order of seconds it is clearly not suitable for my application.
Thanks for any suggestion