GitXplorerGitXplorer
l

latent-actions

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
340f2c8a884d7606d8e3e733ffdadd95829595a3

Update readme.

llouixp committed a year ago
Verified
44a269c0bd9a1e0aa855fc0c96c43d15990db1c6

Add demos.

llouixp committed a year ago
Unverified
b96c28b4e345852ac0e59ece3e123449a12338c8

Update readme.

llouixp committed a year ago
Unverified
88ed32098077059da7afe5037d8de4c1ccf3b3d1

Modified train.py to use the new episodic data format.

llouixp committed 2 years ago
Unverified
8b65f67a2aaa64ef44baff32ff26eb1bcae80ee7

Separate out alignment from training.

llouixp committed 2 years ago
Unverified
e7976457c2fad60a427eea1d8347699ecb757440

Updated notebooks with center out with different velocity profile.

llouixp committed 2 years ago

README

The README file for this repository.

Latent Action

Latent Action allows users to control high dimensional (3-DoF or 7-DoF) Franka Emika Panda arm with low dimensional (2-DoF) interfaces. The arm is simulated with Panda Gym built on top of PyBullet physics engine. The low dimensional interface is a GamePad controller. The mapping between the two spaces is learned with a conditional variational autoencoder (cVAE).

Pre-requisites

  1. A GamePad controller (tested on Logitech F310).
  2. Install the software dependencies:
    pip install -r requirements.txt
  3. (Optional) A Franka Emika Panda arm.

Usage

To start the simulation, run:

python3 enjoy.py --model_class cVAE --checkpoint_path [CHECKPOINT_PATH]

The simulation spawn three processes:

  1. A PyBullet simulation that renders the robot and the environment.
  2. A vector field visualization that shows the conditional latent space (The red dot indicates the current stick position).
  3. The embeded conditional 2D manifold of the latent space within the full 3D space.

https://github.com/louixp/latent-actions/assets/52590858/cc0df693-7353-482c-8c15-c353165d3e11

To control the arm, use the right stick of the GamePad controller. To exit the simulation, press back button on the controller.

Real robot

It works with a real robot too!

https://github.com/louixp/latent-actions/assets/52590858/fc7d480d-c259-4740-ba51-1be8dc00ab09