Skip to content
Snippets Groups Projects
  1. May 25, 2023
    • Viktor Vorobev's avatar
      Merged in NRRPLT-8901 (pull request #47) · 7a29c79a
      Viktor Vorobev authored
      [NRRPLT-8901] Remove the trailing `/` in the address
      
      * [NRRPLT-8901] Remove the trailing `/` in the address
      
      * [NRRPLT-8901] Add test for trailing slash
      
      * [NRRPLT-8901] Fixes and updates
      
      
      Approved-by: Ugo Albanese
      7a29c79a
  2. Jan 26, 2022
    • Benedikt Feldotto's avatar
      Merged in NRRPLT-8381-Retrieve-csv-and-profiler-files-via-VirtualCoach (pull request #39) · 10c3a842
      Benedikt Feldotto authored and Eloy Retamino's avatar Eloy Retamino committed
      NRRPLT-8381 Retrieve csv and profiler files via VirtualCoach
      
      * [NRRPLT-8381] Fix pylint warnings line-too-long
      
      * [NRRPLT-8381] Retrieve csv and profiler files via VirtualCoach
      
      * [NRRPLT-8381] Retrieve csv and profiler files via VirtualCoach
      
      *  [NRRPLT-8381] Add colons for param function description
      
      * [NRRPLT-8381] Redo pylint disable
      
      * [NRRPLT-8381] Fix pylint warnings line-too-long
      
      * Merge branch 'NRRPLT-8381-Retrieve-csv-and-profiler-files-via-VirtualCoach' of https://bitbucket.org/hbpneurorobotics/virtualcoach into NRRPLT-8381-Retrieve-csv-and-profiler-files-via-VirtualCoach
      
      * [NRRPLT-8381] Fix merge issues
      
      * [NRRPLT-8381] Change VC documentation for new file retrieval
      
      * [NRRPLT-8381] fix syntax error
      
      
      Approved-by: Vahid Zolfaghari
      Approved-by: Eloy Retamino
      10c3a842
  3. Dec 15, 2021
    • Benedikt Feldotto's avatar
      Merged in NRRPLT-8412-virtual-coach-models (pull request #37) · 97ef6b26
      Benedikt Feldotto authored and Eloy Retamino's avatar Eloy Retamino committed
      NRRPLT-8412-virtual-coach-models
      
      * [NRRPLT-8412] Print, delete and import models Virtual Coach functions + tests
      
      * [NRRPLT-8412] Fix pylint errors
      
      * [NRRPLT-8412] remove redundant keyword arg
      
      * [NRRPLT-8412] fix error unclosed file
      
      * [NRRPLT-8412] fix error unclosed file in import model
      
      * [NRRPLT-8412] fix type variable and condition
      
      * [NRRPLT-8412] Fix failing tests and pycodestyle
      
      Change-Id: Id7b95518ed4270468c798a76ae47e8cf740626e2
      
      
      Approved-by: Eloy Retamino
      Approved-by: Vahid Zolfaghari
      97ef6b26
  4. Apr 15, 2021
  5. Oct 26, 2020
    • Eloy Retamino's avatar
      · 7b2aaee5
      Eloy Retamino authored
      [NUIT-213] renamed hbp_nrp_virtual_coach as pynrp
      7b2aaee5
  6. Oct 19, 2020
    • Eloy Retamino's avatar
      · fa56c131
      Eloy Retamino authored
      [NRRPLT-0000] Fixed tests; added test for rosbridge connection
      fa56c131
    • Eloy Retamino's avatar
      · ff856bce
      Eloy Retamino authored
      [NUIT-212] Fixed oidc websocket authorization with rosbridge 
      ff856bce
  7. Oct 16, 2020
    • Eloy Retamino's avatar
      · 0dae9d0b
      Eloy Retamino authored
      [NUIT-213] removed proxy from config file, server address is explicitly passed to the VC constructor now; added rosbridge to proxy-services; config.json is part of the repository now, not copied from user-scripts
      0dae9d0b
  8. Jul 22, 2020
    • groetznerFortiss's avatar
      [NRRPLT-7722] Python3 compatibility · b43e04e4
      groetznerFortiss authored
      [NRRPLT-7719] I executed the future module on VirtualCoach. Some builtin python functions are redefined, so pylint will issue warnings.
      
      [NRRPLT-7719] Fixed bugs occuring in run_tests.sh: Checking for string types must use string types from the six module.
      
      The W0622 (redefining builtin function) warnings of pylint are now disabled.
      
      Additionally, the integration test now uses absolute paths for loading data.
      
      [NRRPLT-7722] Made the code compatible with Python3.
      
      [NRRPLT-7722] Adding some minor bugfixes.
      
      [NRRPLT-7722] Adding more minor bugfixes.
      
      [NRRPLT-7722] Update setup.py
      
      Change-Id: Ibb59a6d2b71ed77170c636f2357c011f3e875ea0
      
       [NRRPLT-7722] Fix Makefile
      
      Change-Id: Id723122f896e3d20a79bd1603a75452beeaa56f2
      
      [NRRPLT-7722] Upgrade pip version
      
      [NRRPLT-7722] fix pip version specifier in Makefile
      
      [NRRPLT-7722] fix pylint
      
      [NRRPLT-7722] Quote pip version in user_makefile. Force python2-compatible ipywidgets version
      
      [NRRPLT-7722] fix version
      
      Change-Id: I74c6ea95a537cfe03786c8cc15484581ca573e1c
      
      [NRRPLT-7722] fix type check in oidc_http_client
      
      Change-Id: I74d6d9c5059b659b50b9b6f2328a2c8832c3e330
      
      [NRRPLT-7722] force check for pip version in pipeline
      
      Change-Id: Ie09870af0dcf4f9af66f27d784a28f4eee285f22
      
      [NRRPLT-7722] More robust ipywidget version requirement. Move test dependencies in separate file
      
      Change-Id: I20c186cd07a7c34175b2b25cd4ff3a9222b7d782
      b43e04e4
  9. Jul 17, 2019
    • Luc Guyot's avatar
      Merged in NRRPLT-7445 (pull request #16) · c4233d6e
      Luc Guyot authored
      
      [NRRPLT-7445] Implements the import_experiment() function
      
      * [NRRPLT-7445] Implements the import_experiment() function
      
      * [NRRPLT-7445] Fixes pylint and pep8 errors
      
      * [NRRPLT-7445] Fixes remaining pep8 error in it.py
      
      * [NRRPLT-7445] Adds missing folder required by the unit tests
      
      * [NRRPLT-7445] Adds the missing value experiment-import to the key proxy-services of the Config object
      
      * [NRRPLT-7445] Addresses code review comments: uses request.codes.ok instead of httplib.OK
      
      Approved-by: default avatarManos Angelidis <angelidis@fortiss.org>
      c4233d6e
  10. Mar 14, 2019
  11. Jan 08, 2019
  12. Apr 03, 2018
  13. Mar 29, 2018
    • Mahmoud Akl's avatar
      [NRRPLT-6310][NRRPLT-6301] Clean up esv-web from Virtual Coach · b801b8fe
      Mahmoud Akl authored
      This patch allows only cloned experiments to be launched from the
      Virtual Coach and adds a function to delete cloned experiments.
      
      Unit tests and the IT script have been adapted to the new structure.
      
      Change-Id: Ic0a1b9f7c4beeadcedc1c709d6bfc5003aaa3b95
      b801b8fe
  14. Feb 21, 2018
    • Mahmoud Akl's avatar
      [NRRPLT-6031] Handle cloned simulations from VC · 6076dfe4
      Mahmoud Akl authored
      This patch adds virtual coach functions that allow users to login to
      the Storage Server, Clone experiments, list cloned experiments, and
      launch cloned experiments.
      
      Change-Id: I6d7ba8b02729ba5f9d5533ae2776e51527daf5c6
      6076dfe4
  15. Jan 10, 2018
    • claudio's avatar
      IT tests · 78100c35
      claudio authored
      Change-Id: I991049ce7f446bafe4521ff8e892105f726b7b40
      78100c35
  16. Jul 12, 2017
  17. Jun 30, 2017
  18. Jun 06, 2017
    • Mahmoud Akl's avatar
      [NRRPLT-4229][NRRPLT-5210] Change brain model and population names in ipython notebook · 7b28e7af
      Mahmoud Akl authored
      * Added a call get_brain that retrieves the brain script
      * Added a call edit_brain that takes a brain script as a parameter and
        sets it as the new brain model.
      * Added a call get_populations that retrieves the populations dictionary
      * Added a call edit_populations that takes a populations dictionary as a
        parameter and modifies the populations.
      * Added Unit and Integration tests.
      
      Change-Id: I3c18819f83e3b0f7106b2205002f93caa6b47eb4
      7b28e7af
  19. May 30, 2017
    • Mahmoud Akl's avatar
      [NRRPLT-4230] Change SMACH State Machine in IPython Notebook · 50853f3e
      Mahmoud Akl authored
      * Added a call to print all SMACH state machines names defined in a
      simulation.
      * Added a call to get the state machine code given its name.
      * Added a call to edit a state machine.
      * Added a call to add a new state machine.
      * Added a call to delete a state machine.
      * Refactored some functions to avoid duplicate code.
      * Refactored some Unit Tests
      * Added some Integration Tests. More tests will follow after NRRPLT-5247
        is fixed.
      
      Change-Id: I6dc12b1c512fbd064e96e9751e9d9e451029e6f1
      50853f3e
  20. May 19, 2017
    • Mahmoud Akl's avatar
      [NRRPLT-5016] Add ability to reset simulation · 707e4cf9
      Mahmoud Akl authored
      * Added a function that resets the simulation via the reset REST call
      and takes the reset type as parameter. Reset types are specified in the
      config.json under "reset-services"
      
      * Added unit and integration tests for the new function.
      
      Change-Id: Ic3f13b79ab1bea08f9bf8315fd9a74a1f2dbb9d2
      707e4cf9
  21. Mar 21, 2017
    • Mahmoud Akl's avatar
      [NRRPLT-4233] Get csv data to Jupyter Notebook · a7c096f2
      Mahmoud Akl authored
      * Added a call to print the available csv recorders' file names in the
        simulation.
      * Addded a call that gets the csv data of a specific recorder as a list
        of lists. This data can be manipulated and plotted manually by the
        user in the Jupyter Notebook.
      
      Change-Id: Id168df449f44a1d85d80ba3bb86fc364b136eda0
      a7c096f2
    • Mahmoud Akl's avatar
      [NRRPLT-4226] Change transfer function code in IPython Notebook · 9ae18b4d
      Mahmoud Akl authored
      * Added a call to print all transfer functions names defined in a
        simulation.
      * Added a call to get the transfer function code given its name.
      * Added a call to get the current simulation state.
      * Added a call to set the transfer function code. The simulation state
        before setting a transfer function is maintained after setting it.
      
      Change-Id: I16fc17d640f7944515a0271b80c890fabb5e854e
      9ae18b4d
    • Kenny Sharma's avatar
      [NRRPLT-4224] Add ROS status functionality if rospy is available. · 7d286f4b
      Kenny Sharma authored
      This patch adds support for subscribing to simulation status via ROS if
      rospy is installed on the system. The functionality is disabled if the import
      fails.
      
      Currently this means that ROS support will be available for local installs, but
      not when this package is installed in Jupyter notebook.
      
      Change-Id: I2b07ab363aba5dcea635c987e10754211430dcdf
      7d286f4b
  22. Feb 06, 2017
    • Kenny Sharma's avatar
      [NRRPLT-4214] Initial structure and commit of the Virtual Coach. · 1017e441
      Kenny Sharma authored
      This patch adds the necessary release structure to build and deploy
      the virtual coach package (hbp-nrp-virtual-coach) and the initial
      features of:
      
      - logging into OIDC as a given user
      - retrieving the experiment list from a given backend (e.g. dev, staging,
        local, or other custom defined in config.json)
      - retrieving a list of running experiments and details
      - retrieving a list of available servers
      - launching an experiment with given configuration on any or one specific
        backend server
      - play/pause/stop functionality for a launched experiment
      
      It also includes full test and code coverage and has minimal dependencies
      on the rest of the platform packages at this point.
      
      Change-Id: Ia2f9f3859ec9d9766693989331028b219b1f0eaa
      1017e441