Skip to content
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

Unable to remap topics #210

Closed
adityakamath opened this issue Oct 22, 2023 · 4 comments
Closed

Unable to remap topics #210

adityakamath opened this issue Oct 22, 2023 · 4 comments

Comments

@adityakamath
Copy link

I have a micro-ROS node that is subscribing to a /cmd_vel topic. I am currently launching the node like the following from a python launch file:

        Node(
            package='micro_ros_agent',
            executable='micro_ros_agent',
            name='micro_ros_agent',
            output='screen',
            arguments=['serial', '--dev', '/dev/ttyUSB0'],
            remappings=[
                ('/cmd_vel', '/joy_vel'),
            ]),

The node runs as expected, but it still subscribes to the /cmd_vel topic, and not the /joy_vel topic. I am using ROS2 Humble and the latest micro_ros_agent

@pablogs9
Copy link
Member

Hello, there is not support for topic remapping at micro-ROS Agent level.

@adityakamath
Copy link
Author

Thanks for the update, its a shame, it would be really useful to have topic remapping at the micro-ROS agent level..

@pablogs9
Copy link
Member

Sure, PRs are welcomed, please let us know if you plan to contribute.

@adityakamath
Copy link
Author

@pablogs9 would love to contribute, I need something to work on during my winter break anyway. But I am not entirely sure where to start from, any pointers would be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants