1.configuration  space中的distance

metric说明:定义了在configuration space中distance是怎么计算的
    the configuration space metric: this metric defines how distances are calculated in the configuration space of the manipulator, in order to identify a configuration node that is closest to what we are looking for. The metric corresponds to assigning a weight to each joint in the manipulator. Larger values will count for larger distances in the configuration space: if the first joint of a manipulator rotates by 1 degree, the end-effector displacement will usually be larger than if the last joint of the same manipulator rotates by the same amount. To take this into account, one would normally give larger weights to the base joints.

metric={0.5,1,1,0.5,0.1,0.2,0.1}  给每一个关节值的差分配权重。

计算方法:

getConfigConfigDistance=function(config1,config2)-- Returns the distance (in configuration space) between two configurations-- 返回两个 configurations 之间的距离 -- 这个求距离的方法叫做2范数(求元素的平方和再开方)-- 求这个距离d的方法应该是将两个configuration之间对应的每一个关节值相减得到的值乘以一个权重metric然后平方,再求平方和,最最后再开方local d=0for i=1,#jh,1 dolocal dx=(config1[i]-config2[i])*metric[i]d=d+dx*dx   endreturn math.sqrt(d)
end

2. pose 与 pose 之间距离的计算方法

具体的函数说明看官方文档中的 sim.getConfigForTipPose( )

 distances计算方法(求2范数):

-- Distance between two poses is calculated using a metric.
      -- Metric (input): an array to 4 values indicating a metric used to compute pose-pose
-- Distances: distance=sqrt((dx*metric[0])^2+(dy*metric[1])^2+(dz*metric[2])^2+(angle*metric[3])^2). 
-- Can be NULL for a default metric of {1.0,1.0,1.0,0.1}.  

       sim.getConfigForTipPose( ) 说明:

       Searches for a manipulator configuration that matches a given end-effector  position/orientation in space. 

       搜索是随机的(猜测是随机采样)getConfigForTipPose找到一个符合给定的end-effector 位置和姿态的                                       configuration 

       举例说明:

c=sim.getConfigForTipPose(ikGroup,jh,0.65,10,nil,collisionPairs)

-- ikGroup 是逆运动解算对的handle    
-- 0.65(thresholdDist)是一个距离(或者说一个度量)  a distance indicating when IK should be computed in order              to try to bring the tip onto the target
     Distance between two poses is calculated using a metric.
-- 10 以毫秒为单位的最大时间,之后搜索将中止
-- metric (input): an array to 4 values indicating a metric used to compute pose-pose
-- distances: distance=sqrt((dx*metric[0])^2+(dy*metric[1])^2+(dz*metric[2])^2+(angle*metric[3])^2). 
-- Can be NULL for a default metric of {1.0,1.0,1.0,0.1}.

参考:

1.Motion planning setup

http://www.coppeliarobotics.com/helpFiles/en/oldMotionPlanningSetup.htm

2.http://www.coppeliarobotics.com/helpFiles/en/regularApi/simGetConfigForTipPose.htm

