Open MayurRabadiya opened 4 months ago
Can you please copy the full log up to the error, instead of trying to post a screenshot? thx.
Thank you very much for the reply @christophfroehlich. I am so sorry, screenshot doesn't appear. Here, is fll log.
`Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Library [/home/mayur/gz_ros2_control_ws/build/gz_ros2_control/libgz_ros2_control-system.so] does not export any plugins. The symbol [GzPluginHook] is missing, or it is not externally visible. [Err] [SystemLoader.cc:141] Failed to load system plugin: (Reason: No plugins detected in library)
Before exporting the path the error was:
`Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. [Err] [SystemLoader.cc:119] Failed to load system plugin: (Reason: Could not find shared library)
The plugin is working perfectly fine with the gz_ros2_control_demo models in same workspace.
Hii, I want to use this ROS2_control plugin with my custom created drone model. I am using PX4-Autopilot SITL for the simulation in gazebo garden. The PX4-SITL is working fine. But When I add
gz_ros2_control-system
plugin to sdf file, it gives this error.file:///home/mayur/Pictures/Screenshots/Screenshot%20from%202024-06-03%2016-53-33.png
I have built gz_ros2_contol package in separate workspace and my PX4-Autopilot is in a separate workspace. I added the Path for the plugin file like this:
export GZ_SIM_SYSTEM_PLUGIN_PATH="/home/mayur/gz_ros2_control_ws/build/gz_ros2_control:$GZ_SIM_SYSTEM_PLUGIN_PATH"
But still, it gives this error. How can I use this plugin with my PX4-SITL?Thank you & kind regards, Mayur