alphaville / optimization-engine

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

Generated `tcp_iface_...` crate fails to compile #259

Closed michael-p closed 2 years ago

michael-p commented 2 years ago

Dear all,

the generated code for the TCP-interface fails to compile because the used version of the clap crate is not specified, that is, in tcp_iface_.../Cargo.toml there is the dependency clap = "*" which selects the most recent version of clap, 3.0.7, which the TCP interface crate seems to be not compatible with. Manually changing that line to clap = "2" results in the generated project compiling and working just fine. I'm using the Python code generator, most recent version.

Best, Michael

ruairimoran commented 2 years ago

Thanks for this information, hotfix coming soon.

ruairi

alphaville commented 2 years ago

@michael-p thank you for reporting this. The issue has now been fixed in version 0.6.9 of opengen.

michael-p commented 2 years ago

Works great, thank you all very much for your work! It's much appreciated!