Teleop_twist_keyboard: inverted commands

Hello,
using teleop_twist_keyboard to control my robot, I noted that with the letter j l the robot translates instead with i, letter rotates.
I have an American qwerty keyboard. Never it happened before!
Any suggestions are appreciated
Thanks
Salvatore

  • Which specific teleop package are you using?
  • Did you modify the telop source?
  • Are you talking about a simulated robot or a real robot?

Hello Bayodesegun,

Which specific teleop package are you using? ros2 run teleop_twist_keyboard teleop_twist_keyboard 
Did you modify the telop source? I do not
Are you talking about a simulated robot or a real robot? simulated

thanks
Salvatore

Salvatore, do the following check:

  1. Do an echo of the cmd_vel
  2. Then press the different keys that are sending the velocity commands
  3. Then check if, when you press the right key, the echo command shows an actual turn to right command (that is angular.z must be negative). Do the same test with the others and let us know
  4. If the cmd vel command shown is correct but the robot turns to the other side, then the problem is in the simulation, not on the keyboard teleop (that is what I suspect)

Let us know the results

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.