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
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).
historical situation
Even if simple shape (like make-cube) and single rigid body object,
it would be better to define it as cascaded-link instead of body or bodyset class.
In euslib/rbrain, object models were defined as both robot-object (old style object model class) and body or bodyset class.
It was very confusing.
Since used methods are quite different between robot-object and body, some codes for robot-object did not work for body and it was difficult to generalize codes.
definition
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 cold link in robotics fields. cascaded-link class includes links, joints, and some other semantic information and this class corresponds to robot and object.
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.
historical situation
Even if simple shape (like make-cube) and single rigid body object,
it would be better to define it as cascaded-link instead of body or
bodyset class.
In euslib/rbrain, object models were defined as both robot-object (old
style object model class) and body or bodyset class.
It was very confusing.
Since used methods are quite different between robot-object and body,
some codes for robot-object did not work for body and it was difficult
to generalize codes.
definition
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 cold link in robotics fields.
cascaded-link class includes links, joints, and some other semantic
information and this class corresponds to robot and object.
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.
You can view, comment on, or merge this pull request online at:
Thanks.
Current needs is functionality to generate an object model from list of body or bodyset.
This is not necessary, but convenient functionality.
how abut add link/joint keyward option in init method of cascaded-link ?
In this case, this corresponds to add :bodies argument for cascaded-link and
generate cascaded-link instance with a single link and no joints.
Is this OK?
Thanks.
Current needs is functionality to generate an object model from list of
body or bodyset.
This is not necessary, but convenient functionality.
how abut add link/joint keyward option in init method of cascaded-link ?
In this case, this corresponds to add :bodies argument for cascaded-link
and
generate cascaded-link instance with a single link and no joints.
Is this OK?
—
Reply to this email directly or view it on GitHub #321 (comment).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-modelclass, 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-linkclass (or its subclass).Even if simple shape (like
make-cube) and single rigid body object,it would be better to define it as
cascaded-linkinstead ofbodyorbodysetclass.In
euslib/rbrain, object models were defined as bothrobot-object(old style object model class) andbodyorbodysetclass.It was very confusing.
Since used methods are quite different between
robot-objectandbody, some codes forrobot-objectdid not work forbodyand it was difficult to generalize codes.In euslisp,
body,bodyset,faceset, ... classes have geometric shape information.bodyset-linkclass has shape information and mass information and this class corresponds to so coldlinkin robotics fields.cascaded-linkclass includeslinks,joints, and some other semantic information and this class corresponds torobotandobject.So, it would be better to define object model as
cascaded-linkclass.The codes in this PR may be minimal codes to define
cascaded-linkclass with single link.