GitXplorerGitXplorer
l

latent-actions

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7655249b942fe31f031213100979a39c6dfbe407

Added different velocity profile for simulated center out collected in the new data format.

llouixp committed 2 years ago
Unverified
cfe23488e1fc86c247f974fe45933ebc60b4f210

Added new episodic data structure for unified data collection.

llouixp committed 2 years ago
Unverified
b464a0998b7edc84ec318b4913801896717ba0cb

Separate data bookkeeping responsibility to module.

llouixp committed 2 years ago
Unverified
93d5acea2e9e3e5d7e9cc7e345acff861429d42c

Separate model bookkeeping responsibility to module.

llouixp committed 2 years ago
Unverified
cef65628541fca31f1e68778258901cdaedf7aa8

Added center out analysis on real robot demonstration.

llouixp committed 2 years ago
Unverified
e7e7ee5501a8717238f8c00319c622273dbbdce3

Enabled latent action deployment on real robots.

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