Comments (4)
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.
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.
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.
Thanks for the explanation.
from mrs_uav_system.
Related Issues (20)
- Make the swap persistent after reboot. HOT 3
- [DOUBT] Why are the ROS packages linked externally and not directly placed within the workspace? HOT 2
- Allow (again) to see and set non-ctu controllers and tracker in mrs_uav_status windowπ HOT 2
- Troubles running Rviz after installing the mrs_uav_systemπ HOT 13
- Update px4_firmware to 1.12.3. HOT 3
- Collision avoidance uses gps_origin even when rtk_origin is available. HOT 3
- MRS Bumper does not work well with complex trajectories.
- π Simulation does not start, PX4 crashes HOT 1
- π Backward incompatibility: we are no longer bulding with -march=native, please README
- π Backward incompatibility: `mrs_lib::Transformer` API changes, please README
- gzserver: symbol lookup error HOT 2
- ROS2 version HOT 7
- π Backward incompatibility: Updates for px4 firmware v1.13.2 HOT 8
- π Lockstep is not working as it should in the new version of the simulation. HOT 1
- π Calling rosdep init fails HOT 1
- Is there a easy way to implement a simulation environment with mrs? HOT 2
- π Towards the MRS UAV System 1.5 - please help updating the documentation
- Update README.md
- π MRS UAV failing installation on POP!_OS 21.04 HOT 1
- one_drone_gps_baro drone's altitude keeps increasingπ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mrs_uav_system.