You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the addition of the lite hand, again, new hand specific copies of palm, forearm etc.. appeared in the sr_description whereas some other xacro macros remained generic but got a specific is_lite parameter.
Last year I worked hard to try unify the files for different types of hand in order to never have copy paste to do in all the files in case one needs to fix a small thing in one element. With several files, there are redundant information and updates might be forgotten in all instances of the files.
recent xacro 1.9.3 ros/xacro@ee442c9 (soon available in upstream ros indigo), includes default parameters for xacro:macro.
This way is_lite:=0 could be added to palm and forearm macros, which will not require any change to the standard hands using the macro as is, without adding the is_lite parameter, and the new hand lite could use the same macro specifying is_lite=1 to override the default. The same could be done for a lot of other parameters (creating default standard hand settings and cleaning up the long list of parameters for optional values)
Isn't this the better way to go to keep the sr_description maintainable ?
The text was updated successfully, but these errors were encountered:
With the addition of the lite hand, again, new hand specific copies of palm, forearm etc.. appeared in the sr_description whereas some other xacro macros remained generic but got a specific is_lite parameter.
Last year I worked hard to try unify the files for different types of hand in order to never have copy paste to do in all the files in case one needs to fix a small thing in one element. With several files, there are redundant information and updates might be forgotten in all instances of the files.
recent xacro 1.9.3 ros/xacro@ee442c9 (soon available in upstream ros indigo), includes default parameters for xacro:macro.
This way is_lite:=0 could be added to palm and forearm macros, which will not require any change to the standard hands using the macro as is, without adding the is_lite parameter, and the new hand lite could use the same macro specifying is_lite=1 to override the default. The same could be done for a lot of other parameters (creating default standard hand settings and cleaning up the long list of parameters for optional values)
Isn't this the better way to go to keep the sr_description maintainable ?
The text was updated successfully, but these errors were encountered: