-
Notifications
You must be signed in to change notification settings - Fork 46
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
Robot moves randomly using "velocity controller.launch" #6
Comments
Sorry for not answering before, I had no time in the last couple of days. The wheels moving randomly happens with some controllers when they output an effort value that is below a certain threshold. I don't remember the exact details, but I think it shouldn't be happening. In the last tests I made, I received some error messages regarding the controllers, but haven't looked at them. Although you wrote you got no error messages, it could be related. I was trying to make the robot colored, but I don't remember right now in which cases it wasn't working. Another thing that I'll have to take a look. Next time I have some time, I'll compare this project with another project I made that used this package, with some modifications, to see if I can make it work again. The other one I'm pretty sure should be working. |
First of all, don't be sorry for no answering in some hours! I didn't expect an instant response and it wasn't necessary. I will take a look on the next days and post the solution to my problem if I find it. The color isn't a problem for me, I just mentioned it as a curios fact. Thanks for the feedback!! |
No problem, it's just that I like to err on the side of politeness... |
Fixed in 7f78441! The problem is that the joints had a name in the description and a different name in the controller. I also added some files in the |
Thank you very much for the update! I have tested and it works fine for me. I also was thinking that the problem was in the joints names. What I made was changing the naming in As I said your code works perfectly. I only ask to understand the whole thing. |
@AlvaroFerGar You're welcome! About them Yeah, I didn't changed the names in the About the color, I remembered something. Take a look here. It should be enough to give you some inspiration 😉. Keep in mind I also remembered that something changed in a Linux library, |
Hi~Maybe I meet the same problem with you, the car rotates clockwise along the yaw axis. Could you tell me your detailed solution? Thank you very much. |
Hey
I contact you a months ago to know how to move the robot with the
keyboard.
During the project I was able to find a solution to move the robot with a
keyboard and a PS3 joystick , if you want I can send you the project.
Thank for the support.
Na(o) quarta, 15/08/2018, 11:49, Guilherme Alan Ritter <
notifications@github.com> escreveu:
… Sorry for not answering before, I had no time in the last couple of days.
The wheels moving randomly happens with some controllers when they output
an effort value that is below a certain threshold. I don't remember the
exact details, but I think it shouldn't be happening.
In the last tests I made, I received some error messages regarding the
controllers, but haven't looked at them. Although you wrote you got no
error messages, it could be related.
I was trying to make the robot colored, but I don't remember right now in
which cases it wasn't working. Another thing that I'll have to take a look.
Next time I have some time, I'll compare this project with another project
I made that used this package, with some modifications, to see if I can
make it work again. The other one I'm pretty sure should be working.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AiQ3L3U4SzmYdsB6DVUzymob4FOAkPxHks5uQ_zXgaJpZM4V8XTZ>
.
|
Hello @lanxzheng ! As I said, my main problem was that I had different names for the joints in the Hope it has helped! |
I'm glad to hear you got it working! I'm not working with keyboard or joypad control right now, but maybe it would be a good idea to make a repository with the solutions you found. You'll be able to help more people that way 😉. |
Hello,
I roslaunched the velocity controller.launch file. I expected that the robot will spawn and remain static until I publish some commands in one of the topics. After this, I wanted to do something like driving the robot with a keyboard.
The topics seem to be fine and no error message is shown but the robot wheels appear to move randomly. I'm not sure if something(no idea what) went wrong or if this is the normal behavior. In both cases, I'd appreciate some help in order to make an initially static robot.
I'm working with ROS Kinetic and Gazebo 7.0 in Ubuntu 16.04LTS.
If it helps, here is the output in my terminal...
...and the created topics.
And, finally, the robot is spawning with any color. Not sure if this is related to the main problem but it can be a clue to somebody.
Thanks in advance!!!
The text was updated successfully, but these errors were encountered: