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

Recursive remapping rules when roslaunching #104

Open
jihoonl opened this issue Nov 21, 2013 · 10 comments
Open

Recursive remapping rules when roslaunching #104

jihoonl opened this issue Nov 21, 2013 · 10 comments
Assignees
Labels
Milestone

Comments

@jihoonl
Copy link
Collaborator

jihoonl commented Nov 21, 2013

detail will come soon

@jihoonl
Copy link
Collaborator Author

jihoonl commented Nov 21, 2013

While composing the teleop service, I tried to start android teleop app with "android/virtual_joystick/cmd_vel" to "/robot_teleop/cmd_vel" remapping rule. However, it didn't remap and still "android/virtual_joystick/cmd_vel" was provided.

(written in rapp launch file)
teleop_velocity_smoother/raw_cmd_vel -> android/virtual_joystick/cmd_vel

(passed as /start_app arguement)
android/virtual_joystick/cmd_vel -> /robot_teleop/cmd_vel

It ignored the remap rule which is passed as /start_app arguement and only applied first one.

@jihoonl
Copy link
Collaborator Author

jihoonl commented Nov 21, 2013

This is node remapping configuration

[u'teleop_velocity_smoother/raw_cmd_vel', u'android/virtual_joystick/cmd_vel'],[u'teleop_velocity_smoother/smooth_cmd_vel', u'/cmd_vel_mux/input/teleop'],
[u'teleop_velocity_smoother/odometry', u'/odom'],
[u'teleop_velocity_smoother/robot_cmd_vel', u'/mobile_base/commands/velocity'], ('camera/rgb/image_color/compressed_throttle', '/robot_teleop/image_color/compressed_throttle'), ('android/virtual_joystick/cmd_vel', '/robot_teleop/cmd_vel')

@jihoonl
Copy link
Collaborator Author

jihoonl commented Nov 21, 2013

It seems like roslaunch does not handle the chained remapping rule. So there should be a logic to handle chained remapping rule in rapp.py

To be clear, need a logic to handle

A -> B -> C ---------> A -> C

@ghost ghost assigned stonier and jihoonl Nov 21, 2013
@stonier stonier closed this as completed Nov 21, 2013
@jihoonl jihoonl reopened this Nov 21, 2013
@jihoonl
Copy link
Collaborator Author

jihoonl commented Nov 21, 2013

Note that the patch does not find root of the chain. Also triple chained topic would not get resolved. It requires smarter solution.

@stonier
Copy link
Member

stonier commented Nov 21, 2013

Just recursing the function should do the trick no?

@jihoonl
Copy link
Collaborator Author

jihoonl commented Nov 22, 2013

recursive function would work with proper terminate condition.

@jihoonl
Copy link
Collaborator Author

jihoonl commented Jul 1, 2014

have not seen this issue more than 6 month. reopen if necessary.

@jihoonl jihoonl closed this as completed Jul 1, 2014
@stonier
Copy link
Member

stonier commented Jul 2, 2014

The logic problem is still there right?

@stonier stonier reopened this Jul 2, 2014
@stonier stonier modified the milestones: Todo, Indigo - Bugfixing Aug 14, 2015
@stonier
Copy link
Member

stonier commented Aug 14, 2015

@jihoonl bump

@stonier stonier changed the title remapping a topic which is already remapped in roslaunch Recursive remapping rules for roslaunching apps Aug 14, 2015
@stonier stonier changed the title Recursive remapping rules for roslaunching apps Recursive remapping rules when roslaunching Aug 14, 2015
@jihoonl
Copy link
Collaborator Author

jihoonl commented Sep 9, 2015

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

No branches or pull requests

2 participants