Skip to content

Estimating axis of rotation using world-frame observations of points on rigid body

License

Notifications You must be signed in to change notification settings

lowdrant/ballisticukf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ballisticukf

Estimate the CoM of a spinning 2D disk moving due to gravity using only world-frame observations of points on the disk.

Equivalently: learn the rigid body transforms from points on a body to the center of mass using ballistic motion.

Quickstart

$ git clone https://github.com/lowdrant/ballisticukf.git --recurse-submodules
$ python3 main.py

Requires: matplotlib, numpy, scipy, my custom state estimator library (included as a submodule).

Motivation

How could we estimate the center-of-mass (CoM) of a rotating rigid body undergoing ballistic motion? Since ballistic objects rotate about their CoM (neglecting air resistance), it should be straightforward to estimate the CoM from world-frame position measurements of points on the body. However, I have yet to find an explicit treatment of this problem.

Treatment

For simplicity, I'm going to work with a spinning disk in moving in 2D.

High-Level Procedure

  1. Generate rigid body transforms from CoM to points on body
  2. Simulate disk motion, tracking CoM and angle
  3. Compute point motion after simulation using RBTs and disk motion (simpler code)
  4. Feed point motion time series into filter (selected at CLI)
  5. profit

A Note on Units

Our disk has mass m and radius r and experiences gravitational acceleration g. We can choose units of mass, length, and time so that m = r = g = 1. Then all results are dependent on ratios, primarily initial velocity to g. That way I can focus on actually working without worrying about confounding details, i.e. accidentally making mass negative.

TODO

  1. UKF implementation
  2. KF implementation (for illustration)

References

[1] Thrun, Sebastian, et al. Probabilistic Robotics. MIT Press, 2010. ISBN 10: 0262201623ISBN

Author

Marion Anderson - lmanderson42@gmail.com

About

Estimating axis of rotation using world-frame observations of points on rigid body

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages