Calling rcl_parse_arguments #327
Replies: 1 comment
-
The main reason -- but I'd have to look up my notes from way back when that was implemented -- most likely is we wanted to use the smallest part of RCL and RCLC which would get us remap functionality. So keep the existing control flow, then add the minimum needed to implement remapping support. We could refactor and call motoros2/src/CommunicationExecutor.c Lines 140 to 141 in 0f0a510 later, after having created the faux Priority of other issues/enhancement requests was just always higher. PS: please always link to the code you're referring to. Makes discussing it easier :) |
Beta Was this translation helpful? Give feedback.
-
Is there a particular reason that we are calling
rcl_parse_arguments
directly inCommunicationExecutor.c
? Why don't we just pass in thefaux_arg
c andfaux_argv
torclc_support_init_with_options
?rcl_parse_arguments
is (eventually) called there, and the remap rules still work properly. Is it just so that it doesn't enter the error loop forever if the user has invalid remap rules? Is there some other reason? If so, I understand, but I wasn't sure if this is an oversight or a intentional decision.Beta Was this translation helpful? Give feedback.
All reactions