ZJU-FAST-Lab / LBFGS-Lite

LBFGS-Lite: A header-only L-BFGS unconstrained optimizer.
MIT License
320 stars 56 forks source link

Optimisation timeout #10

Open shubham-shahh opened 1 year ago

shubham-shahh commented 1 year ago

Hi, @ZhepeiWang @bigsuperZZZX I was wondering if there is a way to add a timeout to ensure we don't run the optimization more than a few ms or it may throttle other functions/ callbacks running. I am referring to the use of LBFGS-Lite in ego-swarm-planner-v2.

I have noticed that there are instances when the FSM callback is stuck in the optimization step.

thanks

bigsuperZZZX commented 1 year ago

Of course

shubham-shahh commented 1 year ago

Of course

Hi, thanks for the response, How can I add a timeout, if you could guide me with a few initial steps to add a timeout

thanks

shubham-shahh commented 1 year ago

Of course

Hi, thanks for the response, How can I add a timeout, if you could guide me with a few initial steps to add a timeout

thanks

Hi @bigsuperZZZX, any update on this?