-
Notifications
You must be signed in to change notification settings - Fork 92
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
I just damaged my new roboclaw 2x45A controller by launching this file #4
Comments
Wooooooo your PID was set to 0 ?! And you did not have the encoder hooked up? |
Yep, I was trying to connections without any move. So I thought 0 pid gives no motion. What do you think, what was wrong? |
You have several problems:
|
I know how PID works. What do you expect when you give zero to P I D coefficients? Well, I expect no motion. As I said before, I set that parameters to zero for not to damage controller in the first launch. |
The ROS driver does not do anything but set speeds for the roboclaw controller to meet. If it is not properly configured it will not work. This means you must have the encoders attached. Also if you are just testing I would recommend to disconnect the motors from the power terminals and measure the voltage to see if things are operating properly. |
agreed with Sonyccd, I have tested with all the proper connections to the encoders and setup the right values on the Windows application provided by ionmc, when you setup the correct values ans test the node it does work. I had followed all the recommendations and also did an auto tune (and have PID values ), but in my case I did setup and test with low revolutions and thermo fused connections to the motors the node work very well and does not burn your motor controller :), the only issue is the odom data but it works :) |
It is useless now and here is what I did,
I have opened the windows app and limited the max I to 50 for protection.
Checked P I D parameters. They were all 0.
Then cloned the repo.
Connected the computer via usb.
Started roslaunch roboclaw_node roboclaw.launch
Firstly motor 1 started to run in full pwm,
Then motor 2 started to run in full pwm and instantly changed direction
Because of the inertia, the controller died even Motors were in neutral.
It was the weirdest thing that I have experience. No idea what the launch file did.
There was not encoders only motors without touching ground.
Anyway, does anybody know why? I have just buy a 2x60A roboclaw and I certainly do not want to damage this one too.
The text was updated successfully, but these errors were encountered: