-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Error about px4 sitl_gazebo in gazebo #14164
Comments
@myboyhood You need to set the model path properly. The instructions can be found here: http://dev.px4.io/master/en/simulation/ros_interface.html |
thanks,but I check my ~/.bashrc
and
I also have these in ~/.bashrc
Sorry ,I can not figure out my where is wrong about model path,thanks!! |
The
|
yes,I set the GAZEBO_PLUGIN_PATH as you said above, unluckily, it still report this error,
|
@myboyhood have you tried to properly rebuild everything after a clean? |
yes, I reinstall gazebo and px4 firmware respectively, I test rotors simulation from ETH in gazebo, there is no error, I think there is some links between gazebo and px4_sitl not removed totally, the problem may be caused by my fool adaption of source cpp. but I reinstall px4 firmware cannot help to solve.... |
Check what dependencies
|
yes , I try px4 and others like px4-motor_test , both of them list below, sorry I cannot figure out whether this is wrong ??
I also call spawn_model in gazebo_ros pkg to load iris.sdf, it seem nothing wrong from the log below , but I find in gazebo ,the only half body of iris model is above horizontal plane. I don't know what cause this weird phenomenon :-(
|
Sorry, it's not about the dependencies of When you do
but actually rebuild Gazebo, does it do that? |
No answer, closing. |
Hi @julianoes , I have the same problem when I run Checking the dependencies of px4 with
gives me this
I also tried to do @myboyhood, how did you solve the problem, if you did? I am on gazebo 9.0.0, Ubuntu 18.04 and ROS Melodic Thanks |
I solved my problem I think by doing both I think that some library paths (e.g., I hope this will help someone else in the same situation |
thanks,I will try your method!! |
Yes, this is definitely right! I encoutered the same problem, and finally solved it with this method! |
Hello everyone, I am new to px4,though sitl_gazebo can run successfully before,
But I got this error now:
After I open gazebo ,it seems normal.
But when I launch my model , px4 and mavros in a launch file below, I got this error.
I am not edit libgazebo_multirotor_base_plugin relevant .cpp or .hpp
I see some help in gazebo, I even reinstall my ~/src/Firmware
But it is not work for me ,thanks for any help!!!
my world launch
my model px4 mavros launch
The text was updated successfully, but these errors were encountered: