Skip to content
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

roslaunch error [InsertModelWidget.cc:302] Missing model.config for model #4

Closed
tomcattiger1230 opened this issue Aug 14, 2018 · 7 comments

Comments

@tomcattiger1230
Copy link

Thanks to your great work, but when I tried to test the launch file. There is a problem.
After successfully catkin_make, I've tried to launch the world using roslaunch gazebo.launch world:=levine. Then the error
[InsertModelWidget.cc:302] Missing model.config for model
for every model comes.
I'm not sure if I've set up something wrong. Could you give me some suggestion?


Also maybe a small issue. The package may require 'quadrotor_msgs' package and in the package the code for 'QuadrotorSO3AttitudeControl.cpp' line 67-69 'cmd' doesn't have 'angular_velocity' unless one adds a message in 'SO3COmmand.msg' with 'geometry_msgs/Vector3 angular_velocity'. Is that true?

Thanks.

@sikang
Copy link
Collaborator

sikang commented Aug 14, 2018

Are you using ROS 18.04 or Gazebo 9+? The current master branch won't be able to work with gazebo 9. The quadrotor_msgs is not an open sourced repo yet, you can use your own for control which will be much easier I think.

@kartikmohta
Copy link
Collaborator

@tomcattigerkkk That error can just be considered a warning, so you can ignore it for now. Gazebo recommends having a model.config for each model with some metadata such as the author name and description of the model but it's not required. There should not be any problems running the master branch on Gazebo 9, I use it regularly with Gazebo 9.

The quadrotor_msgs package is a part of an internal repository, anything you find online may not be compatible. These are the two messages you need from it:

[quadrotor_msgs/SO3Command]:
Header header
geometry_msgs/Vector3 force
geometry_msgs/Quaternion orientation
geometry_msgs/Vector3 angular_velocity
quadrotor_msgs/AuxCommand aux
float64[3] kR
float64[3] kOm
[quadrotor_msgs/AuxCommand]:
float64 current_yaw
float64 kf_correction
float64[2] angle_corrections # Trims for roll, pitch
bool enable_motors
bool use_external_yaw

@tomcattiger1230
Copy link
Author

tomcattiger1230 commented Aug 15, 2018

@sikang Thank you for your replay. I'm using ROS (Kinetic) Ubuntu 16.04 with Gazebo 7.14.

@kartikmohta
thank you for your suggestion of quadrotor_msgs.
It seems the error comes from
'gzclient: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:252:void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assume ‘(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"’ failed.'
And then the core was dumped. Is it because of the version my orge?

@sikang
Copy link
Collaborator

sikang commented Aug 15, 2018

This problem has been noticed as some internal bugs of Gazebo 7.xx with gazebo_ros. You may downgrade your Gazebo to 7.0, that's how we use it with 16.04 and I'm almost sure that will fix this bug.

To do so, first remove your current Gazebo 7.14 in your system; then you need to check out the following item in your Ubuntu software update:
screenshot from 2018-08-15 06-17-45
The Gazebo default version for Kinetic is 7.0, thus if you do sudo apt update & sudo apt install ros-kinetic-gazebo-ros* after removing previous Gazebo and the source of http://packages.osrfoundation.org/gazebo/ubuntu, you should be able to install the 7.0 version.

@tomcattiger1230
Copy link
Author

@sikang
It works. Thanks a lot!

@SystemDiagnosticss
Copy link

@tomcattigerkkk @sikang Hello. Can you help me?:) How you downgrade Gazebo?) I am remove my Gazebo 7.14 and install it again use this instruction http://gazebosim.org/tutorials?cat=install&tut=install_ubuntu&ver=7.0 . But was installed 7.14 again:) How I can install 7.0 version?

@sikang
Copy link
Collaborator

sikang commented Feb 19, 2019

This is how I downgrade: #4 (comment)
Remove that osrf ppa dependancy is critical, otherwise it will download the latest gazebo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants