osrf / rosbook

Example code to accompany the book Programming Robots with ROS
Apache License 2.0
484 stars 236 forks source link

update key_publisher.py and keys_to_twist.py #51

Closed amjadmajid closed 2 years ago

amjadmajid commented 3 years ago
  1. The change in key_publisher.py enables me to run the code on Ubuntu 20.04 with python
  2. The change in keys_to_twist is necessary to get the code to run on python 3.x as has_key() method has been removed from python 3.x