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

MAB Jakub's profile - activity

2023-02-08 04:21:43 -0500 received badge  Famous Question (source)
2022-07-22 07:18:05 -0500 answered a question How to run two launch files sequentially?

Wouldn't a simple script like this fix your problem? set -e ros2 launch phase1 phase1.launch.py ros2 launch phase2 phas

2022-07-22 07:18:05 -0500 received badge  Rapid Responder (source)
2022-07-22 07:06:43 -0500 marked best answer How to run a single node as root [ROS2]

Hello, I am trying to set up a ROS2 (foxy) node to run as root (with sudo). The node is running high frequency, low level operations on the RT-Linux kernel - thus the need for root access.

I've been trying to run the node as root but the other nodes (and also tools like ros2 topic echo) don't seem to communicate with each other. Echo doesn't print anything, and callbacks on my node's are not triggered. I've tried to set up ROS_DOMAIN_ID, also sourced .bashrc and /opt/ros/foxy/setup.bash nut neither of these things seem to solve the problem.

The last thing that I've tried was creating a script that executed:

sudo bash -c "export ROS_DOMAIN_ID=69 && source install/setup.bash && source /home/robot/.bashrc && ros2 launch ros2_bringup robot.launch.py"

Has anyone done something like that? Is there any step that I'm missing? Googling doesn't really show up anything helpfull.

2022-07-05 02:20:30 -0500 answered a question ROS build for ARM

Ad 1) You can definitely add packages to the ROS2 without rebuilding the whole thing - It usually done with ros workspac

2022-07-05 02:20:30 -0500 received badge  Rapid Responder (source)
2022-06-09 04:36:53 -0500 received badge  Notable Question (source)
2022-06-07 10:26:42 -0500 received badge  Popular Question (source)
2022-06-07 01:09:18 -0500 asked a question ROS2 subs/pubs stop working after node restart

ROS2 subs/pubs stop working after node restart Hi, I have two nodes, simulation and control, which are designed to work

2022-06-06 12:37:58 -0500 received badge  Necromancer (source)
2022-06-06 06:20:12 -0500 answered a question How do you use a header-only library package in ROS2?

Not sure if this will be 1:1 applicable to your application, but in my project I've used to have a header-only commons l

2022-03-16 17:48:02 -0500 received badge  Famous Question (source)
2022-03-16 02:45:41 -0500 received badge  Necromancer (source)
2022-03-16 02:45:41 -0500 received badge  Self-Learner (source)
2022-03-16 02:45:41 -0500 received badge  Teacher (source)
2022-03-16 02:30:36 -0500 answered a question How to run a single node as root [ROS2]

For anyone interested: I wasn't able to solve the problem, but I've found the workaround of sorts. The solution is to ru

2022-03-16 02:26:05 -0500 received badge  Notable Question (source)
2021-12-15 02:11:34 -0500 received badge  Popular Question (source)
2021-11-22 06:40:44 -0500 marked best answer ROS2 - robot_description/RobotModel - cannot use URDF with meshes

Hello everyone, I am struggling with preparing my URDF model for ROS2 foxy. I cannot make the RobotModel in Rviz2 to show me my robot based on the URDF.

I've generated my URDF using fusion2urdf plugin for Fusion360. The urdf seems to be correct, as I've successfully loaded it into pyBullet and all links and joints behave as expected there.

I've closely followed the Tutorial: https://index.ros.org/doc/ros2/Tutori... changing joint state publisher, lauchfile and setup accordingly. As far as i can tell the state publisher is working fine, so is the TF. The problem is that the robot_description topic (coming from robot_state_publisher Node I suppose) does not seem to load my STL files correctly. In the Rviz I can see the TF being displayed correctly and the RobotModel shows me that the status is OK, and that all links have been parsed successfully. Sadly all the links seem to have no geometry set. Output from running the launchfile doesn't seem to give any errors.

