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

Add the wbenv JavaScript module #6793

Merged
merged 8 commits into from
Mar 23, 2025
Merged

Conversation

galou
Copy link
Contributor

@galou galou commented Mar 18, 2025

Description
Add the wbenv JavaScript module. For now only wbenv.getFromEnv().

Related Issues
#6475

Tasks
Add the list of tasks of this PR.

  • Update the changelog
  • Update the documentation (if needed)
  • Implement wbenv.getFromEnv() for procedural protos

Documentation
https://www.cyberbotics.com/doc/reference/javascript-procedural-proto?version=galou:feature-wbenv

Additional context
https://discord.com/channels/565154702715518986/565155651395780609/1348362740556759081

Add the `wbenv` JavaScript module as a wrapper around C++ functions.
Only implements `wbenv.getFromEnv` as of now.

Signed-off-by: Gaël Écorchard <[email protected]>
@galou galou requested a review from a team as a code owner March 18, 2025 10:25
Gaël Écorchard added 2 commits March 18, 2025 11:25
Signed-off-by: Gaël Écorchard <[email protected]>
Signed-off-by: Gaël Écorchard <[email protected]>
Copy link
Contributor

@CoolSpy3 CoolSpy3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a few doc notes.

Copy link
Contributor

@CoolSpy3 CoolSpy3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@galou galou merged commit 5b315cc into cyberbotics:develop Mar 23, 2025
20 checks passed
@galou galou deleted the feature-wbenv branch March 23, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants