Unable to run system plugin in ignition gazebo
Hi,
I am trying to integrate PX4 SITL(Software-In-The-Loop) simulation into ignition gazebo.
However, when I add the plugin and start it from the world
file, the plugin fails with the following error.
Warning [Model.cc:210] Non-unique names detected in XML children of model with name[x3].
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: ignition/msgs/time.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1164] CHECK failed: generated_database_-
>Add(encoded_file_descriptor, size):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
The plugin itself I am trying to use a identifal plugin as in the System Plugin Tutorial. Removing the plugin from the world file allows ignition gazebo to run properly.
What would be causing the exception?
I am developing on Ubuntu 18.04 bionic,
$ ign gazebo --versions
2.18.0
This usually happens when trying to mix 2
ign-msgs
versions. Can you checkign msg --versions
? Also check the version you compiled your plugin against?@chapulina, right that seems highly probable
This was my cmake file
Does this mean that I cannot have gazebo1 and ignition gazebo in the same system?
I use Gazebo9+ and Ignition on the same system without any problems. It could be that your plugin is linked against the wrong
ign-msgs
version?