Skip to content

Bug in velocity indexing  #4

@vikashplus

Description

@vikashplus

self.obs_dict['object2_velp'] = qv_obj[3+4:3+4+3]

Unlike Object positions which are 7D vectors represented as <x,y,z,q0,q1,q2,q3>, object velocities is 6D vectors represented as <x,y,z,rx,ry,rz>. I believe the correct way to get object's velocities are as below

        # object translational velocities
        self.obs_dict['object1_velp']    = qv_obj[:3]
        self.obs_dict['object2_velp']    = qv_obj[3+3:3+3+3]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions