Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download single bag files when running samples from apt #2692

Open
Affonso-Gui opened this issue May 31, 2022 · 0 comments
Open

Download single bag files when running samples from apt #2692

Affonso-Gui opened this issue May 31, 2022 · 0 comments

Comments

@Affonso-Gui
Copy link
Member

When trying to run this sample, I got the following error:

[FATAL] [1653975595.871342887] [/rosbag_play]: Error opening file: /opt/ros/melodic/share/jsk_perception/sample/data/2019-07-18-15-37-50_pr2_self_see.bag
[rosbag_play-2] process has died [pid 3785, exit code 1, cmd /opt/ros/melodic/lib/rosbag/play /opt/ros/melodic/share/jsk_perception/sample/data/2019-07-18-15-37-50_pr2_self_see.bag --clock --loop __name:=rosbag_play __log:=/home/affonso/.ros/log/16a3703a-e0a4-11ec-a4b5-b0359fc03d25/rosbag_play-2.log].
log file: /home/affonso/.ros/log/16a3703a-e0a4-11ec-a4b5-b0359fc03d25/rosbag_play-2*.log

This is because the bag files are only downloaded when compiling the package from source.
Needless to say, this is not very friendly to users trying to run samples from the apt installation.

How about we set an on-demand dowload_sample_bag script as follows, and pass the downloaded file as a roslaunch argument?

rosrun jsk_perception dowload_sample_bag 2019-07-18-15-37-50_pr2_self_see.bag
roslaunch jsk_perception sample_robot_to_mask_image.launch bag_file:=2019-07-18-15-37-50_pr2_self_see.bag

@708yamaguchi
@iory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant