Closed nim65s closed 4 years ago
To avoid code duplication and ease future robot addition.
While here:
import pinocchio as pin
loadTalosLegs()
loadTalos(legs=True)
loadTalosArm()
loadTalos(arm=True)
loadTalosNoHand()
loadTiago(hand=False)
os.path.join()
robots
srdf
https://gitlab.laas.fr/gsaurel/example-robot-data/pipelines/10241 (one job is failing because of an on-going CI upgrade)
This is a first step of small internal refactors to ease maintenance and new robot additions.
To avoid code duplication and ease future robot addition.
While here:
import pinocchio as pin
loadTalosLegs()
for the factorizedloadTalos(legs=True)
(and update tests accordingly)loadTalosArm()
for the factorizedloadTalos(arm=True)
(and update tests accordingly)loadTalosNoHand()
for the factorizedloadTiago(hand=False)
(and update tests accordingly)os.path.join()
for file path manipulation instead of string concatenationrobots
" in most cases & "path +srdf
" in all cases)https://gitlab.laas.fr/gsaurel/example-robot-data/pipelines/10241 (one job is failing because of an on-going CI upgrade)