zoukankan      html  css  js  c++  java
  • ROS tf 两个常用的函数

      /** rief Get the transform between two frames by frame ID.
       * param target_frame The frame to which data should be transformed
       * param source_frame The frame where the data originated
       * param time The time at which the value of the transform is desired. (0 will get the latest)
       * param transform The transform reference to fill.  
       *
       * Possible exceptions tf::LookupException, tf::ConnectivityException,
       * tf::MaxDepthException, tf::ExtrapolationException
       */

    void lookupTransform(const std::string& target_frame, const std::string& source_frame,
                           const ros::Time& time, StampedTransform& transform) const;
    

      /** rief Get the transform between two frames by frame ID assuming fixed frame.
       * param target_frame The frame to which data should be transformed
       * param target_time The time to which the data should be transformed. (0 will get the latest)
       * param source_frame The frame where the data originated
       * param source_time The time at which the source_frame should be evaluated. (0 will get the latest)
       * param fixed_frame The frame in which to assume the transform is constant in time.
       * param transform The transform reference to fill.  
       *
       * Possible exceptions tf::LookupException, tf::ConnectivityException,
       * tf::MaxDepthException, tf::ExtrapolationException
       */

    void lookupTransform(const std::string& target_frame, const ros::Time& target_time,
                           const std::string& source_frame, const ros::Time& source_time,
                           const std::string& fixed_frame, StampedTransform& transform) const;
    
  • 相关阅读:
    bootstrap轮播图--兼容IE7
    css清除默认样式和设置公共样式
    jq三级全选全不选
    妙味课堂--导航手风琴效果(转)
    妙味课堂首页--鼠标经过文字实现类似琴效果(转)
    eclipse导入git项目(转)
    根据屏幕分辨率设置样式
    css选择器
    h5新增标签兼容性
    4.Reverse Words in a String-Leetcode
  • 原文地址:https://www.cnblogs.com/lvchaoshun/p/7819090.html
Copyright © 2011-2022 走看看