Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not delete line for catkin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These lines are copied from hrpsys_tools_config.py:
https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_tools/scripts/hrpsys_tools_config.py
I thought hrpsys_tools_config.py worked on both rosbuild and catkin.
Is this correct?
sensor_ros_bridge_connect.py has another way to import hrpsys_config.py.
https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/scripts/sensor_ros_bridge_connect.py
I'd like to know which is the best way to import hrpsys_config.py.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/start-jsk/rtmros_common/blob/9c30250a5df5793dd9df0b161fc7642835755b67/hrpsys_ros_bridge/scripts/hrpsys_dashboard is the good example of writing python code that works on both rosmake and catkin.
the example you mentioned had some trouble on same situation (sorry I can't point out but it actually have problem)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I referred [1] and I checkout committed PR works both on rosbuild and catkin.
[1] https://github.com/start-jsk/rtmros_common/blob/9c30250a5df5793dd9df0b161fc7642835755b67/hrpsys_ros_bridge/scripts/hrpsys_dashboard