-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Model Sliding in Gazebo #20
Comments
Hi, |
Oh okay. Do you think it is fixable with Gazebo aswell? I mean there are other gait generators without that issue in gazebo. Is it a problem with the feedforwardcontroller? My prof said I have to make it work in gazebo for the bachelor thesis. However I was not successful so far and if you say it is unfixable I have to talk to him again concerning that problem. Thanks a lot for the answer! |
We tried everything possible to fix the issue. Still the situation is the same. There are more legged robots working on gazebo, yes. However, they are using ROS1. ROS1 gazebo control plugin has no this issue. Ros 2 gazebo control plugin has no option to change the PID gains of joints, this is the issue causing this slipperiness. |
With that being said, you can try to create a ROS1 PKG to run the simulation using ROS1 control plugin. And use Ros bridge to send joint angles to the simulation |
Well, maybe latest version of ros2 gazebo control plugin has already solved this issue. I haven't checked them. U can give it a shot and let me know as well. |
So I am trying to make the hyperdog gaitgen as well as the champ gaitgen work in Ros2 with Gazebo11. The Champ gaitgen is actually working pretty well. My idea was to compare the two and find if there are some significant differences, but so far I was not successfull. In champ, there is actually a way to change the PID values, here is the .yaml file of it: Champ Gaitgencontroller_manager:
joint_group_effort_controller:
|
I mean it would be very cool if hyperdog would work, do you think with that information it is possible to fix or no? Is it possible that not the whole ros2 gazebo control is bugged, but only the ? |
Great, I'll try to fix it. Gimme a couple of days. I'll write to you if I'll nailed it)) |
Wow that would be soo dope! I am honestly devasted as I have to make it work but I have no more ideas how to do so :( If I can help you somehow, please let me know! |
@lukasehr I think it's a setting up of urdf also, you need to tune the physics properties carefully. I have tried to use this repo before with another legged robot URDF, in my case unitree can walk on the gazebo. I'm also beginner on this, but in my opinion, try to adjust the friction of the gazebo tag and ros2 control parameters. Also, I'm not sure about the effect of the .dae mesh, but I have heard that .dae is better if you want to do the physics simulation with collision geometry. @NDHANA94 If you have any comment, please guide me as well. Anyway thank you very much for you great work! |
@TharitSinsunthorn i tried playing around with the friction settings (mu1 & mu2), I wasn’t really successful with that. Which ros2 control Parameters do you mean, will give it a try 👍 thanks for the suggestions! |
As you gave the example from champ. Im also using joint_trajectory_controller in humble. I tried to tune the PID value and some how it fix the sliding problem. Here is some of my yaml file `RFposition_trajectory_controller:
|
@lukasehr where you able to resolve the issue? |
I have the same issue with my robot (check video). It is just sliding in gazebo and i dont understand why this happens. Maybe one of you guys were able to fix this issue and could help me out. When i remove the gazebo ros2 plugin : then the robots does not slide and just fells down (expected) however i cannot control the robot then. Does anybody maybe had the same issue and was able to solve this ? |
@Robotmaniac8 Can you tell me more about your setup? which ros version are you using, controller, config files, etc. |
@TharitSinsunthorn thank you for your quick response. Ubuntu 22.04 Jelly My urdf and other files can you find in this workspace: bysensesim_ws_V2.zip |
Thank you for your information, as I have observed your package, first, your By this, let's see if it can solve some of your problems. From my experiences, I guess that using I hope this can help you :) |
@TharitSinsunthorn thank you for looking threw my package. The last couple days i tried some stuff out to make it work but unfortunately i still have the same issue. -I tried to change the command_interface from position to effort and changed the urdf accordingly aswell. However in the terminal i got the error that "joint_trajectory_controller" does not work with effort as command interface only [postion, velocity and acceleration]. Do you know how to change to effort ? -I played with the pid values and added extra friction into the world file aswell but no progress. |
Hey there, under known bugs, it says there is a problem with ros2 ctrl pkg which makes the robot slide on the ground. I also experience that issue. Has there been any updates relating that problem. Is there a way to fix it? I've seen under the closed issues that someone might have fixed it, are those changes already adapted?
The text was updated successfully, but these errors were encountered: