Comments (6)
Hi, you can specify the initial position of drone in simulation using --pos_file
parameter. See this session.yml as an example. The initial position can be loaded from csv or yaml file (see pos.yaml).
For changing of GPS coordinate origin for our system, you have to update this file to be in match with origin of your world. Or do it in opposite way and modify origin in your world file to match the one in the our setting. See #22
Edited: updated link to file with GPS coordinate origin
from mrs_uav_system.
How am i able to launch the custom configs into the session.yml files of the tmux examples scripts. For example, i want to spawn the one_drone_gps with the uneven_plane and then add some obstacles inside as shown in the world.simulation.yaml.
So when i set waypoints in this simulation, i noticed that there is a hdg value that reads the height or the terrain with respect to the ground. Will appreciate if i could get guidance to where is this file located.
from mrs_uav_system.
Update: tried inputing this in one_drone_gps by replacing the gazebo world part with:
- gazebo:
layout: tiled
panes:
- roslaunch mrs_simulation simulation.launch gui:=true world_file:='$(find custom_gazebo_resources)/worlds/custom_world.world'
- waitForRos; roslaunch mrs_simulation simulation.launch world_name:=world_simulation.yaml gui:=true
- waitForOdometry; gz camera -c gzclient_camera -f uav1; history -s gz camera -c gzclient_camera -f uav1
But only boots the one drone gps into an empty world
not sure what i did wrong to prevent the config world from spawnning
from mrs_uav_system.
Hi, have you seen this https://ctu-mrs.github.io/docs/simulation/custom_world.html? In the example above you are running two times the gazebo simulation with world. Usually, the empty world in the gazebo means that the world file doesn't exist (the path to the world file is not correct) or contains some error.
from mrs_uav_system.
@Wizzya Have you managed to run it as you wanted?
from mrs_uav_system.
I can run default simulations thanks for your help. But cuurrently still having trouble with launching custom worlds
from mrs_uav_system.
Related Issues (20)
- [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
- π Error installation via stable PPA HOT 1
- URGENT: How to completely remove mrs system full? HOT 2
- π Installtion error on Ubunto 20.04 ROS Noetic HOT 8
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.