User Guide Overview
Welcome to the Strapdown-rs User Guide! This section provides comprehensive information on using the library and simulation tools.
What You'll Learn
This guide covers:
- Core Concepts: Understanding strapdown INS, coordinate frames, and state representation
- Running Simulations: How to use the
strapdown-simbinary - Data Formats: Preparing and formatting your input data
- Configuration: Setting up simulations with TOML config files
- Logging and Debugging: Monitoring simulation progress
Quick Navigation
For Beginners
If you're new to strapdown INS or this library:
- Start with Core Concepts to understand the fundamentals
- Learn about Coordinate Frames used in the library
- Review State Representation to understand the 9-state and 15-state models
- Try the Quick Start tutorial
For Experienced Users
If you're familiar with INS and want to jump in:
- Check Input Data Format to prepare your data
- Review Configuration Files for advanced options
- Explore Running Simulations for different modes
- See Logging for debugging and monitoring
Simulation Modes
Strapdown-rs supports three main simulation modes:
Open-Loop (Dead Reckoning)
Pure inertial navigation without corrections. Useful for:
- Understanding INS error growth
- Baseline comparisons
- Testing IMU data quality
See: Open-Loop Mode
Closed-Loop (Kalman Filtering)
INS with GNSS corrections using EKF or UKF. Best for:
- Realistic navigation scenarios
- GNSS degradation studies
- Production-like simulations
See: Closed-Loop Mode
Particle Filter
Non-parametric Bayesian filtering for non-Gaussian distributions. Useful for:
- Multimodal uncertainty
- Highly nonlinear scenarios
- Research applications
See: Particle Filter Mode
Navigation Filters
The library provides multiple filter implementations:
- Extended Kalman Filter (EKF): Fast, efficient, works well for mildly nonlinear systems
- Unscented Kalman Filter (UKF): Better accuracy for nonlinear systems, 2-3x slower
- Particle Filter: Handles non-Gaussian distributions, computationally intensive
- Rao-Blackwellized Particle Filter (RBPF): Hybrid approach combining particles and EKF
Learn more: Navigation Filters
State Models
9-State Model
The basic navigation-only model:
- Position: latitude, longitude, altitude
- Velocity: north, east, down
- Attitude: roll, pitch, yaw
15-State Model
Extended model with IMU bias estimation:
- 9 navigation states (as above)
- Accelerometer biases: 3 states
- Gyroscope biases: 3 states
The 15-state model provides better long-term accuracy by estimating and correcting sensor biases.
Typical Workflow
- Collect or prepare IMU/GNSS data in CSV format
- Create a configuration file specifying simulation parameters
- Run the simulation using
strapdown-sim - Analyze results from the output CSV
- Iterate by adjusting parameters as needed
Common Use Cases
Research and Development
- Testing new navigation algorithms
- Comparing filter performance
- Studying error characteristics
- Publishing research results
Education
- Teaching INS fundamentals
- Demonstrating sensor fusion
- Illustrating error sources
- Hands-on learning
System Development
- Prototyping navigation systems
- Evaluating sensor requirements
- Testing GNSS-denied scenarios
- Performance benchmarking
Getting Help
- FAQ: Check the Frequently Asked Questions
- Examples: Browse Example Configurations
- API Docs: See API Reference for detailed documentation
- Issues: Report problems on GitHub
Next Steps
Choose your path:
- New to INS? → Core Concepts
- Ready to simulate? → Running Simulations
- Need data format info? → Input Data Format
- Want advanced features? → Configuration Files