TimSchneider42 / franky

High-Level Motion Library for Collaborative Robots
https://timschneider42.github.io/franky/
GNU Lesser General Public License v3.0
33 stars 9 forks source link

Fix c++ and cmake examples in readme #13

Closed Pascal-So closed 1 month ago

Pascal-So commented 1 month ago

The C++ example in the readme did not compile, due to the following errors:

error: ‘class franky::Robot’ has no member named ‘setDynamicRel’
error: no matching function for call to ‘franky::Robot::move(franky::CartesianMotion&)’

Also, when linking to a CMake target, the name of the target has to be provided without a "lib" prefix. In this case here, the name of the target is franky.

TimSchneider42 commented 1 month ago

Hey, thanks a lot for the fixes!