Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature extern controllers launcher (#5629)
* Create webots_controller.c * Update webots_controller.c * Update allocations to malloc * add consts * cleanup + remove const of env variable * Add controller launcher to makefile * ignore webots-controller executable * Add clean and copy to makefile * ignore executable * Move launcher to controller folder * Update .gitignore * Clean webots makefile * Improve string handling * fix gitignore * Add to tests * initialize chars * fix end of line * cleanup * Add matlab compatibility + fix memory * Add missing options * cleanup * Fix matlab and start runtime.ini * Add pseudocode * runtime ini paths * parse env variables + cleanup * Cleanup * add memory free + cleanup * fix source error * fscanf width limit * fix sprintf * fix sprintf * Update webots_controller.c * fix realloc check * Fix comment + multiple variable in runtime ini * Improve robustness * Add windows support * Update webots_controller.c * Fix memory runtime ini line * Fix paths on Windows * clang format * Documentation * cleanup * options * doc * update msg in webots console * Update use cases to launcher * typo * Add new example * WEBOTS HOME * Add snap information * simplify command * Add matlab section * Example webots_home * indent * indent * indent * Update running-extern-robot-controllers.md * Revert "indent" This reverts commit 94fd79e. * example fix * indent * Remove warnings on macOS and add launcher to distrib * new macOS distrib locaiton * execve * Replace system by spawnvpe on windows * python space robustness * Fix runtime ini * restrict process.h to windows * replace execve by execvp * Improve java * cleanup * Cleanup + changelog * Add func description * Fix compilation * Add current relative path to controller + change working dir * Fix java no path * cleanup + fix matlab * Simplify controller path * Cleanup * fix double free * fix double free * Remove duplicate free * Update scripts/packaging/files_core.txt Co-authored-by: Olivier Michel <[email protected]> * Update docs/guide/running-extern-robot-controllers.md Co-authored-by: Olivier Michel <[email protected]> * Update src/controller/launcher/webots_controller.c Co-authored-by: Olivier Michel <[email protected]> * Apply suggestions from code review Co-authored-by: ad-daniel <[email protected]> * one line per sentence doc * occurence to occurrence * simplify realloc * static func and var + fix free * Update src/controller/launcher/webots_controller.c Co-authored-by: Olivier Michel <[email protected]> * Update src/controller/launcher/webots_controller.c Co-authored-by: Olivier Michel <[email protected]> * Update src/controller/launcher/webots_controller.c Co-authored-by: Olivier Michel <[email protected]> * Apply suggestions from code review Co-authored-by: Olivier Michel <[email protected]> * fix clang format * cleanup * clean doc * fix free realloc * minor * test * Update example doc * add carriage return in doc * fix doc * fix doc * More carriage returns in help msg * Duplicate string and change realloc order * Add forward slash compatibility on Windows * Add python unbuffered * Add robustness against spaces in robot name * Improve multiple controllers error msg * doc * Enhance comments in code * Update src/controller/launcher/webots_controller.c Co-authored-by: Olivier Michel <[email protected]> --------- Co-authored-by: Olivier Michel <[email protected]> Co-authored-by: ad-daniel <[email protected]>
- Loading branch information