CentroEPiaggio / thunder_dynamics

Other
4 stars 0 forks source link

Error in library generation #24

Closed tolomeis closed 2 months ago

tolomeis commented 2 months ago

Generating example robot throws cannot copy file error

/thunder_dynamics/bin$ ./thunder gen ../robots/franka/franka.yaml panda
Robot name: panda
Library generated!
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot copy file: No such file or directory [/home/thunder_dev/thunder_dynamics/bin/../robots/franka/panda_generatedFiles/panda_gen.h] [../../thunder_robot/library/panda_gen.h]
Aborted (core dumped)
GiorgioSimonini commented 2 months ago

solved in last commit! thunder will not copy to thunder_robot project folder if ./thunder is executed from bin