alphaville / optimization-engine

Nonconvex embedded optimization: code generation for fast real-time optimization + ROS support
https://alphaville.github.io/optimization-engine/
Other
512 stars 53 forks source link

Fix #123 - interface.c #124

Closed alphaville closed 5 years ago

alphaville commented 5 years ago

This pull request fixes bug #123

korken89 commented 5 years ago

Overall looks good, but this interface, will it allow to link multiple solvers together? I think we will get link time collisions

alphaville commented 5 years ago

Overall looks good, but this interface, will it allow to link multiple solvers together? I think we will get link time collisions

@korken89 I guess you're right. I'd rather give solver-specific names to non-static functions in interface.c, e.g., cost_function_my_optimizer instead of cost_function. I'll do this in a separate PR.

alphaville commented 5 years ago

@korken89 see PR #129