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

在修改sitl_gazebo中的gazebo_gimbal_controller_plugin.cpp后再次编译时报错 #91

Open
SantuGo opened this issue Sep 8, 2023 · 4 comments

Comments

@SantuGo
Copy link

SantuGo commented Sep 8, 2023

在修改sitl_gazebo中的gazebo_gimbal_controller_plugin.cpp后再次编译时报错,
报错信息有两条,如下:

  1. ERROR [param] Parameter COM_CPU_MAX not found.

[Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/santu/code/PX4_Firmware//Tools/sitl_gazebo/models/livox_mid40"
[Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/santu/code/PX4_Firmware/Tools/sitl_gazebo/models/livox_mid40"
(此报错信息出现了两次)

此时gazebo已经可以正常运行,请问怎么处理这两条报错信息?

@Hiashekiy
Copy link

我也遇到了,请问楼主解决了吗

@marigold36
Copy link

我在/Tools/sitl_gazebo/models/livox_mid40中自己加入了一个model.config,该报错消失,可是还存在第一个报错

@WD1-3
Copy link

WD1-3 commented Mar 24, 2024

兄弟,你这个model.config文件怎么写的,它这个包不是少了sdf文件吗?

@marigold36
Copy link

marigold36 commented Mar 26, 2024

兄弟,你这个model.config文件怎么写的,它这个包不是少了sdf文件吗?

?xml version="1.0"?
model
name>livox_mid40</name
version>1.0</version
sdf version="1.5">model.sdf</sdf

author
name>Carlos Agüero</name
email>caguero@openrobotics.org</email
/author

description>
A floating buoy for the RobotX competition. copied from surmak46104
/description>
/model

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