Vrep之configuration space之间和pose之间距离的计算方法相关推荐

  1. AI-蛋白质-结构预测-2020:AlphaFold【输入:氨基酸序列】【输出:结构的性质(氨基酸之间两两的距离分布,氨基酸链的夹角分布)】【根据预测的性质构建约束,从而求解出拓扑结构】

    注意:这是关于AlphaFold的算法详细解析,而不是AlphaFold2的 注意:带斜体句子的是个人推测,不确定是否和论文对应. 作为一个计算机专业的算法从业人员,一直对AlphaFold[1]的算 ...

  2. PCIE Configuration Space

    空闲看看PCIE 5.0 spec, 照本宣科简单记录一下. 先上框架图,部件互连是点对点链接(point-to-point link),由Root Complex(RC), Endpoints(I/ ...

  3. 十一届蓝桥模拟赛 元素之间最大的元素距离 JAVA

    问题描述 在数列 a_1, a_2, -, a_n中,定义两个元素 a_i 和 a_j 的距离为 |i-j|+|a_i-a_j|,即元素下标的距离加上元素值的差的绝对值,其中 |x| 表示 x 的绝对 ...

  4. 构型空间(Configuration Space)(下)

    第三章 Configuration Space(下) 由于格式问题,文章内容以图片形式上传:如果喜欢本文的朋友可以去github上下载PDF版本. 第3章 Configuration Space(下) ...

  5. 恐惧 android游戏,恐惧之间游戏-恐惧之间安卓版最新预约v1.0-游迅网

    恐惧之间是一款3D风格为主的狼人杀类的游戏,这里有各种各样的角色,逼真地图场景,配上惊悚的背景音乐,代入感很强,采用了第一人称视角,让你仿佛身临其境,融入了大量的恐怖元素,结合了当地的文化特点,尽情的 ...

  6. Configuration space(C-Space)

    https://www.zhihu.com/question/60108896 Configuration space(C-Space) 中文译名:构形空间,构位空间 . 相当于对work space ...

  7. 注塑机摆放间距多少合适_红木家具之间正确的摆放距离

    >>>>在客厅 1. 长沙发与摆在它面前的茶几之间的正确距离是多少? 30厘米.在一个(240*90*75高 厘米)的长沙发面前摆放一个(130*70*45高厘米)的长方形茶几 ...

  8. 协方差 之 随机变量间的协方差及向量之间的协方差之间的微妙的区别

    1.传统统计学中的随机变量(元素无序)的协方差计算公式: 这里我们计算E[XY]时,需要用到随机变量函数的期望:这里假设X,Y为离散随机变量:                             ...

  9. PCI配置空间(PCI Configuration Space)

    https://www.cnblogs.com/zszmhd/archive/2012/05/08/2490105.html PCI设备(PCI device)都有一个配置空间,大小为256字节,实际 ...

最新文章

  1. 三星emcp型号详解_Samsung eMCP(三星eMCP).pdf
  2. php-Facade(外观模式)
  3. ubuntu:通过封装验证码类库一步步安装php的gd扩展
  4. Spring Boot-@EnableWebMvc注解
  5. 怎么把cad做的图分享给别人_在线协同文档分享后,别人只能看却不能写怎么办?...
  6. Qt学习笔记-使用QStyleFactory::create()变换风格
  7. Spring Data Jpa出现Not supported for DML operations
  8. 坐标计算距离公式 火星坐标系_地图坐标转换 -- 火星坐标与GPS坐标
  9. PHP swoole解密,[讨论]php7.3如何解密swoole
  10. 不要随便给猎头简历!不沟通就瞎投简历,毁了金三银四的大厂面试!
  11. 【DFT】可测性设计(一)扫描测试
  12. 跨平台C++框架Qt教程:如何编写地图综合应用-点聚合|附源码
  13. 中国航空维修行业“十四五”期间规划建议与投资动向分析报告2022年版
  14. 网络安全 中间人攻击-web欺骗 软件:Burp Suite
  15. 恢复计算机在哪,电脑360文件恢复工具在哪
  16. java手机号加密概述
  17. Vue+Echarts实现中国地图+各省业务数据分布情况组件
  18. 这3种扣工资行为,是违法的
  19. 使用iToolab UnlockGo for Mac 无需密码即可解锁 Apple ID
  20. 常用SQL命令汇总--多表查询

热门文章

  1. 写在弥勒宝贝两周年之际
  2. javascript的BOM
  3. 计算机科学与软件工程的区别
  4. 【java】在jsp的js和css里面使用EL表达式取值|style里面用$取值
  5. 【HP-Unix快捷命令行键详解】
  6. 详细说说ActionScript中function的call()方法和apply()方法
  7. Flash Media Server安装
  8. keras 官方文档
  9. myeclipse2017安装与破解
  10. java B2B2C 仿淘宝电子商城系统-eureka 基础