Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass the subfolder of the service event location (#957)
Per current implementation, when constructing the service event JavaScript file, we suppose the subfolder of the service event is "srv", but some package, e.g., slam_toolbox, the .srv files are put under srvs/ folder, so when requiring the service event, slam_toolbox__srvs__AddSubmap_Event.js, it will imports the requst file, which is slam_toolbox__srv__AddSubmap_Request.js, and lead to an error. This patch passes the subfolder to the spec when creating the service event JS file, so it can require the request/response files by a correct file name. Fix: #955
- Loading branch information