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

Markus Bader's profile - activity

2023-07-06 12:15:57 -0500 received badge  Notable Question (source)
2023-07-04 15:27:33 -0500 received badge  Nice Answer (source)
2023-06-26 11:37:29 -0500 received badge  Popular Question (source)
2023-06-25 14:34:33 -0500 commented answer Build fails on simple msgs packages on the ROS 2 Buildfarm

Hi, I tried both, I added <buildtool_export_depend>ament_cmake_cppcheck</buildtool_export_depend> on build #

2023-06-25 14:34:05 -0500 commented answer Build fails on simple msgs packages on the ROS 2 Buildfarm

Hi, I tried both, I added <buildtool_export_depend>ament_cmake_cppcheck</buildtool_export_depend> on build #

2023-06-24 04:53:35 -0500 asked a question Build fails on simple msgs packages on the ROS 2 Buildfarm

Build fails on simple msgs packages on the ROS 2 Buildfarm I am trying to get my package tuw_msgs released for ros2, but

2023-06-20 06:45:50 -0500 received badge  Popular Question (source)
2023-06-20 06:45:50 -0500 received badge  Famous Question (source)
2023-06-20 06:45:50 -0500 received badge  Notable Question (source)
2023-06-07 07:47:47 -0500 received badge  Favorite Question (source)
2023-06-07 07:47:42 -0500 received badge  Notable Question (source)
2023-06-06 04:47:19 -0500 received badge  Favorite Question (source)
2023-04-07 11:56:22 -0500 received badge  Nice Answer (source)
2023-03-25 15:56:46 -0500 received badge  Popular Question (source)
2023-03-25 15:52:12 -0500 answered a question Adding FIducial tag images to a gazebo model

hi, have a look at tuw_gazebo https://github.com/tuw-robotics/tuw_gazebo/tree/noetic-devel/tuw_gazebo_models/models/vi

2023-03-17 11:01:40 -0500 received badge  Self-Learner (source)
2023-03-17 10:48:13 -0500 marked best answer Is it possible to run ROS2 via wireguard

Hi

I like to connect ROS2 nodes via a wireguard vpn network. Is this possible?

2023-03-17 10:46:00 -0500 received badge  Rapid Responder (source)
2023-03-17 10:46:00 -0500 answered a question Is it possible to run ROS2 via wireguard

I got it working and prepared an example on github Using Eclipse Cyclone DDS, but one has to set some variables export

2023-03-17 10:41:17 -0500 asked a question Is it possible to run ROS2 via wireguard

Is it possible to run ROS2 via wireguard Hi I like to connect ROS2 nodes via a wireguard vpn network. Is this possible?

2023-03-14 04:18:31 -0500 received badge  Necromancer (source)
2023-03-11 07:53:34 -0500 answered a question Is ROS 2 compatible with the stage simulator?

Hi I more or less rewrote stage_ros as stage_ros2. It differs from the previous stage_ros interfaces in its modularity.

2023-03-11 07:02:37 -0500 edited answer Initial view after gazebo starts

<gui fullscreen="0"> <camera name="user_camera"> <pose>x y z roll pitch yaw</pose>

2023-03-11 07:00:23 -0500 edited answer Initial view after gazebo starts

<gui fullscreen="0"> <camera name="user_camera"> <pose>x y z roll pitch yaw</

2023-03-03 03:11:23 -0500 marked best answer Initial view after gazebo starts

Hi

I am not happy with the view on my scene after I start gazebo using rosrun with gazebo and my world file.

How can I set the initial view on my scene for the gazebo simulator.

Thanks and Greetings Max

2023-02-16 06:12:03 -0500 commented answer SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.

It worked for me on Ubuntu 22.04 with ROS2 Humble.

2023-02-14 04:54:24 -0500 marked best answer ROS2 python launch: Using argument to create file name for a launch_argument

Hi!
I like to launch gazebo with different environments (world files). But I only want to give as argument the world file name and not the full path. The full path should be created by launch file.

How can I use a LaunchArgument to create a full file name. The following statement in the IncludeLaunchDescription is not working.

launch_arguments={'world': pkg_tuw_gazebo + '/worlds/' + LaunchConfiguration('room') + '.world'}.items(),

Thanks in advance

There's the full code python launch file.

import os
from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.actions import SetEnvironmentVariable
from launch.actions import IncludeLaunchDescription
from launch.launch_description_sources import PythonLaunchDescriptionSource
from launch.actions import SetEnvironmentVariable
from launch.substitutions import LaunchConfiguration, TextSubstitution 

