The script can't be run relative from any place, it only works when run from inside MsgGeneration/bin directory. Otherwise it can't find config/BaseTypes.txt file.
It would be useful also to be able to specify an output directory for the new headers. Even thought documentation says "the generated C++ files will be placed in the main folder of the package" it wasn't the case for me as the files ended up in ROS' src/ folder.
The script can't be run relative from any place, it only works when run from inside MsgGeneration/bin directory. Otherwise it can't find config/BaseTypes.txt file.
It would be useful also to be able to specify an output directory for the new headers. Even thought documentation says "the generated C++ files will be placed in the main folder of the package" it wasn't the case for me as the files ended up in ROS' src/ folder.