Giter Club home page Giter Club logo

pose-estimation-prototyping's Introduction

Pose Estimation Prototyping

This repository exists to prototype the code written for the pose estimation system for the MoonRanger Lunar Rover .

Modules

The main components tested here are as follows:

  1. Sun Sensor: Tests for verifying the math that converts alpha and beta angles to a unit vector representation of a sun ray.
  2. EKF Simulation: Python bindings for the current implementation of the orientation EKF so that we can test, verify and visualize the results of the math.
  3. Translation Estimation: Tests that verify we can use wheel velocities to estimate 3D position for a certain timestep.

EKF Simulation Setup

The main dependencies for this project include a robotics package I wrote that contains helpful visualization tools called PyRobo, NumPy, PyBind11, and Matplotlib.

The easiest way to install all of these dependencies is to use a Conda environment with the following command:

conda env create -f environment.yml

Otherwise you will need to use pip:

pip install pybind11[global] 
pip install git+https://github.com/bkolligs/pyrobo.git@main

Then we can install all of the C++ code by performing the following commands in the top level directory:

pose-estimation-prototyping/

mkdir build
cd build
cmake ..
make
sudo make install

These commands build a shared library and install it in the site-packages directory corresponding to the current python executable, which should be in theproto-pose conda environment if you used conda. Otherwise it will correspond to your python3 executable, so any files should be run with that version of python. For example, python3 ekf_verify.py. This creates a python package called moonranger that can be accessed like this:

import moonranger as m

ekf = m.OrientationEKF()

# get the ekf's current state
print(ekf.get_state())

pose-estimation-prototyping's People

Contributors

2shaar2059 avatar bkolligs avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mfkiwl

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.