Closed sktometometo closed 2 years ago
CI fails. fixing now.
I would like to use jsk_data library in building phase of jsk_topic_tools in order to download a sample rosbag file. But jsk_data has jsk_topic_tools in its package.xml as exec_depend. So if I add jsk_data to package.xml of jsk_topic_tools, it will have a circular dependency. (This causes current CI failure).
I think there are some options to solve this situation.
Each option has pros. and cons. Option 1 will make jsk_data dependency clear, but we have to change all pacakges depends on jsk_data. Option 2 is the most simple solution, but it will greatly increase the size of this git repository (and debian package). Option 3 seems to have the small side effect. but it will cause duplicated downloading implementation.
I think Option 3 is a better solution than others. Is there any advice or suggention?
@k-okada @iory
How about using catkin_download_test_data
?http://docs.ros.org/en/jade/api/catkin/html/howto/format2/downloading_test_data.html
For example, add following lines in CMakeLists.txt.
catkin_download(download_sample_tf_bag https://drive.google.com/uc?id=15i7dPbMxrxR0j6KsH5mSgIWrNNTrYoV4
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/samples/data
FILENAME sample_tf.bag
MD5 13cd56d8d85cdf80139bbe5f7a9e2ef0
)
add_custom_target(download ALL DEPENDS download_extra_data)
Rebased on jsk-ros-pkg/master and use catkin_download() instead of jsk_data
CIs failed. I will fix them.
CI failures seem to be unrelated to this PR. Tests for static_tf_republisher have succeeded.
Update static_tf_republisher
/static_tf
but also to/tf
.