Is it possible to extract gray scale images using image_view?
I have ros messages which contains imaged data of type 16UC1. But image_view seems to extract image of type RGB8 only. Is it possible to make it convert 8UC1 and 16UC1 types?
View ArticleExtract time from .bag file
Hi, I am trying to process some bag files and, while I am able to get the timestamp for each message, I am not able to get the actual time the message was received. Is it possible to get it? I am using...
View Articlenodes not working in launch file
Hello guys, I have the problem that some nodes are not working from launch file. Specifically the tf static_transform_publisher and also the rosbag record. I do not get any error but they are not...
View ArticleROS bag metal detector
i am having trouble extracting information from metal_detector_msg/coil from rosbag file.Can any one provide some information regarding the same.My python scripts works good for imudata msg,camera msg...
View Articlerosbag play tf issues
I have a very peculiar issue here. When playing the well known bagfile rgbd_dataset_freiburg1_xyz.bag and have rviz open, the clock gets stuck around 3.780429. If i play back with 10% speed, everything...
View Articlerosbag bag_player issue
Hello everyone, i am trying to play a bagfile in c++ code using the "bag_player" class, but cannot find a way to satisfy the second argument of the "register_callback" method. The code in question...
View ArticleHow to use service calls to toggle rosbag?
Dear all, I would like to toggle rosbag with a service call. I want to do this because I put a mini computer on a quadrotor, and I need to rosbag all the messages when I turn on a switch. Best, Ziyang
View ArticleWhat does "cannot migration from subtype [] to []" mean when generating...
I'm generating new migration rules for bag files that will be appended to existing migration rules. When generating the new rules I get messages like this: WARNING: Within rule [some_rule] cannot...
View ArticlePlayback of rosbag file at the same rate that messages are stored in rospy
Hi, I am trying to playback data that I have stored using rosbag in rospy. Is it possible to playback the rosbag file in rospy at the same rate that it is recorded? I know that I can do this from the...
View Articlewhen I use the code copy from rosbag tutorials,there some wrong?
when I use the code copy from the tutorial(http://wiki.ros.org/rosbag/Code%20API),but there are some wrong like this:error: expected primary-expression before ‘const’ foreach(rosbag::MessageInstance...
View ArticleProblem for leg_detector in People package when using rosbag play
I have collected /tf and /scan data from a Turtlebot2( i.e. Kobuki robot) by using rosbag record. I also have written a new tracker and want to test it with the recorded data beforehand. The new...
View Articlerosbag doesn't display map in real-time on rviz
I am following the gmapping tutorial, and it says: If you don't care to wait until the log playback and mapping process has finished before seeing some results, then you can watch the progress in rviz....
View ArticleIssue trying to modify bag contents with python
So I've found out that I need a frame_id in my imu message to be able to visualize it in RViz, so I've been trying to add a frame_id to the bags I have. When I try reading through the messages in the...
View ArticleWhy doesn't the rosbag api support splitted bags files?
Hi, I am writing a piece of code which uses the rosbag python API to parse a bag file. It crawls a directory and processes all found bags (searches for *.bag). Basically it looks like this for filename...
View ArticleROS offline bag view with message_filter synchronizer callbacks
I have a stereo camera node that takes in images and camera infos set up with an approximate sync policy: typedef message_filters::sync_policies::ApproximateTime ApproximatePolicy; typedef...
View ArticleCannot include rosbag as catkin dependency
I am having trouble including rosbag as a catkin dependency for my package (to use the C++ API). I have added it as both a build and run dependency in package.xml; i.e.,rosbagrosbag And it is included...
View ArticleError playing bagfile ~4GB on 32bit system
Hello, I have no problem with the info comand, but when I am trying to play a bagfile but i am gettint an error. [FATAL] [1425331406.887155495]: Error opening file: 2015-02-13-10-04-56.bag Bagfile...
View ArticleBroken laser_assembler bag link. Need tilt_scan bag file
Hi, The sample bag file in the tutorial page of [laser_assembler](http://wiki.ros.org/laser_assembler/Tutorials/HowToAssembleLaserScans) package is broken or removed. Can anyone provide a link to the...
View ArticleTransform not working with rosbag
I have followed the tutorial to create a tf broadcaster. Here is the code: void poseCallback(const sensor_msgs::PointCloud2::ConstPtr& msg){ static tf::TransformBroadcaster br; tf::Transform...
View Articlebag migration, fill new field with incrementing counter
Is it possible to fill a new message field in an old bag data with an incrementing counter using a bag migration rules file (http://wiki.ros.org/rosbag/migration) and rosbag fix?
View Article