-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can you clatify the can bus connections for this setup? #3
Comments
Hi @console-beaver . I have the same problem. I can't controll motors (gimbal is working). I use 2 CAN-BUS and I use the oldest code version. Can you tell how did you solve a problem? It's really important for me. Thanks 👍 |
Generally speaking, the old code with two CAN Bus connections where the controller was sandwiched between CAN Busses as a pass-thru, had alot of issues. I'm now using the newer code which got rid of "Intelligent controller" and it works for me. Also make sure you keep holding L2 button on your controller, otherwise it wont send any messages. |
I had the same problem, but when i change code on the newest (one CAN) robot didn't respond. |
|
Where you are getting these messages from? ds4drv? Make sure you start ds4drv with elevated privileges, i.e. via sudo. |
The same problem . Roscore is working and when i want roslaunch then i see the same error. I think ROS is working, but it's something wrong in robomaster ros code EDIT: sudo ds4drv work fine |
@console-beaver , I had problem when i tried start "roslaunch ros_robomaster_s1_bridge robomaster_s1_bridge_joy.launch". Drives ds4drv work good. I don't know what is a problem. What do you think, what is not ok ? Thanks :) |
@krvcz, @Radziula7 make sure that you are using the older version of robomaster_s1_bridge_joy ROS code. The old version uses udp protocol to communicate with the bridge controller, the newer version uses USB. |
@console-beaver. I also uploaded the newest code version and I connected the wires correctly (robomaster led is blue). I uploaded program in ros and I tried testing ros program, robomaster didn't move :( |
Try to troubleshoot the joystick controls, to make sure it's working under linux.
root@nx-tegra194:~# ls -la /dev/input/js0 root@nx-tegra194:~# ls -la /dev/hidraw0
sudo jstest /dev/input/js0 |
@console-beaver thanks for your advice. Can I ask you when i have a problem ? :) |
We are trying to use this code, but it doesn't work in our setup. We still can control gimbal/blaster via Robomaster app and can capture the canbus packets from the "intelligent" controller, but we cannot control motors ("motion" controller) via both joystick and Robomaster app.
Can you please clarify how to you connect Can Bus'es in your setup?
The text was updated successfully, but these errors were encountered: