YoVDO

PSAS Flight Controller in Rust - PDXRust October 2016

Offered By: Rust via YouTube

Tags

Rust Courses Software Development Courses Embedded Systems Courses Aerospace Engineering Courses GPIOs Courses I2C Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a conference talk detailing the development of a flight controller in Rust by a capstone team. Learn about the challenges faced in integrating with JSBSim, working with i2c and gpio, and creating a minimum viable product with dual compile modes for flight and testing. Discover interesting statistics about the project, including code composition and documentation efforts. Gain insights into the complexities of working with undocumented and complex systems like JSBSim. Watch demonstrations of intriguing bugs encountered during development, such as the counter-clockwise bias and dual spin issues. Conclude with a code walkthrough and an opportunity for questions, providing a comprehensive overview of this innovative Rust-based flight controller project.

Syllabus

Intro
What is a capstone?
A capstone is...
for very low cost
PSAS has a challenge
New flight controller needs...
to use cold gas jets
to be safe
Decision Test using using JSBSim Fast and Safe: Rust! Read and write pins: i2c and gpio
These tools are complicated And we were not experienced So we did lots of research
We built a MVP with 2 compile modes (flight and test) integration with i2c and gpio integration with JSBSim
To test it Flight: LED prototype Test: Read JSBSim output
Interesting statistics
651 lines of Rust code does not include whitespace or comments overall over 1k lines
43 lines of CPP For JSBSim integration (my slide software did not like the plus sign)
668 Lines of markdown documentation
Interesting problems!
JSBSim is hard... and undocumented and kind of has spaghetti code and written in CPP
Interesting Bugs!
Counter-Clockwise bias (video) Dual spin bug (video)
Watch it work! (video)
Code time!
Questions?


Taught by

Rust

Related Courses

Advanced Embedded Linux Development
University of Colorado Boulder via Coursera
Advanced Embedded Systems on Arm
Arm Education via edX
Embedded Systems Essentials with Arm
Arm Education via edX
Capstone: Autonomous Runway Detection for IoT
EIT Digital via Coursera
AWS SimuLearn: OTA Updates in Edge Devices
Amazon Web Services via AWS Skill Builder