Git Product home page Git Product logo

Comments (4)

petrlmat avatar petrlmat commented on May 25, 2024 1

Hi, unfortunately we cannot help you with this issue without more information. The collision avoidance works by default, and you can test it by running the session ~/mrs_workspace/src/simulation/example_tmux_scripts/three_drones_gps.

Without knowing how your setup deviates from the default one, it is impossible to assess the cause of the collision. Please provide your session.yml with tmux log and rosbag. Tmux logs should be by default recorded in ~/bag_files/ and to record a rosbag you can run rosrun mrs_uav_general record.sh.

from mrs_uav_system.

DanHert avatar DanHert commented on May 25, 2024 1

Hello, a few comments about collision avoidance:
The collision avoidance is just a safety mechanism for real-world experiments, it is not bulletproof and if you push it too much, it will lead to crashes. Your software, which is giving trajectories/references to the drones has to plan collision-free from the beginning, and not rely on our collision avoidance. The collision avoidance is there just for cases when something goes wrong, and it should not be triggered normally.

In simulation, if you send all the drones to the same position, they end up above each other, and their laser rangefinders will actually not be pointed at the ground, but at the drone below, giving a bad altitude measurement, which will eventually lead you to a crash.

from mrs_uav_system.

ahmadi-ali avatar ahmadi-ali commented on May 25, 2024

Hi
Thanks for your reply.
I used the same script ~/mrs_workspace/src/simulation/example_tmux_scripts/three_drones_gps
I just edited these command to go to the same position

- 'export UAV_NAME=uav1;
  history -s rosservice call /$UAV_NAME/control_manager/goto \"goal: \[10.0, 0.0, 2.0, 0.0\]\";
  history -s rosservice call /$UAV_NAME/control_manager/goto \"goal: \[0.0, 0.0, 2.0, 0.0\]\"'
- 'export UAV_NAME=uav2;
  history -s rosservice call /$UAV_NAME/control_manager/goto \"goal: \[-10.0, 0.0, 2.0, 0.0\]\";
  history -s rosservice call /$UAV_NAME/control_manager/goto \"goal: \[0.0, 0.0, 2.0, 0.0\]\"'
- 'export UAV_NAME=uav3;
  history -s rosservice call /$UAV_NAME/control_manager/goto \"goal: \[0.0, 10.0, 2.0, 0.0\]\";
  history -s rosservice call /$UAV_NAME/control_manager/goto \"goal: \[0.0, 0.0, 2.0, 0.0\]\"'

this is the only change i made to test that.

from mrs_uav_system.

ahmadi-ali avatar ahmadi-ali commented on May 25, 2024

Thanks for the explanation.

from mrs_uav_system.

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.