-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem of running simulation #5
Comments
@GLtangzero Hello there. In your first problem it looks like the raceway model can not be downloaded from server, you can try to download the model from this link and put it in right directory in .gz model path. For your second problem you can try the MicroDDS "v2.4.1" version (git checkout v2.4.1) and try 97cb933cff6d837e59dd55123804cd78abdca22a tag for PX4-Autopilot (git checkout 97cb933cff6d837e59dd55123804cd78abdca22a) For your last problem you can try this command: |
Dear sir: But the drone still can't take off, the QgroundControl show like this And if I change the world to the origin PX4 default world the drone could be control, so I guess it's something problem happened in the world sdf document. The camera could be used. But control can't work: (2)ros2 run px4_ros_com offboard_control |
@GLtangzero Hello again. I did not try QGC back then with this repo. You said it can run with the default world so you can check the differences, for example in line 15 there is And another thing is that my PX4-Autopilot version is a little bit old, maybe there is a miscommunication with the newer QGC. |
@monemati |
hey I have the same problem with you. Did you find any solution? |
@wyattPol First please delete all model which you using in the gazebo, open the world/default.sdf and delete all this type code and then run the progress again, if you can open it, then add the model one by one, I think is the problem of the model with gazebo and px4, please check it. |
Hi! I think the problem is this missing part:
|
@AlbertoRemus |
I don't understand how you solved the control problem, I have the same problem: Task exception was never retrieved Also, I can't view the drone's camera. In terminal 2, I have this problem: |
@evellynnicole |
@evellynnicole |
@monemati Dear sir I hope it won't cause you any trouble.(I am a beginner): |
@101ash Hello. |
Hi sir,I have the same problem,Do you resolve this problem in any way? |
I did what you said, first delete all files in .gz/models,then delete all as you mentioned. But failed,it show 'No valid local position estimate No valide global position estimate' . The GPS status info is GPS Count: 0 GPS Lock: None HDOP: --.-- VDOP:--.-- Course OverGround:--.--. |
@monemati Hi bro. As mentioned before, I failed. Then I used the original default.sdf instead of the default.sdf you provided. Run it, all fault is gone. so if world/default.sdf you provided have something wrong? Looking forward to your reply. |
@martinkeith Hello. I checked the latest default.sdf from PX4 and apparently they changed some stuff (like plugins). I am not sure which differences are causing the problems, but when I got the time I will look into it. |
Dear sir:
I have the problem of running the gazebo:
~/PX4-Autopilot$ PX4_SYS_AUTOSTART=4002 PX4_GZ_MODEL_POSE="268.08,-128.22,3.86,0.00,0,-0.7" PX4_GZ_MODEL=x500_depth ./build/px4_sitl_default/bin/px4
| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /| |
| | / /^\ \ ___ |
_| / / |_/
px4 starting.
INFO [px4] startup script: /bin/sh etc/init.d-posix/rcS 0
env SYS_AUTOSTART: 4002
INFO [param] selected parameter default file parameters.bson
INFO [param] importing from 'parameters.bson'
INFO [parameters] BSON document size 310 bytes, decoded 310 bytes (INT32:13, FLOAT:3)
INFO [param] selected parameter backup file parameters_backup.bson
INFO [dataman] data manager file './dataman' size is 7872608 bytes
INFO [init] Gazebo simulator
INFO [init] starting gazebo with world: /home/tang/PX4-Autopilot/Tools/simulation/gz/worlds/default.sdf
INFO [init] PX4_GZ_MODEL_POSE set, spawning at: 268.08,-128.22,3.86,0.00,0,-0.7
INFO [gz_bridge] world: default, model name: x500_depth_0, simulation model: x500_depth
INFO [gz_bridge] Requested Model Position: 268.08,-128.22,3.86,0.00,0,-0.7
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[Err] [SDFFeatures.cc:843] The geometry element of collision [collision] couldn't be created
[Err] [SDFFeatures.cc:843] The geometry element of collision [collision] couldn't be created
[Err] [SDFFeatures.cc:843] The geometry element of collision [collision] couldn't be created
[Err] [SDFFeatures.cc:843] The geometry element of collision [collision] couldn't be created
ERROR [gz_bridge] timed out waiting for clock message
ERROR [gz_bridge] Task start failed (-1)
ERROR [init] gz_bridge failed to start and spawn model
ERROR [px4] Startup script returned with return value: 256
tang@tang-GL502VSK:~/PX4-Autopilot$ [Err] [FuelClient.cc:691] Failed to download model.
Server: https://fuel.ignitionrobotics.org
Route: openrobotics/models/sonoma raceway/2/sonoma raceway.zip
REST response code: 504
[Err] [SystemPaths.cc:432] URI [https://fuel.ignitionrobotics.org/1.0/openrobotics/models/sonoma raceway/2/files/meshes/Raceway.obj] resolved to path [/meshes/Raceway.obj] but the path does not exist
[Err] [SystemPaths.cc:525] Could not resolve file [https://fuel.ignitionrobotics.org/1.0/openrobotics/models/sonoma raceway/2/files/meshes/Raceway.obj]
[Err] [MeshManager.cc:193] Unable to find file[https://fuel.ignitionrobotics.org/1.0/openrobotics/models/sonoma raceway/2/files/meshes/Raceway.obj]
And after that the GAZEBO could show the drone and car but can't show the world and it also can't connect to the MicroDDS and QgroundControl.
And also I can't running ros2 run ros_gz_image image_bridge /camera it show like:
$ ros2 run ros_gz_image image_bridge /camera
Package 'ros_gz_image' not found
Thanks for your model it looks very good, i really wish to running it.
The text was updated successfully, but these errors were encountered: