-
Notifications
You must be signed in to change notification settings - Fork 325
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
Use swig4.2 or later #3985
base: main
Are you sure you want to change the base?
Use swig4.2 or later #3985
Conversation
|
Sure, will take a look. My guess is that the last argument is not currently
ever used by scripting users as the swig binding as of 4.1.1 was not usable
either.
…On Tue, Jan 7, 2025, 10:27 AM Nick Bianco ***@***.***> wrote:
Is there a chance the function in MocoUtilities is actually used? Should
we remove it altogether from bindings?
createPeriodicTrajectory() is quite frequently used by Moco users. Could
we add a custom SWIG binding for std::vector<std::pair<std::string,
std::string>> (e.g., StdVectorStringPair)?
—
Reply to this email directly, view it on GitHub
<#3985 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6JY4B5OTUCWRUCZRH2LX32JQMABAVCNFSM6AAAAABUYF2GBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZVHE3DINZYGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
…tePeriodicTrajectory
undo formatting changes for non-swig side for cleaner diff
@nickbianco ready for review, I separated the prototypes so the code looks cleaner, there's no loss of functionality as the vector was never possible to construct in scripting. I can open a separate issue for that if you think we should keep it on our radar. Thank you |
Fixes issue #0
Brief summary of changes
Changed CMakeLists to not require exact version match and SWIG out references to functions that are not useful to scripting
Testing I've completed
Looking for feedback on...
Is there a chance the function in MocoUtilities is actually used? Should we remove it altogether from bindings?
CHANGELOG.md (choose one)
This change is