Skip to content

The dashgo_d1 package for Ubuntu 20.04 and ROS noetic - #3

Open
m11112089 wants to merge 5 commits into
EAIBOT:masterfrom
m11112089:master
Open

The dashgo_d1 package for Ubuntu 20.04 and ROS noetic#3
m11112089 wants to merge 5 commits into
EAIBOT:masterfrom
m11112089:master

Conversation

@m11112089

@m11112089 m11112089 commented Aug 29, 2023

Copy link
Copy Markdown

#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