Apache License 2.0

项目介绍

gbartyzel/gym-vrep 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Apache License 2.0 许可证,目前获得 40 个 Star、14 次 Fork。

仓库全名
gbartyzel/gym-vrep
开源许可证
Apache License 2.0
Star 数
40
Fork 数
14

README 摘要

Open-AI Gym extension for robotics based on V-REP Environments 1. Mobile robot navigation - the mobile robot contains ultrasonic sensors, IMU and two DC motors. Number of ultrasonic sensors depends on task type. The task of this agent is to navigate from position A to position B. There are implemented two variants presented below. Environment | Description | RoomNavigation | Environment with static obstacles like…

完整内容见 GitHub 原始 README 或本页 。

常见问题

gym-vrep 用什么语言开发?

主要使用 Python 编写,采用 Apache License 2.0 许可证,目前有 40 个 Star。

gym-vrep 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 gym-vrep 的源码?

可以直接克隆仓库:git clone https://github.com/gbartyzel/gym-vrep.git,默认分支为 master;安装与运行步骤见仓库 README。

gym-vrep 最近还在维护吗?

仓库最近一次更新为 2023年5月27日,当前没有未关闭的 Issue;Star 数为 40,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Open-AI Gym extension for robotics based on V-REP

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
71
价值分
28
活跃状态
活跃

语言占比

Python

Release

贡献者

README

Open-AI Gym extension for robotics based on V-REP

Environments

  1. Mobile robot navigation - the mobile robot contains ultrasonic sensors, IMU and two DC motors. Number of ultrasonic sensors depends on task type. The task of this agent is to navigate from position A to position B. There are implemented two variants presented below.
Environment Description
RoomNavigation Environment with static obstacles like walls.
DynamicRoomNavigation Environment with dynamic obstacles like randomly moving mobile robots.

The environment can be customized with four parameters:

  • navigation_type - Selects the type of the navigation algorithms from the supported ones (ideal, odometry, gyrodometry). Default is ideal.
  • enable_vision - Whether to include visual feedback to the observation space. Default is False.
  • goal_threshold - Defines the threshold value for reaching the goal. Default value is set to 0.05.
  • collision_threshold - Defines the threshold distance for the proximity sensors, when the collision occurs. Default value is set to 0.05.

Action space are desired motor angular velocities in rad/s. They are limited to (0, 15.0) rad/s.

Environment observation space description:

  • distances from n proximity sensors
  • polar coordinates
  • linear and angular velocities
  • (optional) image from camera sensor

Getting started

Here are provided basic requirements for the project:

  • CoppeliaSim 4.1.0+
  • Python 3.6+
  • Ubuntu 20.04
  • OpenAI gym
  • PyRep

Python

To install this package run following commands:

git clone https://github.com/Souphis/gym-vrep.git
cd gym-vrep
python3 setup.py install

Basic usage

To run the environment with default configuration just add follwing code to your project:

import gym
import gym_coppelia_sim

env = gym.make("RoomNavigation-v0") # or env = gym.make("DynamicRoomNavigation-v0")

Below is the example how to run environment in the headless mode:

import gym
import gym_coppelia_sim

env = gym.make("RoomNavigation-v0", headless_mode=True)

Changing the navigation algorithm can be done with following example:

import gym
import gym_coppelia_sim

env = gym.make("RoomNavigation-v0", navigation_algos="odometry")

评论

暂无评论