how to solve timing problem with laser scan (synchronizing with odometry) in MATLAB with bag file
2 ビュー (過去 30 日間)
古いコメントを表示
fereydoon jafari
2018 年 2 月 21 日
回答済み: MathWorks Robotics and Autonomous Systems Team
2018 年 3 月 14 日
hello guys, I want to simulate the bag data that I got from ROS in MATLAB and I wrote a script to plot the laser data and build a map (I assumed that my poses are correct). my problem is related to synchronization and I match the wrong pose to the scan data. after some research I found that I should use the \tf data but I dont know how to use them. do you have any idea how to get the robot pose at the time of sensor reading?
0 件のコメント
回答 (1 件)
MathWorks Robotics and Autonomous Systems Team
2018 年 3 月 14 日
We have a functionality in "getTransform/ transform/ canTransform" methods:
http://www.mathworks.com/help/robotics/ref/transform.html#bvcig7l --> transform a msg using a desired time
http://www.mathworks.com/help/robotics/ref/transform.html#bvcile2 --> learn more about time travel using getTransform which interpolates.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で ROS Log Files and Transformations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!