GithubHelp home page GithubHelp logo

calling simROS2.advertiseService causes crashing with "undefined symbol:_ZN22rosidl_typesupport_cpp31get_service_type_support_handleIN8std_srvs3srv5EmptyEEEPK29rosidl_service_type_support_tv" about simros2 HOT 2 CLOSED

mightestDuck avatar mightestDuck commented on June 25, 2024
calling simROS2.advertiseService causes crashing with "undefined symbol:_ZN22rosidl_typesupport_cpp31get_service_type_support_handleIN8std_srvs3srv5EmptyEEEPK29rosidl_service_type_support_tv"

from simros2.

Comments (2)

fferri avatar fferri commented on June 25, 2024

Thanks for reporting this.

That should have generated a build error, not a runtime error. In fact I got a similar issue with ROS Foxy:

  "rosidl_service_type_support_t const* rosidl_typesupport_cpp::get_service_type_support_handle<std_srvs::srv::Empty>()", referenced from:
      rclcpp::Client<std_srvs::srv::Empty>::Client(rclcpp::node_interfaces::NodeBaseInterface*, std::__1::shared_ptr<rclcpp::node_interfaces::NodeGraphInterface>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, rcl_client_options_t&) in sim_ros2_interface.cpp.o
      rclcpp::Service<std_srvs::srv::Empty>::Service(std::__1::shared_ptr<rcl_node_t>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, rclcpp::AnyServiceCallback<std_srvs::srv::Empty>, rcl_service_options_t&) in sim_ros2_interface.cpp.o

which now I have fixed.

At the moment we can target only LTS releases of ROS2, so please try again with Dashing or Foxy.

from simros2.

fferri avatar fferri commented on June 25, 2024

No activity since long time, so I am closing this.
Reopen if this is still an issue (now only ROS2 foxy is supported).

from simros2.

Related Issues (16)

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.