Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dashgo_d1 package for Ubuntu 20.04 and ROS noetic #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

m11112089
Copy link

@m11112089 m11112089 commented Aug 29, 2023

#2
Could you review these changes and provide feedback,please. I believe these updates will enhance the dashgo_d1 driver's compatibility and maintainability on ROS Noetic.

1.In python3, the return value of map() is no longer list, but iterators, you have to convert iterators to list.

2.Python3's string is Unicode, python2.7 is ascii, so we need to encode the string sent to Arduino into ascii, and decode the string received from Arduino into Unicode.

3.thread should be changed to _thread (Low-level threading API).

4.Python 3 disallows mixing the use of tabs and spaces for indentation.

5.Delete yocs_velocity_smoother and change from smoother_cmd_vel to cmd_vel.

6.Python3 print need to add parentheses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant