ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Gates's profile - activity

2023-05-25 15:06:31 -0500 marked best answer ROS2 galactic demo node can't start

I have installed ROS2 Galactic by following the tutorial on a fresh Ubuntu 20.04. Unfortunately, I cannot run the very first demo node ros2 run demo_nodes_cpp talker. I get such an error:

error while loading shared libraries: libfmt.so.6: cannot open shared object file: No such file or directory

When I check if libfmt-dev is installed, I have it.

apt-cache policy libfmt-dev 
libfmt-dev:
  Installed: 6.1.2+ds-2
  Candidate: 6.1.2+ds-2
  Version table:
 *** 6.1.2+ds-2 500
        500 http://no.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

I don't understand what the issue is. When I try to debug as in here, I can get 'Hello World!'.

I also tried to install using debian packages as in this tutorial. I get a completely different error then:

source /opt/ros/galactic/setup.bash 
user:~$ ros2 run demo_nodes_cpp talker
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
  what():  failed to initialize rcl init options: failed to load shared library 'librmw_cyclonedds_cpp.so' due to dlopen error: librmw_cyclonedds_cpp.so: cannot open shared object file: No such file or directory, at /tmp/binarydeb/ros-galactic-rcutils-4.0.2/src/shared_library.c:99, at /tmp/binarydeb/ros-galactic-rmw-implementation-2.4.1/src/functions.cpp:75, at /tmp/binarydeb/ros-galactic-rcl-3.1.2/src/rcl/init_options.c:75

And then the crash report pop-up occurs. Anyone has any ideas?

Thanks

2023-05-25 04:08:44 -0500 received badge  Nice Question (source)
2023-04-24 16:53:47 -0500 received badge  Student (source)
2023-02-20 06:24:32 -0500 received badge  Famous Question (source)
2022-12-13 05:07:32 -0500 received badge  Notable Question (source)
2022-12-13 05:07:32 -0500 received badge  Famous Question (source)
2022-11-14 03:08:01 -0500 received badge  Notable Question (source)
2022-11-14 03:08:01 -0500 received badge  Famous Question (source)
2022-09-15 05:08:30 -0500 received badge  Famous Question (source)
2022-09-15 05:08:30 -0500 received badge  Popular Question (source)
2022-09-15 05:08:30 -0500 received badge  Notable Question (source)
2022-05-16 06:15:33 -0500 asked a question Forcing a rosnode to be anonymus with roslaunch API

Forcing a rosnode to be anonymus with roslaunch API I am using roslaunch API to spawn some nodes on top of a launch file

2022-04-27 07:59:15 -0500 received badge  Notable Question (source)
2022-04-27 07:59:15 -0500 received badge  Popular Question (source)
2022-04-25 07:38:27 -0500 commented question roslaunch api getting command output

At the moment, I am "forcing" the third option, which seems to be the right way in ROS perspective. But I am not able to

2022-04-25 07:24:47 -0500 edited question roslaunch api getting command output

roslaunch api getting command output Hello, I am trying to automate and visualize a series of tasks with my custom robo

2022-04-25 07:24:23 -0500 edited question roslaunch api getting command output

roslaunch api getting command output Hello, I am trying to automate and visualize a series of tasks with my custom robo

2022-04-25 07:22:41 -0500 asked a question roslaunch api getting command output

roslaunch api getting command output Hello, I am trying to automate and visualize a series of tasks with my custom robo

2022-04-25 07:22:37 -0500 asked a question roslaunch api getting command output

roslaunch api getting command output Hello, I am trying to automate and visualize a series of tasks with my custom robo

2022-04-25 07:21:54 -0500 asked a question roslaunch api getting command output

roslaunch api getting command output Hello, I am trying to automate and visualize a series of tasks with my custom robo

2022-01-24 04:11:53 -0500 received badge  Popular Question (source)
2021-11-24 03:13:12 -0500 edited question MoveIT cannot take robot initial state but can control the robot (Panda)

MoveIT cannot take robot initial state but can control the robot (Panda) Hi, I have disabled the franka_hw and controll

2021-11-23 09:14:31 -0500 asked a question MoveIT cannot take robot initial state but can control the robot (Panda)

MoveIT cannot take robot initial state but can control the robot (Panda) Hi, I have disabled the franka_hw and controll

2021-11-17 00:32:14 -0500 received badge  Famous Question (source)
2021-11-06 08:48:06 -0500 commented question effort_controllers cannot recognize robot_description

Addition: Apparently I can add PID parameters to position_controllers as well. I didn't know that before I ask this ques

2021-11-05 01:11:41 -0500 commented question effort_controllers cannot recognize robot_description

Hi, thanks for the comment. Unfortunately, this is not a solution to my problem because I've already loaded robot descri

2021-11-04 09:36:39 -0500 edited question effort_controllers cannot recognize robot_description

effort_controllers cannot recognize robot_description This is a kind of repetitive of this issue. I am experiencing a si

2021-11-04 09:32:55 -0500 asked a question effort_controllers cannot recognize robot_description

effort_controllers cannot recognize robot_description This is a kind of repetitive of this issue. I am experiencing a si

2021-11-02 15:06:27 -0500 asked a question franka_gazebo/FrankaHWSim plugin cannot be loaded

franka_gazebo/FrankaHWSim plugin cannot be loaded I am trying to start roslaunch franka_gazebo panda.launch and I get th

2021-09-08 14:38:45 -0500 received badge  Notable Question (source)
2021-09-01 08:40:20 -0500 commented answer receiving transform from [/robot_state_publisher] that differed from ROS time

can you please be more specific? How did you synchronize the time?

2021-09-01 04:24:09 -0500 received badge  Nice Answer (source)
2021-08-27 02:21:43 -0500 commented answer Unknown controller type with Moveit

wow, really? That's something I didn't know (and couldn't guess either). I thought that the type must match the ROS cont

2021-08-27 02:20:39 -0500 marked best answer Unknown controller type with Moveit

I am trying to control the open manipulator on the TB3. I created a Moveit config package and everything works fine until I want to execute the plan on a Gazebo simulated robot. Planning is solved but no controllers are found so execution failed.

When I use roslaunch open_manipulator_controller open_manipulator_controller.launch use_platform:=false use_moveit:=true I can control the Gazebo robot but with my custom Moveit config file, I cannot.

I have controllers.yaml and I believe it is loaded correctly because the problem comes from the controller types in the .yaml file.

[ERROR] [1629291143.338820460, 1893.061000000]: Unknown controller type: position_controllers/JointPositionController
[ERROR] [1629291143.339038429, 1893.061000000]: Unknown controller type: position_controllers/JointPositionController
[ERROR] [1629291143.339144118, 1893.061000000]: Unknown controller type: position_controllers/JointPositionController
[ERROR] [1629291143.339236787, 1893.061000000]: Unknown controller type: position_controllers/JointPositionController
[ERROR] [1629291143.339306340, 1893.061000000]: Unknown controller type: joint_state_controller/JointStateController

And the respective controllers.yaml is here:

controller_list:
  - name: joint1_position
    action_ns: /om_with_tb3
    type: position_controllers/JointPositionController
    default: true
    joints: 
      - joint1

  - name: joint2_position
    action_ns: /om_with_tb3
    type: position_controllers/JointPositionController
    default: true
    joints: 
      - joint2

  - name: joint3_position
    action_ns: /om_with_tb3
    type: position_controllers/JointPositionController
    default: true
    joints: 
      - joint3

  - name: joint4_position
    action_ns: /om_with_tb3
    type: position_controllers/JointPositionController
    default: true
    joints: 
      - joint4

  - name: joint_state_controller
    action_ns: /om_with_tb3
    type: joint_state_controller/JointStateController
    default: true
    joints:
      - joint1
      - joint2
      - joint3
      - joint4

With a bit of research, I found out that this problem is linked to some missing Moveit controller packages. I tried to install them sudo apt install ros-melodic-ros-controllers and sudo apt install ros-melodic-joint-state-controller but it looks like I already have them.

Anyone has any ideas why the Moveit config package cannot recognize any controller types?

2021-08-27 02:20:39 -0500 received badge  Scholar (source)
2021-08-27 02:20:35 -0500 commented answer Unknown controller type with Moveit

wow, really? That's something I didn't know (and couldn't guess either). I thought that the type must match the ROS cont

2021-08-27 02:20:27 -0500 commented answer Unknown controller type with Moveit

wow, really? That's something I didn't know (and couldn't guess either). I thought that the type must match the ROS cont

2021-08-25 04:09:31 -0500 received badge  Famous Question (source)
2021-08-20 13:31:16 -0500 received badge  Popular Question (source)
2021-08-20 09:48:39 -0500 received badge  Famous Question (source)
2021-08-19 04:41:21 -0500 commented question Unknown controller type with Moveit

Yes, position_controllers/JointTrajectoryController for joints and joint_state_controller/JointStateController for the l

2021-08-19 04:38:42 -0500 commented question Unknown controller type with Moveit

Yes, position_controllers/JointTrajectoryController for joints and joint_state_controller/JointStateController for the l

2021-08-18 11:49:15 -0500 commented question Unknown controller type with Moveit

I guess the problem is in the controller type. MoveitSimpleController has only FollowJointTrajectory and GripperAction t