A OpenAI Gym Env for Rover with Arm
Project description
A OpenAI Gym Env for Rover with Arm Task - Move the cart near the table and pick up the object in the tray Reward = 1 (when the object is picked up) Reward = 0 (else)
Code with Sample Actions
import rover_arm
import gym
env = gym.make('rover-arm-v0', render_mode = 'rgb_array')
observation = env.reset()
done = False
while not done:
action = env.action_space.sample()
observation, reward, done, info = env.step(action)
img = env.render()
# print(img.shape)
print(action, observation, reward)
print(reward, done, info)
Code to control the bot using keyboard in human mode (needs to be run in local)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rover_arm-0.0.10.tar.gz
(2.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rover_arm-0.0.10.tar.gz.
File metadata
- Download URL: rover_arm-0.0.10.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d42a3ad047456ff05ebc6f077fe883517cadea784e32ab0c8e4e31c5eae3818e
|
|
| MD5 |
671db4b8e0956062629e9e3385411caa
|
|
| BLAKE2b-256 |
44275a9edf6a5988cc9b3ac6bcb2162223fd8a6f959d59bd9e00d7709240ebc1
|
File details
Details for the file rover_arm-0.0.10-py3-none-any.whl.
File metadata
- Download URL: rover_arm-0.0.10-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4a93ec090649bc8d668c2f014fcbedafe3d9f8007cbd7c1977b560b48fc2f14
|
|
| MD5 |
abd76709261358ba58687a438a97469b
|
|
| BLAKE2b-256 |
b26941eb3d629a4a2e9b6a5f89cb0ca6f34c364a811150d69e73c7f00190e385
|