robomaster_ros icon indicating copy to clipboard operation
robomaster_ros copied to clipboard

Robomaster does not connect to ROS1 noetic on WSL2

Open Ploty32 opened this issue 1 year ago • 3 comments

Good afternoon. Help please soon I have a diploma, and the project is not ready. Because ROS1 does not see the robot Robomaster EP or S1 (I am confused in them), although it is written, as soon as your robot and PC will be on the same network, you can execute the command ,and everything will work. And nothing works because it can't see the robot. I installed wsl2 for windows 11, Ubuntu 20.04 distribution, installed ROS1 noetic, all packages using built fine. I run the file from RobomasterSDK 05_conn_helper.py on windows to display the QR code to connect Robomaster. Yes, and it is not clear what the result will be, as there are no screenshots. I would at least like to see a video about the product in this repository. Thanks in advance)

Ploty32 avatar Apr 25 '24 07:04 Ploty32

Hi @Ploty32,

Unfortunately, I did not use WSL2 in the past. Might it be that WSL2 does use an isolated network? Any chance you can test on an actual Ubuntu machine? Did you root your device in case that it is an S1 (the consumer one, not the education edition thingy)?

jukindle avatar Apr 29 '24 17:04 jukindle

There is a way to check, but WSL2 uses the same communication channels as the Windows it is running on. Pardon me for asking, but what is the difference between educational firmware and consumer firmware and how do I know which is which?

Ploty32 avatar May 01 '24 07:05 Ploty32

Although running the same software, the S1 (consumer) does not run the part of the software exposing the API while the EP (educational) does. If you do a websearch for both, you will know which version you have. The S1 has the turret while the EP might have no end-effector, or the crawl I think

jukindle avatar May 01 '24 07:05 jukindle