chvmp / champ_teleop

6DOF Teleoperation package to maneuver CHAMP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

poseBindings are unused

sskorol opened this issue · comments

Hi @grassjelly,

I want to control z via keyboard. There are bindings like t/b for that:

t : up (+z)
b : down (-z)

But they are not used. Is there any reason for that?

I did try it before. Although it works, controlling pose with keyboard is not that intuitive compared to a joystick.

@grassjelly but how could it work if the following bindings aren't called anywhere in the code?

        self.poseBindings = {
            'f': (-1, 0, 0, 0),
            'h': (1, 0, 0, 0),
            't': (0, 1, 0, 0),
            'b': (0, -1, 0, 0),
            'r': (0, 0, 1, 0),
            'y': (0, 0, -1, 0),
        }

It obviously means that when your press any of the above - nothing happens.

i removed it already. feel free to edit it to your liking