-
Notifications
You must be signed in to change notification settings - Fork 55
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
[proposal] Add class for single link model. #321
base: master
Are you sure you want to change the base?
Conversation
how abut add link/joint keyward option in init method of cascaded-link ? ◉ Kei Okada On Fri, Dec 11, 2015 at 11:58 PM, Shunichi Nozawa [email protected]
|
Thanks.
In this case, this corresponds to add |
please provide us an example code ◉ Kei Okada On Sun, Dec 13, 2015 at 7:22 PM, Shunichi Nozawa [email protected]
|
I provide
Example code:
Original example in this PR method:
|
This PR is just a proposal to add class for single link model
(related with @furushchev dinner discussion).
This is originally from https://github.com/jsk-ros-pkg/jsk_demos/blob/master/jsk_2015_06_hrp_drc/drc_task_common/euslisp/drc-testbed-models.l#L9.
This is used for creating single rigid body object model.
In this PR, I added
single-link-model
class, but I think adding function to create single link model is another solution.@furushchev
FYI, in euslisp, robot models and object models should be defined as
cascaded-link
class (or its subclass).Even if simple shape (like
make-cube
) and single rigid body object,it would be better to define it as
cascaded-link
instead ofbody
orbodyset
class.In
euslib/rbrain
, object models were defined as bothrobot-object
(old style object model class) andbody
orbodyset
class.It was very confusing.
Since used methods are quite different between
robot-object
andbody
, some codes forrobot-object
did not work forbody
and it was difficult to generalize codes.In euslisp,
body
,bodyset
,faceset
, ... classes have geometric shape information.bodyset-link
class has shape information and mass information and this class corresponds to so coldlink
in robotics fields.cascaded-link
class includeslinks
,joints
, and some other semantic information and this class corresponds torobot
andobject
.So, it would be better to define object model as
cascaded-link
class.The codes in this PR may be minimal codes to define
cascaded-link
class with single link.