https://github.com/introlab/opentera-teleop-service

OpenTera Service handling teleoperation sessions based on webrtc.

https://github.com/introlab/opentera-teleop-service

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

OpenTera Service handling teleoperation sessions based on webrtc.

Basic Info
  • Host: GitHub
  • Owner: introlab
  • License: apache-2.0
  • Language: JavaScript
  • Default Branch: main
  • Size: 633 KB
Statistics
  • Stars: 4
  • Watchers: 3
  • Forks: 2
  • Open Issues: 2
  • Releases: 0
Created over 5 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

opentera-teleop-service

OpenTera Service handling teleoperation sessions based on webrtc.

Setup Service

```bash

Clone GitHub repository with submodules

git clone https://github.com/introlab/opentera-teleop-service.git --recurse-submodule

Go to opentera-teleop-service directory

cd opentera-teleop-service directory ```

Setup Virtual Environment with Python venv

```bash

Create a virtual environment

python3 -m venv venv

Enable venv

source venv/bin/activate

Install requirements (service)

pip install -r requirements.txt

Install requirements (signaling-server, opentera)

pip install -r submodules/opentera-webrtc-teleop-frontend/teleop-vue/submodules/opentera-webrtc/requirements.txt pip install -r submodules/opentera-webrtc-teleop-frontend/teleop-vue/submodules/opentera-webrtc/signaling-server/requirements.txt

```

OR Setup Virtual Environment with conda

bash ./create_conda_venv.sh

Build Service with CMake

Modify setup according to your configuration

bash vi webportal/.env.production

This command will compile opentera-webrtc python library, build webportal and teleop-frontend ```bash mkdir build cd build cmake ../ make

Create a symlink to the index in the static directory

cd ../static ln -s ../webportal/dist/index.html index.html ```

OpenTera Server Configuration

Make sure the RobotTeleOperationService is activated in the OpenTera Server. Port: 4080 URL : / External URL: /robot Make sure you have a 'Robot' Device Type and robot sub types : BEAM, T-TOP, MOVO

Add a new session type named 'Teleop-Robot'

Add robots to your fleet

Add Devices with Type 'Robot' and the desired subtype.

Example Service configuration

Create a file named /lib/systemd/system/opentera-teleop.service containing :

``` [Unit] Description=OpenTeraTeleopService After=opentera.service Requires=opentera.service PartOf=opentera.service

[Service] User={user name} Group={group name} Environment=PYTHONPATH={YOURPATHHERE}/opentera-teleop-service.git ExecStart={YOURPATHHERE}/opentera-teleop-service.git/venv/bin/python3 {YOURPATHHERE}/opentera-teleop-service.git/TeleopService.py WorkingDirectory={YOURPATHHERE}/opentera-teleop-service.git StandardOutput=syslog+console StandardError=syslog+console Restart=always RestartSec=10s KillMode=process KillSignal=SIGINT

[Install] WantedBy=multi-user.target opentera.service ```

Owner

  • Name: IntRoLab
  • Login: introlab
  • Kind: organization
  • Location: Sherbrooke, Québec, Canada

IntRoLab - Intelligent / Interactive / Integrated / Interdisciplinary Robot Lab @ Université de Sherbrooke

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 7
  • Average time to close issues: about 3 hours
  • Average time to close pull requests: about 4 hours
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • doumdi (3)
Pull Request Authors
  • doumdi (4)
  • joli-1801 (2)
  • G-Lauz (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels