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

.zero's profile - activity

2023-01-24 13:09:24 -0500 received badge  Nice Question (source)
2021-01-31 15:52:32 -0500 received badge  Favorite Question (source)
2020-12-05 02:30:36 -0500 received badge  Famous Question (source)
2020-10-27 08:58:00 -0500 received badge  Famous Question (source)
2020-08-27 06:44:33 -0500 marked best answer ros2 import tf2_geometry_msgs

Hello there,

I am unable to import tf2_geometry_msgs as an python3 module in ros2 eloquent. Only tf2_ros, tf2_py and tf2_msgs seem to be a python module. I am porting an melodic project to eloquent and we used the comfortable do_transform_vector3 function of that script. Someone else seems to have a similar issue with c++: link (Maybe its completely unrelated though)

Am I missing something here?

2020-08-27 06:44:27 -0500 received badge  Notable Question (source)
2020-08-21 10:52:06 -0500 received badge  Popular Question (source)
2020-08-20 09:59:43 -0500 asked a question ros2 import tf2_geometry_msgs

ros2 import tf2_geometry_msgs Hello there, I am unable to import tf2_geometry_msgs as an python3 module in ros2 eloq

2020-08-06 10:24:31 -0500 marked best answer ros2 concatenate string to launchargument

Hello there,

I am trying to port an old melodic project to eloquent and was wondering on how to concatenate strings to an launch argument like so:

return LaunchDescription([
    DeclareLaunchArgument('id', default_value='75', description="an id"),
    DeclareLaunchArgument('target', default_value="robot_"+launch.substitutions.LaunchConfiguration('id')+"/target"),
    Node(
        package='wand_control',
        node_executable='wand_control',
        output='screen',
        node_name="wand_control",
        node_namespace="aq_"+launch.substitutions.LaunchConfiguration("id"),
        parameters=[{
            "target" : launch.substitutions.LaunchConfiguration('target')
        }]
    )
])

but there is an error on the line where I am trying to set the launch argument 'target':

must be str, not LaunchConfiguration

Is there a way to achieve that?

2020-08-06 10:24:28 -0500 commented answer ros2 concatenate string to launchargument

Thank you! But why does it work that way?

2020-08-06 09:53:34 -0500 received badge  Supporter (source)
2020-08-06 09:53:17 -0500 edited question ros2 concatenate string to launchargument

ros2 concatenate string to launchargument Hello there, I am trying to port an old melodic project to eloquent and was

2020-08-06 04:29:48 -0500 received badge  Notable Question (source)
2020-08-04 13:28:12 -0500 received badge  Popular Question (source)
2020-08-04 07:16:57 -0500 asked a question ros2 concatenate string to launchargument

ros2 concatenate string to launchargument Hello there, I am trying to port an old melodic project to eloquent and was

2020-05-12 11:12:11 -0500 received badge  Student (source)
2019-09-02 06:05:01 -0500 received badge  Famous Question (source)
2019-07-31 06:53:41 -0500 received badge  Notable Question (source)
2019-05-15 10:41:24 -0500 received badge  Popular Question (source)
2019-05-15 05:19:56 -0500 marked best answer Ros 2 remap services

Hello,

Is there (already) a way in Ros 2 to remap services in a launch file? For example: If my service is on '/service' and my client-node is in a namespace called 'a' and therefore tries to connect to '/a/service'.

2019-05-13 05:43:19 -0500 asked a question Ros 2 remap services

Ros 2 remap services Hello, Is there (already) a way in Ros 2 to remap services in a launch file? For example: If my se

2019-04-30 10:28:32 -0500 received badge  Famous Question (source)
2019-04-02 04:40:10 -0500 received badge  Enthusiast
2019-03-28 03:06:08 -0500 marked best answer Ros 2 import tf2 Python

Hello,

I started having a look at Ros 2 (crystal) two weeks ago and really had a hard time creating a package that produces some executables. As I managed to do that I tried to migrate some old code to Ros 2 code. It was just a tiny project which moved a frame in a circel around the world-frame's center in rviz. To do that I used the TransformBroadcaster imported from tf. I saw that there is now tf2 in my rosdistro/share, so I tried to import that with import tf2, but this threw a

ModuleNotFoundError: No module named 'tf2'

The weird thing is, I can import TFMessage from tf2_msgs and publish TFMessages to tf 'by hand'. This really feels like I overlooked something trivial but as I didn't find anything so far I wanted to ask here.

2019-03-28 03:06:08 -0500 received badge  Scholar (source)
2019-03-27 17:05:27 -0500 received badge  Notable Question (source)
2019-03-25 17:50:48 -0500 received badge  Popular Question (source)
2019-03-25 10:35:14 -0500 asked a question Ros 2 import tf2 Python

Ros 2 import tf2 Python Hello, I started having a look at Ros 2 (crystal) two weeks ago and really had a hard time crea