Autoware ROSBAG Demo doesn't work as expected
Hi guys, i'm trying to create a ndt_mapping using our bag file, but isn't successful.
First, according to this page (here)
- Go to Simulation tab and select arosbag
- Click "Play" and click "Pause
- Click Computing tab and select ndt_mapping
- Click RViz button
- Go back to Simulation tab and click Pause to start mapping
And no point cloud is shown in rviz.
I test the ROSBAG Demo according to this page (here)
And no point cloud is shown in rviz, too.
I using ubuntu 18.04/melodic Autoware:1.12 (use source install)
To visualize using rviz, you should set TFs properly. I guess this is the cause.
Could you try these additional steps?
ndt_mapping
If not resolved, please give us these information.
rosrun tf view_frames
(frames.pdf)@scarlet191101 Have you solved this problem?
I don’t have much time to try recently.
Click "TF" I have tried, but it is not effective
I don’t know why I often crash when I last tested.
I will test it when I have time.
Thank you~
same issue as above. I tried your suggestions but got this error when relaunching MAP.
RLException: while processing /home/<myname>/.autoware/data/tf/tf.launch: Invalid roslaunch XML syntax: [Errno 2] No such file or directory: u'/home/<myname>/.autoware/data/tf/tf.launch'
answers to your questions above. 1) dot - graphviz version 2.40.1 (20161225.0304)
Detected dot version 2.40 frames.pdf generated I don't know how to attach a file here but here is a cut and paste of the .pdf. It shows world connected to map and base_link connected to velodyne.
Recorded at time: 1427157851.432 world base_link Broadcaster: /world_to_map Average rate: 99.505 Hz Most recent transform: 1573667449.140 ( -146509597.709 sec old) Buffer length: 4.985 sec map Broadcaster: /base_link_to_localizer Average rate: 99.533 Hz Most recent transform: 1573667449.141 ( -146509597.710 sec old) Buffer length: 4.983 sec velodyne
2) don ...(more)
3) Rviz error: TF: No transform from [base_link] to frame [world] No transform from [velodyne] to frame [world] Points Raw: For frame [velodyne]: No transform to fixed frame [world]. TF error: [Lookup would require extrapolation into the past. Requested time 1427157850.433733120 but the earliest data is at time 1573666846.142417109, when looking up transform from frame [velodyne] to frame [world]]
@avdev Thank you for giving the information. If possible, could you upload the data to Google Drive or some online storage services and share the link?
As for the error, I think the cause is you are launching nodes BEFORE starting rosbag play. When we play rosbag, rosparam
use_sim_time
will be true. We need to launch nodes after that in order to use the simulation time.Kenji-
Thanks for the feedback.
I tired it again making sure to start the rosbag play before launching the map node. I am not sure how to check the use_sim_time.
Here are the screen shots and .pdf you asked for. https://drive.google.com/drive/folder...
A second problem that I did not mention earlier is that RuntimeManager has screen tearing making it hard to do more than 2 steps. Any ideas there?
also I did not find the tf.launch in sample moriyama data but used this instead for #2 in your suggestions. /home/<username>/autoware.ai/src/autoware/documentation/autoware_quickstart_examples/launch/tf_local.launch