[INFO] [launch]: Default logging verbosity is set to INFO
urdf_file_name : bare_metal.urdf
[INFO] [robot_state_publisher-1]: process started with pid [40791]
[INFO] [state_publisher-2]: process started with pid [40793]
[robot_state_publisher-1] [WARN] [1606134120.643718296] [robot_state_publisher]: No robot_description parameter, but command-line argument available.  Assuming argument is name of URDF file.  This backwards compatibility fallback will be removed in the future.
[robot_state_publisher-1] Parsing robot urdf xml string.
[robot_state_publisher-1] Link base_link had 4 children
[robot_state_publisher-1] Link A80_simplified_v2__1__1 had 1 children
[robot_state_publisher-1] Link l1_simplified_v1_1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__5__1 had 1 children
[robot_state_publisher-1] Link l2_simplified_v1__2__1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__10__1 had 1 children
[robot_state_publisher-1] Link l3_simplified_v1_1 had 0 children
[robot_state_publisher-1] Link A80_simplified_v2__7__1 had 1 children
[robot_state_publisher-1] Link l1_simplified_v1__1__1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__8__1 had 1 children
[robot_state_publisher-1] Link l2_simplified_v1_1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__2__1 had 1 children
[robot_state_publisher-1] Link l3_simplified_v1__1__1 had 0 children
[robot_state_publisher-1] Link A80_simplified_v2__11__1 had 1 children
[robot_state_publisher-1] Link l1_simplified_v1__2__1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__6__1 had 1 children
[robot_state_publisher-1] Link l2_simplified_v1__3__1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__3__1 had 1 children
[robot_state_publisher-1] Link l3_simplified_v1__3__1 had 0 children
[robot_state_publisher-1] Link A80_simplified_v2_1 had 1 children
[robot_state_publisher-1] Link l1_simplified_v1__3__1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__9__1 had 1 children
[robot_state_publisher-1] Link l2_simplified_v1__1__1 had 1 children
[robot_state_publisher-1] Link A80_simplified_v2__4__1 had 1 children
[robot_state_publisher-1] Link l3_simplified_v1__2__1 had 0 children
[robot_state_publisher-1] [INFO] [1606134120.647206332] [robot_state_publisher]: got segment A80_simplified_v2_1
[robot_state_publisher-1] [INFO] [1606134120.647240341] [robot_state_publisher]: got segment A80_simplified_v2__10__1
[robot_state_publisher-1] [INFO] [1606134120.647246804] [robot_state_publisher]: got segment A80_simplified_v2__11__1
[robot_state_publisher-1] [INFO] [1606134120.647251744] [robot_state_publisher]: got segment A80_simplified_v2__1__1
[robot_state_publisher-1] [INFO] [1606134120.647256588] [robot_state_publisher]: got segment A80_simplified_v2__2__1
[robot_state_publisher-1] [INFO] [1606134120.647261435] [robot_state_publisher]: got segment A80_simplified_v2__3__1
[robot_state_publisher-1] [INFO] [1606134120.647266215] [robot_state_publisher]: got segment A80_simplified_v2__4__1
[robot_state_publisher-1] [INFO] [1606134120.647271088] [robot_state_publisher]: got segment A80_simplified_v2__5__1
[robot_state_publisher-1] [INFO] [1606134120.647275785] [robot_state_publisher]: got segment A80_simplified_v2__6__1
[robot_state_publisher-1] [INFO] [1606134120.647280349] [robot_state_publisher]: got segment A80_simplified_v2__7__1
[robot_state_publisher-1] [INFO] [1606134120.647284976] [robot_state_publisher]: got segment A80_simplified_v2__8__1
[robot_state_publisher-1] [INFO] [1606134120.647289499] [robot_state_publisher]: got segment A80_simplified_v2__9__1
[robot_state_publisher-1] [INFO] [1606134120.647294103] [robot_state_publisher]: got segment base_link
[robot_state_publisher-1] [INFO] [1606134120.647298990] [robot_state_publisher]: got segment bbase_link
[robot_state_publisher-1] [INFO] [1606134120.647303700] [robot_state_publisher ...
(more)
2021-11-22 06:40:44 -0500 received badge  Scholar (source)
2021-11-22 06:40:00 -0500 answered a question ROS2 - robot_description/RobotModel - cannot use URDF with meshes

Well it's been some time, but the problem was that i wasn't sourcing the terminal which I've run my Rviz2 in. Rookie mis

2021-11-22 06:33:50 -0500 asked a question How to run a single node as root [ROS2]

How to run a single node as root [ROS2] Hello, I am trying to set up a ROS2 (foxy) node to run as root (with sudo). The

2021-03-14 15:00:15 -0500 received badge  Famous Question (source)
2021-01-22 09:09:09 -0500 received badge  Student (source)
2020-12-26 01:34:02 -0500 received badge  Notable Question (source)
2020-12-02 01:29:46 -0500 received badge  Enthusiast
2020-12-01 06:21:51 -0500 received badge  Popular Question (source)
2020-11-25 08:23:57 -0500 commented question ROS2 - robot_description/RobotModel - cannot use URDF with meshes

I've just realised that RViz gave me and error message: ERROR] [1606314150.195215419] [rviz2]: could not load model 'pa

2020-11-24 02:29:55 -0500 commented question ROS2 - robot_description/RobotModel - cannot use URDF with meshes

I've tried package://robot_sim/meshes/base_link.stl as well as providing full path in there

2020-11-24 01:29:17 -0500 commented question ROS2 - robot_description/RobotModel - cannot use URDF with meshes

jest ive tried package://robot_sim/meshes/base_link.stl as well as providing full path in there

2020-11-23 08:27:29 -0500 asked a question ROS2 - robot_description/RobotModel - cannot use URDF with meshes

ROS2 - robot_description/RobotModel - cannot use URDF with meshes Hello everyone, I am struggling with preparing my URDF