Giter Site home page Giter Site logo

Comments (2)

meyerj avatar meyerj commented on June 30, 2024

Hi @muhrix,

sorry for the delay!

So far so good... However, once I took off and flew towards the wall, I realised the quadrotor flew literally through the wall. It does not behave as if there were no wall; there clearly is some disturbance in the flight. Nevertheless, it should never manage to pass through the wall (from my understanding).

I cannot really reproduce the problem. It is known that the simulated quadrotor starts to tumble around if it hits a wall and also that it can traverse it, but it is barely controllable afterwards and usually you have to reset the model. You definitely should see a reaction. I am not sure how we could make this behavior more realistic (given that the quadrotor has prop guards), as collision forces are handles by Gazebo's physics engine only. Ideas are welcome!

I have also noticed (in a Gazebo world I created) that if the world does not have a ground plane model, then the quadrotor does not land on the ground, but instead goes through the ground and falls to infinity. I did not observe this behaviour with the ground robots either.

This is desired behavior. There is no implicit "ground at z = 0" assumption. The world has to provide a collision geometry, otherwise the quadrotor will just fall until the motors are engaged (by commanding a positive vertical velocity). You can enable visualization of the collision geometry in Gazebo's "Views" menu. Some models might only have a visual model but no collisions defined. Can you see the collision mesh of the ground plane and for the walls/obstacles?

from hector_quadrotor.

muhrix avatar muhrix commented on June 30, 2024

Hello @meyerj,

Thank you very much for clarifying these issues.

The first part of what you explained makes sense. My doubts were mostly related to how the quadrotor managed to go through the wall and a ground robot cannot do it, but it does look like it is something to do with collision forces simulated by Gazebo. This was an observation I made, but ideally the quadrotor should avoid bumping into things anyway.

In regards to the second issue, I have a collada mesh which I use for visual and collision, defining walls and multi-storey floors. The ground robot does respect the mesh and does not fall to the ground floor, but the quadrotor only stops falling on the ground floor. I only managed to setup one plane in Gazebo (it appears to be by design). The issue with that is that I cannot land on the top floors.

I'll visualise the collision in Gazebo and get back to you (I cannot remember how it looked, but I did check that). I guess both cases were somewhat related.

Thanks again! :-)

from hector_quadrotor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.