webots: Rover is getting stuck repeatedly or the quadcopter flips
Describe the Bug I have been working on Webots to get my object tracking drone up and running. Link: https://github.com/PrasadNR/Webots-Quadcopter-Python-SITL . However, when the simulation time step in WorldInfo is small, the rover gets stuck. If it is large, the quadcopter flips. If I simulate quadcopter and rover separately, they both work properly in independent simulations. However, I am not able to get both of them running.
Steps to Reproduce
- Clone the repo.
- Just double click on (or run) Webots-Quadcopter-Python-SITL/blob/master/worlds/empty.wbt
- Change
WorldInfo->basicTimeStepto 8 - See error
Expected behavior Rover should not get stuck and the quadcopter should not flip. The behaviour has to be graceful.
System
- Operating System: Windows 8.1
- Graphics Card: NVIDIA GeForce GTX 860M
Additional context I have attached the video. roverStuck.zip
P.S.: I have discussed this with @omichel .
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 16 (6 by maintainers)
Thank you for the feedback, and sorry to read this. I think that these issues could be fixed as we have a working C program doing this released in production.
I hope you’ve not done with Webots 😉
I allow myself to follow up this topic, as @omichel is off this week.
I looked quickly at your issue, I can run your simulation in my environment.
Let me also answer your misc questions:
Webots and Gazebo are not linked at all in any way 😃 Webots uses Qt for this GUI, ODE for its physics engine, and WREN (home made rendering engine9 for its rendering.
The wheel slip is managed by ODE.
Maybe. But I would suspect first your Pioneer controller. Could you simplify it? (removing the cv2 code for example)
You can build Webots from sources using these instructions: https://github.com/cyberbotics/webots/wiki#installation-of-the-webots-development-environment
I would recommend you to open more issues, but to reduce their focus and simplify them at best first 😉