Giter Site home page Giter Site logo

[Err] [Plugin.hh:212] Failed to load plugin libgazebo_ros_control.so: libgazebo_ros_control.so: cannot open shared object file: No suchfile or directory about gazebo_ros2_control HOT 3 CLOSED

anand-010 avatar anand-010 commented on September 26, 2024
[Err] [Plugin.hh:212] Failed to load plugin libgazebo_ros_control.so: libgazebo_ros_control.so: cannot open shared object file: No suchfile or directory

from gazebo_ros2_control.

Comments (3)

anand-010 avatar anand-010 commented on September 26, 2024

log.

Warning [parser_urdf.cc:3027] urdf2sdf: revolute joint [Tip_Gripper_Idol_Joint] with limits: lowStop[3.14] > highStop[-3.14], switching the two.
[INFO] [1679715236.387070533] [gazebo_ros2_control]: Loading gazebo_ros2_control plugin
[INFO] [1679715236.404079925] [gazebo_ros2_control]: Starting gazebo_ros2_control plugin in namespace: /
[INFO] [1679715236.405457275] [gazebo_ros2_control]: Starting gazebo_ros2_control plugin in ros 2 node: gazebo_ros2_control
[INFO] [1679715236.405979906] [gazebo_ros2_control]: Loading parameter file /home/user/ros2_moveo/install/moveo_moveit_config/share/moveo_moveit_config/config/ros2_controllers.yaml

[INFO] [1679715236.416286275] [gazebo_ros2_control]: connected to service!! robot_state_publisher
[INFO] [1679715296.511643774] [gazebo_ros2_control]: Recieved urdf from param server, parsing...
[INFO] [1679715296.593671949] [gazebo_ros2_control]: Loading joint: Joint_1
[INFO] [1679715296.593759480] [gazebo_ros2_control]:    State:
[INFO] [1679715296.594361962] [gazebo_ros2_control]:             position
[INFO] [1679715296.594404703] [gazebo_ros2_control]:                     found initial value: 0.000000
[INFO] [1679715296.594470460] [gazebo_ros2_control]:             velocity
[INFO] [1679715296.594500998] [gazebo_ros2_control]:    Command:
[INFO] [1679715296.594520993] [gazebo_ros2_control]:             position
[INFO] [1679715296.594601784] [gazebo_ros2_control]: Loading joint: Joint_2
[INFO] [1679715296.594626381] [gazebo_ros2_control]:    State:
[INFO] [1679715296.594638847] [gazebo_ros2_control]:             position
[INFO] [1679715296.594650680] [gazebo_ros2_control]:                     found initial value: 0.000000
[INFO] [1679715296.594664901] [gazebo_ros2_control]:             velocity
[INFO] [1679715296.594676526] [gazebo_ros2_control]:    Command:
[INFO] [1679715296.594692974] [gazebo_ros2_control]:             position
[INFO] [1679715296.594747487] [gazebo_ros2_control]: Loading joint: Joint_3
[INFO] [1679715296.594783566] [gazebo_ros2_control]:    State:
[INFO] [1679715296.594816336] [gazebo_ros2_control]:             position
[INFO] [1679715296.594849622] [gazebo_ros2_control]:                     found initial value: 0.000000
[INFO] [1679715296.594886816] [gazebo_ros2_control]:             velocity
[INFO] [1679715296.594921471] [gazebo_ros2_control]:    Command:
[INFO] [1679715296.594955570] [gazebo_ros2_control]:             position
[INFO] [1679715296.594996854] [gazebo_ros2_control]: Loading joint: Joint_4
[INFO] [1679715296.595030232] [gazebo_ros2_control]:    State:
[INFO] [1679715296.595057229] [gazebo_ros2_control]:             position
[INFO] [1679715296.595357483] [gazebo_ros2_control]:                     found initial value: 0.000000
[INFO] [1679715296.595393695] [gazebo_ros2_control]:             velocity
[INFO] [1679715296.595415972] [gazebo_ros2_control]:    Command:
[INFO] [1679715296.595433839] [gazebo_ros2_control]:             position
[INFO] [1679715296.595468058] [gazebo_ros2_control]: Loading joint: Joint_5
[INFO] [1679715296.595491367] [gazebo_ros2_control]:    State:
[INFO] [1679715296.595505004] [gazebo_ros2_control]:             position
[INFO] [1679715296.595551399] [gazebo_ros2_control]:                     found initial value: 0.000000
[INFO] [1679715296.595609503] [gazebo_ros2_control]:             velocity
[INFO] [1679715296.595657636] [gazebo_ros2_control]:    Command:
[INFO] [1679715296.595756073] [gazebo_ros2_control]:             position
[INFO] [1679715296.595945970] [resource_manager]: Initialize hardware 'GazeboSystem'
[INFO] [1679715296.596234585] [resource_manager]: Successful initialization of hardware 'GazeboSystem'
[INFO] [1679715296.596544645] [resource_manager]: 'configure' hardware 'GazeboSystem'
[INFO] [1679715296.596634922] [resource_manager]: Successful 'configure' of hardware 'GazeboSystem'
[INFO] [1679715296.596668183] [resource_manager]: 'activate' hardware 'GazeboSystem'
[INFO] [1679715296.596691468] [resource_manager]: Successful 'activate' of hardware 'GazeboSystem'
[Err] [Model.cc:1160] Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run.
[Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.

from gazebo_ros2_control.

anand-010 avatar anand-010 commented on September 26, 2024

Tried to install from source but got error.

/home/user/ros3_ws/src/ /gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: In member function 'virtual void gazebo_ros2_control::GazeboRosControlPlugin::Load(gazebo::physics::ModelPtr, sdf::v9::ElementPtr)':
/home/user/ros3_ws/src/ /gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp:290:67: error: '__gnu_cxx::__alloc_traits<std::allocator<hardware_interface::HardwareInfo>, hardware_interface::HardwareInfo>::value_type' {aka 'struct hardware_interface::HardwareInfo'} has no member named 'hardware_plugin_name'
  290 |     std::string robot_hw_sim_type_str_ = control_hardware_info[i].hardware_plugin_name;
      |                                                                   ^~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/gazebo_ros2_control.dir/build.make:76: CMakeFiles/gazebo_ros2_control.dir/src/gazebo_ros2_control_plugin.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/gazebo_ros2_control.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< gazebo_ros2_control [2min 0s, exited with code 2]

from gazebo_ros2_control.

bmagyar avatar bmagyar commented on September 26, 2024

Well something is definitely off as you should not be seeing "[Err] [Plugin.hh:212] Failed to load plugin libgazebo_ros_control.so:" in this context at all.

I suggest talking to whoever wrote that tutorial.

Generally speaking, building from source is most likely going to get you into trouble as you have the chance to try building the wrong branch for the distro... There are releases, things should work well within the release. You most likely have a mistake in the urdf or a mismatch of gazebo version Vs the plugin.

[Err] [Model.cc:1160] Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run.

I think this is the only relevant line from the logs.

from gazebo_ros2_control.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.