test_create_path_constraints.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:toppra 作者: hungpham2511 项目源码 文件源码
def test_slack_bounds(self, rave_re_torque_data):
        """ Test pc.l, pc.h vectors
        """
        data, pc = rave_re_torque_data
        path, ss, robot, J_lc = data
        tau_bnd = robot.GetDOFTorqueLimits()

        for i in range(pc.N + 1):
            npt.assert_allclose(pc.l[i], -tau_bnd)
            npt.assert_allclose(pc.h[i], tau_bnd)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号