GithubHelp home page GithubHelp logo

vilota-task-1's Introduction

Vilota Task 1

Setup

Install the required packages using the following command:

pip install -r requirements.txt

Usage

Part 1 (Warm-up): Expressing Spatial Information Mathematically

In the notebook spatial_math.ipynb, I have used the spatialmath-python package to visualize some simple transformation matrices in 3D space. The matrices of interest are in the group S03 and SE3, which are used to represent rigid body motions.

Some mathematical understanding can be helpful to understand the transformations, which can be learnt from this YouTube playlist: Modern Robotics, Chapter 3: Rigid-Body Motions.

To learn more about the spatialmath-python package, their GitHub repository has a very good introductory notebook: notebooks/gentle-introduction.ipynb.

Below is a recording of running the notebook:

A recording of running the notebook is available as spatial_math_usage.mp4

Part 2: Visualizing a Camera Wireframe in Open3D

The main goal is to create an animation similar to this YouTube video: SenseTime B4.

The script open3d_animation.py creates a pyramid wireframe to represent a camera. The animation is created by rotating the camera around the a target object in space. It uses the open3d package to create the 3D visualization and animation. The animation is interactive so you can rotate, zoom and pan the camera using the mouse while the animation is paused.

To learn more about the open3d package, their GitHub repository has a lot of examples: examples/python.

A recording of running the script is available as open3d_animation_usage.mp4

vilota-task-1's People

Contributors

ncduy0303 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.