def generate_launch_description():

    room_arg    = DeclareLaunchArgument('room', default_value=TextSubstitution(text='roblab'))
    pkg_gazebo_ros = get_package_share_directory('gazebo_ros')
    pkg_tuw_gazebo = get_package_share_directory('tuw_gazebo')
    pkg_tuw_gazebo_models = get_package_share_directory('tuw_gazebo_models')

    if 'GAZEBO_MODEL_PATH' in os.environ:
        model_path =  os.environ['GAZEBO_MODEL_PATH'] \
            + ':' + pkg_tuw_gazebo_models + '/models'
    else:
        model_path =  pkg_tuw_gazebo_models + '/models'

    return LaunchDescription([
        room_arg,
        SetEnvironmentVariable(name='GAZEBO_MODEL_PATH', value=model_path),
        IncludeLaunchDescription(
            PythonLaunchDescriptionSource( os.path.join(pkg_gazebo_ros, 'launch', 'gazebo.launch.py')),
            # This is working, but I like to substitute cave in cave.world with my argument
            #launch_arguments={'world': os.path.join(pkg_tuw_gazebo, 'worlds', 'cave.world')}.items(),  
            # This is NOT working, I don't know how to access the room argument?
            launch_arguments={'world': pkg_tuw_gazebo + '/worlds/' \
                + LaunchConfiguration('room') + '.world'}.items(),
        ) 
    ])

I am getting the Error:

launch.invalid_launch_file_error.InvalidLaunchFileError: Caught exception when trying to load file of format [py]: can only concatenate str (not "LaunchConfiguration") to str
2023-02-14 04:53:48 -0500 received badge  Notable Question (source)
2023-02-02 06:50:30 -0500 asked a question ros2 rqt_reconfigure hide parameters

ros2 rqt_reconfigure hide parameters Hi Is there an option, parameter or method to hide parameters on the rqt_reconfigu

2023-01-14 08:10:36 -0500 commented answer How to can I use TFTree Visualization of rqt in ROS2 ( dashing and foxy )

I had a similar issue on humble It worked after I installed ros-humble-tf2-tools and ros-humble-rqt-tf-tree and executed

2023-01-14 08:10:03 -0500 commented answer How to can I use TFTree Visualization of rqt in ROS2 ( dashing and foxy )

I had a similar issue on humble It worked after I installed ros-humble-tf2-tools and ros-humble-rqt-tf-tree

2023-01-14 08:09:05 -0500 commented answer How to can I use TFTree Visualization of rqt in ROS2 ( dashing and foxy )

It worked for me on humbe, after I installed ros-humble-tf2-tools ros-humble-rqt-tf-tree

2023-01-10 23:44:05 -0500 received badge  Famous Question (source)
2022-11-17 04:31:26 -0500 received badge  Famous Question (source)
2022-09-20 09:01:34 -0500 commented answer ROS2-foxy nodes can't communicate through docker container border

I had the same issue between two docker containers. Mounting the shared memory on both with -v /dev/shm:/dev/shm solved

2022-09-20 09:01:23 -0500 commented answer ROS2-foxy nodes can't communicate through docker container border

I had the same issue between two docker containers. Mounting the shared memory on both with -v /dev/shm:/dev/shm solved

2022-08-10 19:31:12 -0500 received badge  Popular Question (source)
2022-08-01 11:08:58 -0500 received badge  Notable Question (source)
2022-08-01 11:08:58 -0500 received badge  Popular Question (source)
2022-07-23 07:18:59 -0500 received badge  Notable Question (source)
2022-07-23 04:44:04 -0500 received badge  Popular Question (source)
2022-07-22 07:46:17 -0500 marked best answer ROS2 python launch, how to forward launch arguments to xacro models

Hi

I like to use LaunchArgument to process my xacro file, which contains my robot model for gazebo and the robot_description for my robot_state_publisher.

2022-07-22 06:51:28 -0500 received badge  Rapid Responder (source)
2022-07-22 06:51:28 -0500 answered a question ROS2 python launch, how to forward launch arguments to xacro models

I found a solution using the OpaqueFunction. Arguments are now evaluated and set in the create_robot_description which

2022-07-22 06:49:13 -0500 asked a question ROS2 python launch, how to forward launch arguments to xacro models

ROS2 python launch, how to forward launch arguments to xacro models Hi I like to use LaunchArgument to process my xacro