-
Notifications
You must be signed in to change notification settings - Fork 243
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
launch robot error #35
Comments
Foxy humble ? please give some infomration |
Humble |
I have the same problem. Did you manage to solve it? |
nope it did not |
Got same issue when ran on my raspberry pi with ubuntu 22.04 server |
got it working use diffdrive arduino of buzzology instead of josh |
Thanks @0jeetparmar0
|
ohkk ohkk ALL THE BEST !!!! |
Hi, I'm having a similar issue in Humble. I'm using diffdrive arduino of buzzology. /robot_ws$ ros2 launch lizardbot1 launch_robot.launch.py |
Did you try @0jeetparmar0 's solution, it perfectly works to me. |
Yes. I've cloned the repo and did the checkout for the commit. |
did you connected the uno to pi using usb ? |
I'm using an ESP32, and the code I ported is available in my repo at https://github.com/lizard-electronics/LizardBot1_ProjectFiles, under 2_Software-Firmware/LizardBot1_ESP32ControlBoard_Firmware_v1. I used PlatformIO to port the code and program the ESP32, and used a baud rate of 115200. The program I ported is functional after testing with serial_motor_demo, as exemplified in Josh's video. I was able to make ros2_control running in simulation environment in Gazebo, but when following the tutorial for the real robot, that error is shown. Now I unplugged the ESP32 board from the RPi4B and plugged in my dev laptop where I tested the ros2_control in Gazebo. The error below is being shown: |
ros2 launch rosbot launch_robot.launch.py
[INFO] [launch]: All log files can be found below /home/jeet/.ros/log/2024-06-18-14-58-05-806443-ubuntu22-6000
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [robot_state_publisher-1]: process started with pid [6002]
[INFO] [twist_mux-2]: process started with pid [6004]
[twist_mux-2] [INFO] [1718702886.118779071] [twist_mux]: Topic handler 'topics.joystick' subscribed to topic 'cmd_vel_joy': timeout = 0.500000s , priority = 100.
[twist_mux-2] [INFO] [1718702886.123074535] [twist_mux]: Topic handler 'topics.navigation' subscribed to topic 'cmd_vel': timeout = 0.500000s , priority = 10.
[twist_mux-2] [INFO] [1718702886.124165176] [twist_mux]: Topic handler 'topics.tracker' subscribed to topic 'cmd_vel_tracker': timeout = 0.500000s , priority = 20.
[robot_state_publisher-1] [INFO] [1718702886.127567378] [robot_state_publisher]: got segment base_footprint
[robot_state_publisher-1] [INFO] [1718702886.127791534] [robot_state_publisher]: got segment base_link
[robot_state_publisher-1] [INFO] [1718702886.127819415] [robot_state_publisher]: got segment camera_link
[robot_state_publisher-1] [INFO] [1718702886.127835261] [robot_state_publisher]: got segment camera_link_optical
[robot_state_publisher-1] [INFO] [1718702886.127854435] [robot_state_publisher]: got segment caster_wheel
[robot_state_publisher-1] [INFO] [1718702886.127870459] [robot_state_publisher]: got segment chassis
[robot_state_publisher-1] [INFO] [1718702886.127888492] [robot_state_publisher]: got segment face_link
[robot_state_publisher-1] [INFO] [1718702886.127902558] [robot_state_publisher]: got segment laser_frame
[robot_state_publisher-1] [INFO] [1718702886.127917145] [robot_state_publisher]: got segment left_wheel
[robot_state_publisher-1] [INFO] [1718702886.127932053] [robot_state_publisher]: got segment right_wheel
[INFO] [ros2_control_node-3]: process started with pid [6090]
[INFO] [spawner-4]: process started with pid [6092]
[INFO] [spawner-5]: process started with pid [6094]
[ros2_control_node-3] [WARN] [1718702890.848513322] [controller_manager]: [Deprecated] Passing the robot description parameter directly to the control_manager node is deprecated. Use '~/robot_description' topic from 'robot_state_publisher' instead.
[ros2_control_node-3] [INFO] [1718702890.849144905] [resource_manager]: Loading hardware 'RealRobot'
[ros2_control_node-3] terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
[ros2_control_node-3] what(): According to the loaded plugin descriptions the class diffdrive_arduino/DiffDriveArduino with base class type hardware_interface::SystemInterface does not exist. Declared types are diffdrive_arduino/DiffDriveArduinoHardware fake_components/GenericSystem mock_components/GenericSystem test_hardware_components/TestSystemCommandModes test_hardware_components/TestTwoJointSystem turtlebot3_manipulation_hardware/TurtleBot3ManipulationSystemHardware
[ros2_control_node-3] Stack trace (most recent call last):
[ros2_control_node-3] #16 Object "", at 0xffffffffffffffff, in
[ros2_control_node-3] #15 Object "/opt/ros/humble/lib/controller_manager/ros2_control_node", at 0x6205781ecd84, in
[ros2_control_node-3] #14 Source "../csu/libc-start.c", line 392, in __libc_start_main_impl [0x7b29b7429e3f]
[ros2_control_node-3] #13 Source "../sysdeps/nptl/libc_start_call_main.h", line 58, in __libc_start_call_main [0x7b29b7429d8f]
[ros2_control_node-3] #12 Object "/opt/ros/humble/lib/controller_manager/ros2_control_node", at 0x6205781ec89e, in
[ros2_control_node-3] #11 Object "/opt/ros/humble/lib/libcontroller_manager.so", at 0x7b29b7e5be79, in controller_manager::ControllerManager::ControllerManager(std::shared_ptrrclcpp::Executor, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rclcpp::NodeOptions const&)
[ros2_control_node-3] #10 Object "/opt/ros/humble/lib/libcontroller_manager.so", at 0x7b29b7e576bf, in controller_manager::ControllerManager::init_resource_manager(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)
[ros2_control_node-3] #9 Object "/opt/ros/humble/lib/libhardware_interface.so", at 0x7b29b7abfd9d, in hardware_interface::ResourceManager::load_urdf(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, bool)
[ros2_control_node-3] #8 Object "/opt/ros/humble/lib/libhardware_interface.so", at 0x7b29b7abe1ce, in
[ros2_control_node-3] #7 Object "/opt/ros/humble/lib/libhardware_interface.so", at 0x7b29b7a9f32a, in
[ros2_control_node-3] #6 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7b29b78ae4d7, in __cxa_throw
[ros2_control_node-3] #5 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7b29b78ae276, in std::terminate()
[ros2_control_node-3] #4 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7b29b78ae20b, in
[ros2_control_node-3] #3 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7b29b78a2b9d, in
[ros2_control_node-3] #2 Source "./stdlib/abort.c", line 79, in abort [0x7b29b74287f2]
[ros2_control_node-3] #1 Source "../sysdeps/posix/raise.c", line 26, in raise [0x7b29b7442475]
[ros2_control_node-3] #0 | Source "./nptl/pthread_kill.c", line 89, in __pthread_kill_internal
[ros2_control_node-3] | Source "./nptl/pthread_kill.c", line 78, in __pthread_kill_implementation
[ros2_control_node-3] Source "./nptl/pthread_kill.c", line 44, in __pthread_kill [0x7b29b74969fc]
[ros2_control_node-3] Aborted (Signal sent by tkill() 6090 1000)
[ERROR] [ros2_control_node-3]: process has died [pid 6090, exit code -6, cmd '/opt/ros/humble/lib/controller_manager/ros2_control_node --ros-args --params-file /tmp/launch_params_t4cevb09 --params-file /home/jeet/rosbot_ws/install/rosbot/share/rosbot/config/my_controllers.yaml'].
[spawner-4] [INFO] [1718702893.398696867] [spawner_joint_broad]: Waiting for '/controller_manager' node to exist
[spawner-5] [INFO] [1718702893.399125862] [spawner_diff_cont]: Waiting for '/controller_manager' node to exist
[spawner-5] [INFO] [1718702895.421565927] [spawner_diff_cont]: Waiting for '/controller_manager' node to exist
[spawner-4] [INFO] [1718702895.421695181] [spawner_joint_broad]: Waiting for '/controller_manager' node to exist
[spawner-4] [INFO] [1718702897.444523051] [spawner_joint_broad]: Waiting for '/controller_manager' node to exist
[spawner-5] [INFO] [1718702897.444579570] [spawner_diff_cont]: Waiting for '/controller_manager' node to exist
[spawner-5] [INFO] [1718702899.468090675] [spawner_diff_cont]: Waiting for '/controller_manager' node to exist
[spawner-4] [INFO] [1718702899.468328228] [spawner_joint_broad]: Waiting for '/controller_manager' node to exist
getting this error in launch can some one help me please
thanks and regards
The text was updated successfully, but these errors were encountered: