Comments (11)
Does the sim time go up after the initial slow down? Could be normal
from px4-sitl_gazebo-classic.
@eng-86 How are you starting the simulations? I could run 200 vehicles with realtime factor of 0.9 on a regular desktop, so I don't think this is normal
from px4-sitl_gazebo-classic.
@danielhonies @Jaeyoung-Lim The simulation starts with 0.2 factor and continues.
from px4-sitl_gazebo-classic.
I am a PhD student. I am working on a distributive fault tolerant control for multi-UAVs. Each UAV can estimate its local actuator fault and neighbors fault relying on torques and thrust control inputs to each UAV in addition to UAVs' states. I was using a one-year-recent version PX4 with ROS to verify my proposed algorithms. It was working except that the real time scale in GAZEBO persists at 0.2 when trying to simulate four vehicles with an error "ERROR [param] Parameter XRCE_DDS_KEY not found.". This caused an accuracy problem (the algorithm was also validated through matlab simulation). When I upgraded the code to the latest one, the real time problem was solved, but a new problem appeared. My algorithm depends on desired mavros actuator target controls for each UAV to estimate the actuator fault, and it is not published in new versions (I checked it during simulation and according to the discussion also mavlink/mavlink#1784 ). I compared also two log data samples. I found that in old version, the actuator control log was found (Roll, Pitch, Yaw, Thrust (up), Thrust (forward).
from px4-sitl_gazebo-classic.
Additional information: I returned to PX4 13.3 release, I tested 4 UAVs with GAZEBO and ROS with same python script used before. Time factor is 1, but an additional problem appeared: when I did some changes to the code and built it, the changes did not reflect on the results (in other words, no effect of changes). The changes are injecting actuator fault after a time from takeoff. This is not the first time I perform such changes.
from px4-sitl_gazebo-classic.
@eng-86 I was asking how you are starting the sim(which script/launchfile)
from px4-sitl_gazebo-classic.
@Jaeyoung-Lim I started through launch file as follows:
cd PX4-Autopilot
git submodule update --init --recursive
DONT_RUN=1 make px4_sitl_default gazebo-classic
source Tools/simulation/gazebo-classic/setup_gazebo.bash
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd):$(pwd)/Tools/simulation/gazebo-classic/sitl_gazebo-classic
roslaunch px4 multi_uav_mavros_sitl.launch
even before arming and starting any script,the time factor is 0.2
from px4-sitl_gazebo-classic.
I am struggling with this issue, and it is important to publish my paper. I validated my work through MATLAB, and since I am planning to publish in a good journal (IEEE transaction) they need some real validation.
from px4-sitl_gazebo-classic.
@Jaeyoung-Lim Have you tried running the multivehicle script directly? https://github.com/PX4/PX4-Autopilot/blob/main/Tools/simulation/gazebo-classic/sitl_multiple_run.sh
from px4-sitl_gazebo-classic.
Is this resolved @eng-86 ?
from px4-sitl_gazebo-classic.
@hamishwillee @Jaeyoung-Lim , I currently returned to PX4 version v13.3 since as I mentioned in mavlink/mavlink#1784 (comment) and PX4/PX4-Autopilot#22265 (comment) , the ACTUATOR_CONTROL_TARGET message is not published in newer versions and I need it in my research. In v13.3 the simulation is going fine. Exactly in v14.0 beta version, it is published but the simulation time factor is 0.2. After this version, it is not published. I am working on this issue, it is part of my research, and I will give the update when it is ready. Thank you.
from px4-sitl_gazebo-classic.
Related Issues (20)
- How can I get the rplidars' data from different uavs
- In gazebo_motor_model.cpp , what is the unit for the motor_constant and where is the moment calculated? HOT 4
- I have a question regarding some units for certain parameters in the โiris.sdfโ
- I can't compile it in ubuntu 22.04 HOT 3
- Multi-rotor + Motor with angle (Will a 2-degree tilt in the multirotor motors affect any files within PX4?) HOT 5
- "Multirotor simulation using sitl px4 on gazebo"how to add tilt angle to the model? HOT 7
- Unable to design Custom Drone with velodyne Sensor HOT 2
- Cannot turn magnetometer plugin
- I want to use Gazebo to emulate Caipiroshka Duo Tailsitter HOT 8
- gazebo garden HOT 1
- modeling in gazebo, what is zero_position_armed parameter?
- Compatibility with opencv >4.6 HOT 2
- Gazebo SDF File Motor data parameters definitions HOT 1
- when I use texture in gazebo, it shows only one color not the texture it self?
- tailsitter crashes after transition to fixed wing V3 HOT 1
- Encounter errors after the homebrew auto upgraded HOT 7
- Build issues on macOS Sonoma 14.1 HOT 20
- Urgent :PC stops responding while running "make -j$(nproc) -l$(nproc)" command
- HITL of custom model show "Tx queue overflow" 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 px4-sitl_gazebo-classic.