-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve controller linking #2940
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we also modify the documentation accordingly?
https://cyberbotics.com/doc/guide/running-extern-robot-controllers?tab-language=python&tab-os=linux#environment-variables
Long-term it would be very convenient to have statically linked controllers for Python. Regarding the RAM usage, it should make a big impact as the controller library is small, without external dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
* Improve wb_supervisor_node_reset_physics (#2991) * Force resetting node physics when jerk applies on the same step * Adjust step * Add entry in ChangeLog * Fix comment indentation * Fix reference in ChangeLog * Fix ChangeLog text * removed last char (#2995) Co-authored-by: mael25 <> * Hotfix lib controller update after reset (#2997) * Fix reset of WbSupervisorUtilities if controllers not restarted * Add test * Fix clang-format issues * Simplify fix * Complete previous commit * Update ChangeLog * Fix loading of hidden position3 for Ball (#3001) * fix loading and add test unit * minor * review fixes * review fixes * Add loading time and average real time factor to performance log (#3002) * add realtime factor and loading time * average speed factor based on gui refresh * better speed factor estimate * fix test sources * review fixes * added changelog entry * Fix configuration of IntertialUnit after reset (#2998) * Fix header version * Feature labels animation (#3019) * introduce labels in animations * initialize labelsIds * changelog * update webots.min.js location * fix cpp check * cppchecks * restore const variable Co-authored-by: Benjamin <> * fix initial labels in streaming viewer mode (#3031) * Improve Linux installation instructions (#3030) * Improve unsupported messages and move execstack to optional dependency. * Add check for python development files available * Disable broken windows tests for test suite label (#3042) * Disable broken window tests for test suite label * Port changes to develop workflow * Correct Youbot wheels (#3025) * test * control * updated matlab controller * clean * corrections * reworked controllers * rotation * matlab working * finished both controllers * added doc * updated tower_of_hanoi.wbt contactProperties Co-authored-by: mael25 <> Co-authored-by: Your Name <you@example.com> * Uses Visual C++ 2017 instead of deprecated 2010 (#3043) * Uses Visual C++ 2017 instead of deprecated 2010 * Fixed path to VC++ 2017 executables * Update test_suite_windows.yml * Update test_suite_windows_develop.yml * Fixed path to VC2017 * Useless * Fixed path to VC2017 * re-enabled test suite on Windows * Added mStep increment in ros.cpp (#3040) * Added mStep increment in ros.cpp * mStepSize defined as mRobot basicTimeStep as default * Fix crash solidReference (#3039) * fix crash solidReference * changelog * Update changelog-r2021.md * Update docs/reference/changelog-r2021.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * style * cleanup Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Benjamin <> * Fix Linux Build (#3050) * Update test_suite_linux.yml * Update test_suite_linux_develop.yml * Billboard node (#3023) * initial commit billboard * simplify wrl file * icon * enum entry * wb_node_get_name, WbConcreteNodeFactory * typo + WbNodeUtilities * WbLanguage.cpp * first empty shell * billboard first version * docs * add precision concerning axisOfRotation * correct typo * typos * disable move viewpoint * remove manipulators * cleanup and first limitation of children * remove slots from children * remove robots from children of billboard * docs * not visible to camera * no shadows * cleanup * Update docs/reference/billboard.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/billboard.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/billboard.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/billboard.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/changelog-r2021.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/node-chart.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update resources/nodes/Billboard.wrl Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * rename VF Co-authored-by: Benjamin <> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Recursively search for finalized PROTO node (#3036) * Recursively search for finalized PROTO node * Add test * Add changelog * Fix overwriting node during loop * Fix expected values * Simplify the PROTO parameter instance search and look only for the first instance * Fix check for kinematic objects * Addition of coupled motors (#2939) * coupling logic * proof of concept of the coupling works * begin of multiplier consistecy check * check maxTorque and maxVelocity * add multiplier to API * relay available force/torque * sample * progress * limit coupling only at the robot level * undo libcontroller changes * minor cleanup * added missing limit sanity checks * fix relay mechanism when arbitrary motor (multiplier not 1) transmits command * fix position control * rework acceleration limit * save before change to limits * rework limits for acc, vel, torque * rework limits for multiplier, minmax position * fix test (loading params) * enforce strict limits instead of soft ones * move test to physics and adapt to strict parameter enforcement * minor cleanup * restore function order * relay API commands * test velocity control * finish test unit * remove unnecessary elements from world * added doc * multiplier API * clean up and progress * add api to ros controller * fix ros * demo * add naming convention support and test * documentation and demo clean up * more clean up * adjust documentation * change coupled motor naming logic * remove mechanical coupling * clang * clean up * more cleanup * review fixes * remove relative multiplier * additional removal of relative coupling * cleanup * Update src/controller/c/motor.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fixed missing semi-colon (my bad) Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Avoid duplicate device names in the exported URDF (#3013) * wrong default value (#3055) * Fix crash Matlab controller (#3021) * added rpath in libgeneric * included Makefile.os * updated spacing Co-authored-by: Your Name <you@example.com> * fix (#3059) * Fix missing coupled motors changelog entry (#3058) * update changelog * Update docs/reference/changelog-r2021.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix typo (#3060) * Fix crash after camera spherical change (#3062) * Fix crash after camera spherical change * Clang * Improve camera performance (#3032) * Improve camera performance * Change range finder and lidar * Fix lidar * Delete C_CAMERA_GET_IMAGE * Fix * Unused * Sync cameras * clean * Fix camera recognition * Revert mImageChanged * Fix rotational lidar * Add docs * Delete device reset * Clean * Fix mutexes * Test * Test * Test * Update linux_compilation_dependencies.sh * Update test_suite_linux_develop.yml * Update test_suite_linux_develop.yml * Update test_suite_linux.yml * Test * Update test_suite_linux.yml * Update test_suite_linux.yml * Update test_suite_linux.yml * Update test_suite_linux.yml * Update linux_optional_compilation_dependencies.sh * Update linux_optional_compilation_dependencies.sh * Update linux_test_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_compilation_dependencies.sh * Update linux_optional_compilation_dependencies.sh * Update test_suite_linux.yml * Update linux_compilation_dependencies.sh * Update linux_optional_compilation_dependencies.sh * Update linux_test_dependencies.sh * Fix * Update docs/reference/camera.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/lidar.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/rangefinder.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix docs Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fixed Windows packaging (#3067) * Updated * fix test world update (#3066) * Feature new streaming-viewer (#2769) * improve sync animation * cleanup * lock size * linter and cleanup * import and filename * let to const * support for different fieldsOfView * cleanup * cleanup * cleanup jshelper * Update include/wren/JSHelper.h Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * adapt variable names of JSHelper * get rid of the unused lensflare texture * resolve todos * restore webots_ros * change to comply with cpp check * pep8 error * remove files needed for github pages * rename emscripten output files * add gitignore * update gitignore of wwi * remove generated files * beginning of background rotate * remove index-debug * improve connect/disconnect and restore the loading gif * disable checkError for webGL and correct bug of the script * correct pep8 * test on gllinkprogram * cleanup box * cleanup imported files * capsule and cleanup * remove tessalation * fix mobile display * mousevents * Makefile support for wrenjs * correct makefile * improve Makefile * cleanup * installion on MacOS * cleanup (var) * cleanup var * remove robot window * restore mjpeg streaming * remove change unrelated to this PR * enu * clean up * improve makefile * improve makefile * restore template text * remove mavic animation * add loading gif for animations * restore viewpoint reset animation * reset viewpoint even if we moved it during the animation * pep8 corrections * reset viewpoint when reseting world * replace xmlhttprequest by fetch in animations * cleanup * refactor hdr loader * replace xmlhttprequest by fetch * cleanup new array * correct hdr loader in case there is the software mention * fix cpp check * restore request_methods file needed for the test_suite * correct default matrix * correct makefile * cleanup until directionnallight and renaming c function * cleanup until bug * fix typo * cleanup isf * fix bounding object color bug * fix undefined * update install bash * fix cpp * fix comment * fix cpp shader * cleanup empty variable declaration * remove uninitialized variables * cleanup global * cleanup nodes complete * cleanup include wbwrengtao * cleanup wrenjs * cleanup animation * remove contextmenu * remove help * remove editor * remove dialog_windows * add copyright * fullscreen_handler * remove copyright to lighten * correct default shader * cleanup webotsjs * cleanup * move wbutils * reorder and private until background * private until pointlight * private functions end of wren * comply with cpp checks * remove unused function from jshelper * correction async + C file * renaming files and modifying export * hide loading fig at the end of reset * arrow functions * correct typo * update gitignore * delete binaries * fix bug in animation * remove streaming viewer from build * fix motion blur * restore index.html in packaging * rename enum + streaming viewer + binaries * revert changes in postprocessing * renaming files * broken: check if the test pass * broken: test the test_suite * test: ifdef * restore loopback mecanism animation * changelog * restore update.py * restore .mirror.wbproj * restore demo/default.cpp * put enum and wrenjs in wwi * rename js_helper * progress on linux optional dependency * install script * remove output of source emcc * update docs to remove mention of three.js * correct name of webots * remove useless warning * correct reset viewpoint * remove todo * correct scritp * update deprecated method * fix loading bug * docs typo * update name of generated txt file * restore files_core, delete commented line and correct script * remove useless file in wwi * restore animation warning * replace fetch by xhr * ifndef instead of ifdef in StaticMesh Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/wren/Makefile Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/wren/JSHelper.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/wren/GlState.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/wren/GlState.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update resources/web/wwi/Selector.js Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * rename function * indentations and typo * update scripts and files for online compatibility * fix reset and enable toolbar buttons only when world is ready * fix mismatch functions bugs * fix toolbar * fix reset mjpeg * silence robot window * prevent mousevent to select or move when there is no world * warning for cors in animation + enu * online links * remove unwanted file * remove x3d shadows parameters * change window of export html * Feature fonts web (#2976) * add support for fonts * fonts files * improve labels background * changelog * correct css * correct span Co-authored-by: Benjamin <> * default coordinateSystem * move setup_viewer to wwi because of CORS problems on Chrome * remove setup_viewer from files_core.txt * correct selection * timeout for bye bye * fix mjpeg part 1 * fix mjpeg part 2 * add suffix when save animations * cleanup * add option for chrome * fix animations without labels * Update docs/guide/web-scene.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/webots/gui/WbMainWindow.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/webots/gui/WbMainWindow.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Feature better animation display (#2979) * hardcoded display * working example * complete playbar * cleanup * add mention of JasMin * beginning of custom slider * custom slider wip * finish custom slider * wip settings panel * cleanup of binary files and reset viewpoint * wip speedpanel * speed * shadow button * main settings panel * change gtao * first final version * modularize * rename animation slider, remove binary * first batch of improvements * improvement second patch * keyboard shortcut and tooltips * floating time label * click on mousedown * rename-css * get rid of static variable * rename id * organize css * correct bug jump forward * changelog * fonts for the new interface * fix css Co-authored-by: Benjamin <> * fix x3d to mjpeg * fix mjpeg->x3d * quit button disable on broadcast * utility function for html export * play after loading * correct path * rename web component * update web-component name * wip webcomponent animatioN * Update include/wren/js_helper.h Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Update resources/web/wwi/css/animation.css Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Update resources/web/wwi/Animation.js Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * cleanup * let to const * web component exploration * remove jquery * web component remove jquery * web component animation * typo * wip web component streaming * correct height * remove jquery touch * take the buttons out of the webcomponent * Update docs/guide/web-scene.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update docs/guide/web-scene.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update resources/web/wwi/Animation.js Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update resources/web/wwi/Animation.js Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/webots/gui/WbMainWindow.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/webots/gui/WbMainWindow.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * fix exitfullscreen bug * fix const * toolbar above labels * patch gtao ghost * time indicator more visible on light surface * correct viewpoint during follow * fix screen dimension problem * Wrenjs to wrenjs link * correct quit/disconnect * cleanup * Update resources/web/wwi/WebotsStreaming.js Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * fix bugs * enable switching mode on quit * fix small bug, exit fullscreen on quit * add test to see if element exists before modifications * update new_version * change to private variables * typo * cleanup * Update docs/guide/web-scene.md Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Update resources/web/wwi/Animation.js Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Update resources/web/wwi/nodes/utils/WbMatrix4.js Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Update resources/web/wwi/nodes/WbWorld.js Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * pair instead of switch and web-scene.md * fix track * fix viewpoint * remove print of the scene in the console * change url * restore follow viewpoint animation, cleanup Co-authored-by: Benjamin <> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: BenjaminDeleze <benjamin.deleze@infomaniak.com> Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * increase default mass (#3080) * Add GDB option specific to ease debugging (#3056) Adding -ggdb option in makefile help (a lot) GDB to debug, which is probably needed because of the usage of QT. * Add niryo ned robot (#2925) * add niryo ned robot * second update PR niryo_ned_robot * reformat PEP Clang controllers * modif ned.md * correct C controller * correct controllers * test thumbnails * add thumbnails icon * add model.png * Revert "test thumbnails" This reverts commit 0d3237e0a8da08ab0f70625453d3ab4c9a4e2ab3. * add thumbnail ned.wbt * Revert "add thumbnails icon" This reverts commit 93054bb36a254bf8f30e0d54b589e9e9c3bc65af. * correction thumbnails * model.thumbnail add * correct clang c controller * correct gripper error controller C * correct prb license * correct icon name * change proto NedGripper into Ned * test correct clang prb * clang correction * update PR advises Olivier * modif makefile license * Update docs/guide/ned.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/guide/ned.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/guide/ned.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/guide/ned.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/Makefile Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned/ned.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/niryo/ned/controllers/ned_python/ned_python.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * correct .gitignore files * correct pictures + New proto * correct mors <--> jaw in controller and proto * Update changelog-r2021.md * correct python controller, readme and proto file * final modification world * delete ned binary / ned.wbproj * modify ned.md according to the video * add .wbproj * delete hidden fields world file * simplified, made the shadow visible * Added automatic compilation of ned controller * modify the bounding boxes of Ned and correct pick and place * modif world view * Delete Ned.proto * updated appearance * add pictures with new model + modif world * Create test.txt * Add files via upload * Create test.txt * Add files via upload * Delete test.txt * Delete test.txt * update link youtube video on readme * add minPosition maxPosition rotational motors * Update Makefile * Update ned.meta.json * Delete ned.x3d * Updated ned.x3d Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Maël Wildi <38250944+mael25@users.noreply.github.com> * Update WbPrecision.hpp (#3083) * Allow tuning red color sensitivity of infra-red distance sensor (#3077) * added red color sensitivity factor to distance sensor, used for infra-red sensor type to tune or even disable sensitivity to red color; updated documentation * removed wrong addition of field to stream data for controller * updated docs, added field summary entry, added changelog entry * fixed wrong calculation * Apply suggestions from code review (mainly docs) Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update resources/nodes/DistanceSensor.wrl Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Publish Webots controller to independent repository (#3079) * Fix permissions * Add to CI * Main * Fix * Fix * Fix * Update sync_controller_lib.sh * Update sync_controller_lib.sh * Update sync_controller_lib.sh * Update test_suite_linux.yml * Update sync_controller_lib.sh * Update sync_controller_lib.sh * Update sync_controller_lib.sh * Update sync_controller_lib.sh * Add max and windows * Test * Update sync_controller_lib.sh * Fix windows * Fix * Test * Test * Test * Test * Make it ready * Add a missing break statement (#3084) Otherwise on Windows displaying we run the default statement, which raise an assert. * Fix triangle count (#3086) * fix triangle count * changelog * Update src/webots/scene_tree/WbNodeEditor.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update WbGeometry.cpp Co-authored-by: mael25 <> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update Ros.cpp (#3085) * Update sync_controller_lib.sh (#3096) * Upgrade to Qt 5.15.2 on linux and add Qml module (#3089) * update dependency * fix deprecated and add changelog * qml temporary test * another test * remove test * Hotfix crash due to relative velocities viewer (#3098) * Fix invalid use of NULL WbSolidMerger * Remove debug lines * Add changelog entry * Change macro definition to avoid duplicate (#3074) Co-authored-by: Yann LEROY <yann.leroy102@orange.fr> * fix far webotsjs (#3102) * Improve controller linking (#2940) * Improve controller linking * Update running-extern-robot-controllers.md * Update Makefile * Update Makefile * Update Makefile * Revert * Update running-extern-robot-controllers.md Co-authored-by: Darko Lukić <lukic@Cyberboticss-Mac-mini.local> * Fix box-cylinder collision (#3105) * Init * Revert spaces * Update changelog-r2021.md * Feature api webcomponent (#3106) * add toggle toolbar and sendmessage function to webcomponent * split toggl * Release python global interpreter lock when running c++ code (#3104) * Update controller.i * suppress warnings * Update changelog-r2021.md Co-authored-by: BenjaminDeleze <benjamin.deleze@epfl.ch> * Enhancement billboard web (#3088) * add billboard for webotsjs * restore address * negative id * remove use * remove shadow interactions * cleanup * Improve startup performance of external controller (#2442) * Improve startup performance of external controller * Limit sigint to external controller * Clang * Add swig exception to Python * Ignore Windows * Add Windows ctrl handler * Test * Restore * Restore * Add signal handler * Reduce changes * Less changes * Update changelog-r2021.md * Fix CentOS compilation (#3113) * Feature remove offline doc (#3112) * remove menu and redirect scenetree * cleanup mainwindow and perspective * remove docs * remove from packaging * remove wbdocumentation * help in scenetree * scripts * check if file in the list * good version * cppcheck * cpp check 2 * Update src/webots/core/WbApplicationInfo.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update src/webots/core/WbApplicationInfo.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update src/webots/gui/WbMainWindow.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * corrections Co-authored-by: Benjamin <> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fixes Windows nightly builds (#3116) * Update Robot.wrl (#3117) * Fixed conflict * Fixed compilation on Linux * version * version * Enhancement guided tour (#3119) * improve guided tour * restore background for better image recognition * Feature make mgenerate (#3114) * inital commit * generate gitignore * remove generated file * test sources * correct path * remove files generated by gen_const * skip 2.7 * Replace the three.js part of documentation viewer (#3076) * wrenjs instead of webots.min.js and regenerate .x3d * loading script * correct .hdr * correct switching between robots * pep8 * move js specific files in docs folder * correct x3d for enu robots * pep8 * move viewer * linear motor * rotationMotor (wrong) * correct rotationalMotor * restore buttons (except reset) * reset viewpoint (wrong) * reset correct * fix position of loading gif * hide menu button * hide menu button * fullscreen * reset button * sphere (not well-placed) * marker sphere * cleanup * improve ui * correct showdown * correct packaging * remove jquery wip * jquery wip * progress jquery * remove jquery * end of jquery * cleanup * background url http * correct getAnId * convert far to zfar * test pep8 * test pep8 * pep8 * flake8 * style * rename request_methods Co-authored-by: Benjamin <> * Fix search for proto parameter node instance (#3109) * Inspect all the instances of proto parameter nodes * Remove debug statement * Add regression test * Fix all the searches for finalized proto parameter node instance * Fix clangformat * Fix NULL pointer check * Add entry in ChangeLog * changed target pr (#3122) Co-authored-by: mael25 <> * Removed use of undefined variable (#3124) * Fixed several memory leaks in supervisor API (#3125) * cleanup webotsjs api (#3129) * clean webotsjs api * naming * Add MiR100 robot (#3010) * upload * Delete .mir100-instance.wbproj * corrected motors and controller * glow * updated meshes and light * updated world * removed non-existent motors * removed unnecessary file * updated control * cleaned controller * doc * recleaned controllers * web component * thumbnail * Update projects/robots/Makefile Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update projects/robots/mir/mir100/protos/Mir100.proto Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update projects/robots/mir/mir100/protos/Mir100.proto Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update projects/robots/mir/mir100/protos/Mir100.proto Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update projects/robots/mir/mir100/protos/Mir100.proto Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * corrections * corrections2 * removed previous key * meshes * var scope and speed inc * lighter mesh to have shadow * updated x3d * Update Mir100.proto * better x3d * delete x3d * test * test * updated * corrected x3d * corrected mass * meshes * reworked mesh * added imu * camera tex * camera * texture * meshes * nice looking mesh * added sensors * sensors * clean * fixed appearance * fixed controller * updated x3d * description * x3d * x3d v2 * x3d v3 * updated md * added images * added sensor icon * updated names * removed unused mesh * corrected comment * rename * Update Mir100UltrasonicSensor.proto * Update Mir100UltrasonicSensor.proto * requested changes * updated x3d * makefile * slope Co-authored-by: mael25 <> Co-authored-by: Your Name <you@example.com> Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update mir100.md (#3135) * Update keyboard_conveyor_platform.c (#3136) * Fix world update error Mir100 (#3134) * remove controller * missing parenthesis * Fix test suite on windows (#3126) * Fixed Makefile target * Fixed compilation warning * Fixed robot_urdf test on Windows * Fixed extern controller test on Windows * Fixed extern and robot_urdf * Fixed reference URDF files * Fixed timeout on Linux * Update src/webots/maths/WbPrecision.cpp Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * More efficient regexp * Better error message * fix Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * fix matlab makefile (#3137) * fix matlab makefile * run with python3 * Update src/controller/matlab/Makefile Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Doc update web (#3131) * update images and animation,scene and streaming * update web-simulation * beginning of new api description * end of api * missing . * reformulation * remove unused image * Update docs/guide/web-simulation.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update docs/guide/web-simulation.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update resources/web/wwi/WebotsStreaming.js Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Doc update web (#3131) * update images and animation,scene and streaming * update web-simulation * beginning of new api description * end of api * missing . * reformulation * remove unused image * Update docs/guide/web-simulation.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update docs/guide/web-simulation.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update resources/web/wwi/WebotsStreaming.js Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Generate mir100 and ned web robots components. (#3140) * component.js for mir * ned web robot components * Make WebotsStreaming createable by javascript (#3142) Since `document.getElementsByTagName('webots-streaming')[0]` does not exist before creating the dom element, this throws errors when creating it with javascript. Instead use `this`, since it is in almost all cases the sames as document.getElementsByTagName('webots-streaming')[0] * remove nodejs (#3147) * Optimized supervisor field tracking (#2279) * supervisor implementation * Initial * Track pose as well * Add * Push to stream * Add C++ * Undefined * Extend message * Fix crash solidReference (#3039) * fix crash solidReference * changelog * Update changelog-r2021.md * Update docs/reference/changelog-r2021.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * style * cleanup Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Benjamin <> * Update supervisor.c * General * Fix multifield tracking * cppcheck * Rename * Pose test * Include frequency * Better * Fix * Pose * Fix * Add pose * Language * Docs * Changelog * Fix * clang * matlab * matlab * ros * ros * cppcheck * Fix * Consistency * Fix example * Docs * Fix * Update docs/reference/changelog-r2021.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/supervisor.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix * Update docs/reference/supervisor.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix * Exclude * Fix * Fix docs Co-authored-by: Darko Lukic <lukicdarkoo@gmail.com> Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Add JetBot robot (#2951) * Initial version of the JetBot robot * Add missing parameter * Add web component studio * Fix typo in texture name * Fix lowercase documentation test error * Update model docs images * Add entry in changeLog and update menus * Improve viewpoint position * Update center of mass, display and add minimal controller * Add basic motion controller * Remove Camera hinge * Update PROTO model * Add C controller * Move JetsonNano PROTO in projects/devices folder * Add JetBot camera PROTO * Scale STL meshes instead of Webots nodes * Update documentation * Update worlds and controllers * Merge with orgin/develop * Cleanup unwanted changes * Cleanup unwanted changes * Update web component * Add and rename missing textures * Improve viewpoint position in web component * Fix documentation errors * Remove unused images * Add jetbot controler compilation to main Makefile * Fix PEP8 * Fix PROTO header version * Use resnet18 and add pretrained model * Change JetsonNano base node to Robot and add documentation * Move collision avoidance related files to webots-projects repo * Fix include * Add missing new line * Fix python basic Jetbot motion control * Update docs/guide/jetbot.md Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Fix link to contact us section * Update docs/guide/single-board-computers.md Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update web component * Update JetBotRaspberryPiCamera image * Add invidia Jetson Nano thumbnail * Update documentation * Add missing duplicated textures * Update web component robot orientation and link to documentation * Update projects/robots/nvidia/jetbot/protos/JetBot.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/guide/jetbot.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * fix nightly build on windows develop (#3153) * fix nightly build on windows develop * adapt test-source * Fix asymmetric friction (#3150) * fix localNormal computation * removed comments * comments * simplified code * changelog Co-authored-by: mael25 <> * cleanup web components (#3144) * Added Viewpoint in world converter scripts (#3155) * viewpoint conversion * Update convert_nue_to_enu.py * Update convert_nue_to_enu.py * added default * correct doc viewpoint * fix * Update scripts/converter/convert_nue_to_enu.py Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Update convert_eun_to_nue.py Co-authored-by: mael25 <> Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Fix size animation web component (#3166) * Add Summit-XL Steel (#3121) * target pr to develop * Update changelog-r2021.md * Update SummitXlSteel.proto * Update .summit_xl_steel.wbproj * Update summit_xl_steel.wbt * gitignore * x3d * improvements * x3d * updated x3d * Update summit-xl-steel.md * added front sensors * added sensors * icon and x3d * updated camera position * Update summit_xl_steel.wbt Co-authored-by: mael25 <> * Fix `test suite` CI on ubuntu 18 (#3161) * print * add whitelist * Update tests/test_suite.py Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix export of & in x3d (#3171) * fix export & * other characters * add single quote escape * Add Fabtino robot (#2999) * added fabtino * FLU * corrected translation * changes * multiple updates * doc * icons * added thumbnails * Update fabtino.md * updated makefile * added mass * cleaned controller * recleaned controllers * corrected mecanum wheels * corrections * x3d * x3d * x3d * x3d * updated x3d * correct metadata * coord * coord * added position sensors * var scope and speed inc * test * test * test * test ended * gitignore * small fix * x3d * test * reupload * updated imu * Update fabtino.md * correct mesh wheels Co-authored-by: mael25 <> Co-authored-by: Your Name <you@example.com> * Add JavaScript support for procedural PROTO (#3087) * dependencies * principle * js converter * refactor * add more fields * add context * rework * add modules * wbrotation * allow module import * camel case and use let instead of var * add math module and allow multiple imports * add wbrandom * add wbvector2 * add wbvector3 * wbcore and wbgeometry * wbfile * fix function calls in expressions * begin of documentation * remove unnecessary language parameters * Revert "remove unnecessary language parameters" This reverts commit 74b449726d94705e0979f9e5ea3f2e26b23173e5. * second attempt * fix broken * stdout * fix broken lua modules * more robust parser * test suite proto conversion - proto tests * attempt to fix sfnode * fix mf array bug * more test conversion * proto conversion - test api * remove unused proto * convert lua proto - parser folder * consistent naming * clean up * more docs * more docs and sanity check * minimal console * parameter sanity check in modules * more conversions * fix wbgeometry * fix bspline3 * finalize * cleanup * fix sources * wbutility docs * minor * for reference * restore previous method * undo dependencies * fixes on wbgeometry and wbrotation * minor optimization * use pure array for MF instead of Object with integer keys * cleanup * fix wbgeometry * fix wbvector2 angle * cleanup * attempt to fix windows CI issue * attempt to fix again * change name * remove library * print stderr * add js stuff to packaging * change token * swap token in proto * remove test_suite print * missing swaps * fix tests with new token * update docs * finalize * fix docs * move to temporary folder when generating templatees * changelog * minor * minor * Update docs/reference/javascript-procedural-proto.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update docs/reference/javascript-procedural-proto.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * rename world and remove double deprecation notice * Update src/webots/core/WbTemplateEngine.cpp Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Update docs/reference/javascript-procedural-proto.md Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Fix Context Menu Refresh (#3174) * Add force/torque scale factor to Worldinfo (#3175) * fprintf * added fields * md * cleaned * update md * Update the-3d-window.md * Update changelog-r2021.md * Update worldinfo.md * cleanup * Update changelog-r2021.md * ref * Update src/webots/gui/WbDragSolidEvent.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update src/webots/gui/WbDragSolidEvent.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * changed torque computation * spacing * removed mMagnitude * const methods Co-authored-by: mael25 <> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix windows nightly build (#3181) * fix * wrong path * Publish libcontroller from master branch (#3180) * Publish libcontroller from master branch * Fix * Fix diff * Fix * Update sync_controller_lib.sh * uncomment * Feature wb_supervisor_node_set_joint_position (#3160) * Initial version of wb_supervisor_node_set_joint_position * Add test world * Reset test controller * Fix ROS api * Complete test * Manually trigger joint position update if parameters node is not set * Fix reference * Improve documentation * Add entry in changelog * Improve documentation * Update webots_ros * Fix default value * Add default argument in Python API * Remove unnecessary comments and return instruction * Update tests/api/controllers/supervisor_node_set_joint_position/supervisor_node_set_joint_position.c Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com> * Clamp position if outside joint hard limits Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com> * Removed obsolete Python 2.7 tests (#3186) * Removed obsolete Python 2.7 tests * Fixed syntax in workflow file * Fix world update for Summit-XL steel/Fabtino/Mir100 (#3172) * re-order fields * format fabtino world * updated wbproj * camera windows * update controller mir * updated controllers and worlds * updated texture * Update projects/robots/robotnik/summit_xl_steel/controllers/keyboard_control/keyboard_control.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/objects/factory/conveyors/controllers/keyboard_conveyor_platform/keyboard_conveyor_platform.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/rec/fabtino/controllers/keyboard_control/keyboard_control.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/robots/mir/mir100/controllers/keyboard_control/keyboard_control.c Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: mael25 <> Co-authored-by: Maël Wildi <38250944+mael25@users.noreply.github.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Don't fire tests on ready_for_review event (#3190) * Fix reconnecting extern controllers (#3189) * Allows failed controller to reconnect to a robot * Add entry in changelog * Fix border color for lens distortion (#3191) * Show black pixels instead of repeating closest visible pixel colour * Update ChangeLog * Merge R2021b and R2021a rev1 change log (#3193) * Merge R2021b and R2021a rev1 changelogs and reorder the entries based on topic * Fix reference to user guide * Update docs/reference/changelog-r2021.md Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Fix alignment of generic robot window entries * Fix typos Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Avoid Windows deleting webots-libcontroller header files (#3197) * Update sync_controller_lib.sh * Update scripts/packaging/sync_controller_lib.sh Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * fix-url-in-field (#3200) * Correct supported sound extensions (#3205) * fix matlab gitignore (#3206) * Fix robot windows of robotbenchmark simulations (#3192) * fix humanoid_sprint * adjust font size * highway driving + marathon * correct controller with enu * pendulum * maze_runner, obstacle avoidance, pick and place * last robot windows * var to let/const * remove comment * wip generalize to class * generalize to class end * auto resize image * remove broken links * remove viewpoint_control benchmark * add changelog * remove max-width * remove fix width of forward.png * Update docs/reference/changelog-r2021.md Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Fix incorrect resetting of Transform (#3167) * minimally reproductible example * test supervisor reset * move saving from solid to transform * fix segfault with trackwheels, but reset does not work * separate test * remove double saving * fix resetting of trackwheels * fix resetting of joints * cleanup * fix wrong id * add unit test * add state save test * fix saving of descendants and complete tests * undo changes to other protos * added changelog * clean up * Update tests/api/worlds/supervisor_reset_transform.wbt Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/webots/nodes/utils/WbTemplateManager.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update src/webots/nodes/WbTransform.cpp Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * use nodetype instead of modelname * fix changelog after conflict * use dynamic cast Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Various fixes (#3196) Fix typos in doc, comments. Add information about motor velocity regulation. Replace function call by the variable holding the result. Factorize code to avoid repetition and additional initial testing. Add missing break, default, continue, statement. Clean a condition on limit values, the same way than in WbMotor::setForceOrTorque. Co-authored-by: Yann LEROY <yann.leroy102@orange.com> Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com> * Fix Windows libcontroller determinism (#3204) * Fix Windows libcontroller detertinism * Guards * Update test_suite_windows.yml * Update test_suite_windows_develop.yml * Add Contact Points Tracking (#3162) * Init * Add Python/C++ * Refactor * Fix * Fix * Fix tracking api * Add new api * Fix pose tracking * Add C++ * Add Python * Fix * clang * language * matlab * matlab * Commented * Add Java * Update Node.hpp * Docs * Fixed display of many deprecation warnings * Fixed compilation warnings and duplicate structure * Update docs/reference/supervisor.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix * Add tests * Changelog * Fix ros api * Add ROS API * Docs * Fix * Move * Fix * Change Python * Update ros * Fix * Update last time * Test * Cppcheck * Test * Update docs/reference/supervisor.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update changelog-r2021.md Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * EDIT: Changed apparent typo in active_link_mask (#3195) * Add the name of a solid next to it in tree (#3198) Add the name of a solid next to it in tree * Fix the `wb_supervisor_node_get_contact_points` MATLAB API function (#3211) * Fix reference to Shape documentation page (#3203) * Fix `test ros` CI for ubuntu 18 (#3173) * fix ros key * optimize workflow and swap key request in tutorial * fix * add exclude-ros flag * fix * fix attempt * again * fix again * remove env variables from build step * Test * Fix * Fix * Update linux_test_dependencies.sh * Add git Co-authored-by: Darko Lukic <lukicdarkoo@gmail.com> * Add Supervisor API to get field by index (#3202) * Complete implementation of wb_supervisor_node_get_field_by_index * Fix functiona names and check * Add test * Apply bug fix * Fix test and functionality * Improve documentation * Complete ROS API * Sync with webots_ros * Various fixes * Remove duplicated line * Synch with webots_ros * Update matlab .gitignore * Remove useless const * Removed duplicated entries * Synch with webots_ros * Update docs/reference/supervisor.md Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Fix variable names * Add changelog and synch with webots_ros * Simplify code * Fix merge issue * Fix previous commit * Fix merge issue * Fix merge issue Co-authored-by: Darko Lukić <lukicdarkoo@gmail.com> * Resize labels on window resize (#3222) * resize labels on resize * cleanup * Fix crash due to invalid SFColor value (#3218) * Remove use of invalid color [-1 -1 -1] * Check for valid SFColor values * Add ChangeLog entry * Add color checks when needed and remove unused function * Fix some cppcheck warnings * Restore function * Update src/webots/vrml/WbMFColor.cpp Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Fix `test ros` on master (#3221) * apply same workflows * update agent version * revert restriction * missed some * again .. * Revert "update agent version" This reverts commit 2c7d9ebbdf3bd57849e54ff694b73b549584deb4. * restore * revert it back again.. * Fix kinematic simulation triggering a field regeneration which leads to a crash (#3227) * fix * add changelog entry * Conversion of Lua PROTO files to JavaScript (#3156) * add context * rework * add modules * wbrotation * allow module import * camel case and use let instead of var * add math module and allow multiple imports * add wbrandom * add wbvector2 * add wbvector3 * wbcore and wbgeometry * wbfile * fix function calls in expressions * begin of documentation * remove unnecessary language parameters * Revert "remove unnecessary language parameters" This reverts commit 74b449726d94705e0979f9e5ea3f2e26b23173e5. * second attempt * fix broken * stdout * fix broken lua modules * more robust parser * test suite proto conversion - proto tests * attempt to fix sfnode * fix mf array bug * more test conversion * proto conversion - test api * remove unused proto * convert lua proto - parser folder * consistent naming * clean up * more docs * more docs and sanity check * minimal console * parameter sanity check in modules * more conversions * fix wbgeometry * fix bspline3 * finalize * cleanup * fix sources * wbutility docs * minor * convert objects * for reference * more objects * more objects * converted objects: street_furniture, computers, cabinet, geometries * converted objects - solids * converted objects - traffic * converted objects - floors * converted objects - factory * converted objects - kitchen * converted objects - toys * converted objects - shapes * converted objects - trees * converted objects - telephone * converted objects - garden * converted objects - mirror * converted objects - chair * converted objects - gear * converted objects - apartment_structure * fixes * converted objects - road * converted appearances - all * converted bounding_objects - all * converted default - all * converted devices - all * converted humans - all * converted joints - all * converted samples - some * converted vehicles - some * converted vehicles - remaining * converted robots - all * revert indentation fix, will be done in a different PR * converted objects - hard ones * progress of Extrusion.proto * fix Extrusion.proto * fix reproductibiliy of UnevenTerrain.proto * Convert CrashBarrier.proto * converted RoadIntersection.proto * converted AddLanesRoadSegment.proto * convert AddLaneRoadSegment.proto * converted Roundabout.proto * progress of Building.proto * restore previous method * undo dependencies * fixes on wbgeometry and wbrotation * minor optimization * use pure array for MF instead of Object with integer keys * cleanup * convert {} array to [] array * convert Building.proto * converted DistanceSensorVisualization.proto * converted Pit.proto * SphereGrid.proto * Converted VehicleWheel.proto * progress of converting Road.proto * converted RaceStopwatch.proto * convert cabinet.proto * converted LinkedWalls.proto * Progress on Forest.proto, loads but different pattern from Lua * match Lua tree distribution in Forest.proto * Fix Building.proto roofs * progress SimpleBuilding.proto * fix wbgeometry * converted SimpleBuilding.proto * Fix Road.proto * fix wbvector2 angle * fix Road.proto bug * Converted RobocupSoccerField and fixed Goal bug * highway_overtake adaption * highway_driving adaption * village forests adaptation * village_winter forest adaptation * CH_vens adaptation * bugfix SimpleTree * random integer overflow bugfix * bugfix advertisingboard poles * bugfix SumoInterface, reserved keyword used as variable * bugfix LaneSeparation * bugfix undefined instead of 'undefined' * bugfix Gear.proto * bugfix texturedbackground.proto * conversion of DirectionPanel * replace forests by random ones * add missing textures * lua specific tests * convert recent robots * cleanup * attempt to fix windows CI issue * attempt to fix again * change name * remove library * print stderr * add js stuff to packaging * change token * swap token in proto * remove test_suite print * missing swaps * fix tests with new token * update docs * finalize * fix docs * swap token * proof of concept * clean up * optimize Fence.proto * finalize wbfile module * adapt forest proto to manipulate file * move to temporary folder when generating templatees * changelog * minor * update doc * minor * change import path * remove unnecessary wbfile functions * restore original village * restore original village_winter * restore original highway_overtake * restore forests in CH_Vens and CH_Morges * missing test * clean up * submodule * fix sources and cleanup * personal review * minor * changes darko review * changes review mael * Update projects/objects/buildings/protos/Building.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/stairs/protos/StraightStairs.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/stairs/protos/StraightStairs.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/trees/protos/SimpleTree.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/panels/protos/Panel.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/trees/protos/SimpleTree.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/trees/protos/SimpleTree.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * changes review stefania * Update projects/objects/trees/protos/SimpleTree.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/trees/protos/SimpleTree.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/robotbenchmark/wall_following/protos/LinkedWalls.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/robotbenchmark/wall_following/protos/LinkedWalls.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/samples/contests/robocup/protos/RobocupSoccerField.proto Co-authored-by: Stefania Pedrazzi <stefaniapedrazzi@users.noreply.github.com> * Update projects/objects/cabinet/protos/Cabinet.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * changes review olivier * Update projects/objects/road/protos/HelicoidalRoadSegment.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/objects/cabinet/protos/Cabinet.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/objects/cabinet/protos/Cabinet.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/objects/cabinet/protos/Cabinet.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Apply suggestions from code review Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/objects/factory/pallet/protos/WoodenPallet.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Apply suggestions from code review Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update projects/objects/advertising_board/protos/AdvertisingBoard.proto Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * changes review benjamin * Update projects/objects/road/protos/AddLanesRoadSegment.proto Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * Apply suggestions from code review Co-authored-by: Benjamin Délèze <benjamin.deleze@epfl.ch> * changes review benjamin * debug addlanesroadsegment * continuation * fix AddLanesRoadSegments newLaneLeft * review changes darko * fix AddLanesRoadSegment continuity * cleanup 0-10 * cleanup 10-20 * cleanup 20-30 * cleanup 30-40 * cleanup 40-50 * undo const forest * dashedline deprecation removal * Don't create url for generic tabs in docs (#3210) * fix AddLanesRoadSegments newLaneLeft * restrict url generation for generic tabs * add javascript synthax highlight * remove local server * remove unnecessary space * temporary folder * leave anything but language and os * replace test folder with R2021b * fix road startline geometry * fix LaneSeparation barriers * undo changes to SolidRoundedBox * fix HingeWithBacklash gearmass * fix roundabout name spacing * re-fix AddLaneRoadSegment * remove toString * Update projects/…
We add the
rpath
to better support a dynamic library loading in Python. Otherwise, we have to configureLD_LIBRARY_PATH
before thepython3 myscript.py
call.Unfortunately, this works fine only for Linux. For macOS, it may be possible (https://longwei.github.io/rpath_origin/), but Windows doesn't support
rpath
at all (https://stackoverflow.com/questions/42497999/build-project-with-libraries-in-other-directories-windows-mingw).