ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

PLC Modbus TCP Package based on Python 3

asked 2023-02-06 01:16:16 -0500

IM gravatar image

I would like to use the wrapper to communicate with a Modbus TCP-enabled PLC. I have checked the ROS Modbus Wiki Websitewhich guides me to https://github.com/HumaRobotics/modbus. However, this package is based on Python 2.7 which is tested for Ubuntu 14.04.

Is there any package or reference that I can use for applying Modbus TCP to ROS Noetic with Python 3? Any piece of information will be worth a lot. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-06 12:09:00 -0500

chased11 gravatar image

updated 2023-02-06 12:09:58 -0500

I've used a few packages in noetic that were initially made with python 2. You can try to install python-is-python3 package and see if it runs correctly (shebang at the beginning of python scripts will point to python3 path as well)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-02-06 01:16:16 -0500

Seen: 319 times

Last updated: Feb 06 '23