Describe the bug
Multiplication (concatenation) of several ETS does not update joint indexes
Version information
roboticstoolbox-python 1.1.0
To Reproduce
import roboticstoolbox as rtb
et = rtb.ET.Rz()
ets = rtb.ETS([et, ])
print((et * et).joints()) # OK:
# [ET.Rz(jindex=0), ET.Rz(jindex=1)]
print((ets * ets).joints()) # NOT OK:
# [ET.Rz(jindex=0), ET.Rz(jindex=0)]
print((et * et * ets).joints()) # NOT OK:
# [ET.Rz(jindex=0), ET.Rz(jindex=1), ET.Rz(jindex=0)]
print((et * ets).joints()) # NOT OK:
# raise ValueError( "You can not have some jindices set for the ET's in arg. It must be all")
Expected behavior
ETS consctructor should re-enumerate joint indexes
Environment (please complete the following information):
Describe the bug Multiplication (concatenation) of several ETS does not update joint indexes
Version information
roboticstoolbox-python 1.1.0
To Reproduce
Expected behavior ETS consctructor should re-enumerate joint indexes
Environment (please complete the following information):
p.s. Awesome work btw :) !!!