Repository navigation
Conversation
|
Please file this request against upstream. |
| // Boost file system | ||
| namespace fs = boost::filesystem; | ||
|
|
||
| const std::string g_setup_assistant_file = ".setup_assistant"; |
There was a problem hiding this comment.
moveit does not use the g_ convention anywhere and it seems really out of place here. instead:
static const std::string SETUP_ASSISTANT_FILE =
|
+1 |
@v4hn I wanted to draw on your original commits. Please merge.
As this is a config file of setup assistant, it should by default reflect the latest changes made. |
|
On Thu, Sep 08, 2016 at 11:31:59PM -0700, Robert Haschke wrote:
I will hopefully remember to look at it when I'm back home next week. |
|
ping @v4hn |
|
|
||
| install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) | ||
| install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) | ||
| install(FILES .setup_assistant DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) |
There was a problem hiding this comment.
Why install the .setup_assistant file? There's no need for a template of this one, is there?
The code currently works fine without this files being installed, doesn't it?
There was a problem hiding this comment.
Wow, I didn't even know there was such a launch file.
Actually, I would like to propose to remove the installation rule for the launch file instead of adding .setup_assistant.
Installation workspaces should not be edited and I would prefer not to encourage that.
There was a problem hiding this comment.
I see you point. Not installing setup_assistant.launch would be a clean solution, I think.
There was a problem hiding this comment.
+1 to not allowing binary-installed moveit config packages to be edited with setup assistant via removing roslaunch file
|
Recreated in moveit#221. |

Thinking a little bit more about moveit#187, I came to the conclusion, that we shouldn't bother the user with even more warning messages, but instead fix the reason for the not-generated
.setup_assistantfile.The reason is that
.setup_assistantfile is by default disabled for generation, because it's file timestamp is more recent than the generation timestamp stored in the file. However, ignoring that fact, the file should always be written when the package is generated.This PR removes your additional warning message, but instead simply enables file generation for
.setup_assistantin any case.