Skip to content
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

[REQUEST] Add get_chain_as* methods to DQ_WholeBody #49

Open
mmmarinho opened this issue Oct 2, 2019 · 0 comments
Open

[REQUEST] Add get_chain_as* methods to DQ_WholeBody #49

mmmarinho opened this issue Oct 2, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request low priority

Comments

@mmmarinho
Copy link
Member

Hello, @bvadorno,

Owing to some peculiarities of Python (mixed with some CPP peculiarities), it would be convenient to have the following methods in DQ_WholeBody

DQ_SerialManipulator get_chain_as_serial_manipulator(int index)
DQ_HolonomicBase get_chain_as_holonomic_base(int index)
...

for all concrete subclasses of DQ_Kinematics.
The methods have to check if the conversion is possible and generate an error if the conversion is impossible.

E.g.:

The main reason for this requirement is that the Python bindings are not managing the memory well (it's freeing pointers it shouldn't be freeing), so it is simpler for us to return a copy instead of a reference, and only copies of concrete classes are possible.

@mmmarinho mmmarinho added the enhancement New feature or request label Oct 2, 2019
@mmmarinho mmmarinho added this to the Version 19.04 milestone Oct 2, 2019
@bvadorno bvadorno removed this from the Version 19.10.1 milestone Apr 30, 2023
@mmmarinho mmmarinho modified the milestone: Version 22.04 Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

2 participants