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

[jsk_fetch_startup] add rosbag_play.launch and rosbag_record.launch #1220

Merged
merged 13 commits into from
Jul 17, 2021

Conversation

knorth55
Copy link
Member

@knorth55 knorth55 commented May 21, 2020

originally from @sktometometo
modified by @knorth55

I add rosbag_play.launch and rosbag_record.launch for fetch.
in that point, we add latched_topic_publisher.py node for /tf_static and /map topics.

@knorth55
Copy link
Member Author

you can try with following command and get the rviz output

roslaunch jsk_fetch_startup rosbag_play.launch rosbag:=<rosbag filepath> gui:=true

fetch_rosbag_kitchen

@knorth55 knorth55 changed the title [[jsk_fetch_startup] add rosbag_play.launch and rosbag_record.launc [[jsk_fetch_startup] add rosbag_play.launch and rosbag_record.launch May 21, 2020
@knorth55 knorth55 changed the title [[jsk_fetch_startup] add rosbag_play.launch and rosbag_record.launch [jsk_fetch_startup] add rosbag_play.launch and rosbag_record.launch May 21, 2020
@708yamaguchi
Copy link
Member

I could use this pull request, too.
jsk-ros-pkg/jsk_recognition#2509 (comment)

@knorth55
Copy link
Member Author

@k-okada can you please merge this PR?

<node name="quat_points_relay" pkg="topic_tools" type="relay"
args="/head_camera/depth_registered/quater/throttled/points /head_camera/depth_registered/quater/points" />

<!-- latched topic republisher -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knorth55
Why do you republish latched topics?
Without this script, I can rostopic echo latched topic.

For example,

# terminal 1
roscore
# terminal 2
rosbag play 20200619100612_go_to_kitchen_rosbag.bag
# terminal 3
rostopic echo /map --noarr
header:                                            
  seq: 0                                           
  stamp:                                           
    secs: 1592506865                               
    nsecs: 636232232                               
  frame_id: "map"                                  
info:                                              
  map_load_time:                                   
    secs: 1592506865                               
    nsecs: 636231939                               
  resolution: 0.0500000007451                      
  width: 1200                                      
  height: 1200                                     
  origin:                                          
    position:                                      
      x: -13.0                                     
      y: -48.5                                     
      z: 0.0                                       
    orientation:                                   
      x: 0.0                                       
      y: 0.0                                       
      z: 0.0                                       
      w: 1.0                                       
data: "<array type: int8, length: 1440000>"        
---     

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sktometometo can you give us the situation which you need this node?

@k-okada k-okada merged commit 5e290c0 into jsk-ros-pkg:master Jul 17, 2021
@knorth55 knorth55 deleted the fetch-rosbag branch July 17, 2021 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants