Главная
Study mode:
on
1
Intro
2
What is a capstone?
3
A capstone is...
4
for very low cost
5
PSAS has a challenge
6
New flight controller needs...
7
to use cold gas jets
8
to be safe
9
Decision Test using using JSBSim Fast and Safe: Rust! Read and write pins: i2c and gpio
10
These tools are complicated And we were not experienced So we did lots of research
11
We built a MVP with 2 compile modes (flight and test) integration with i2c and gpio integration with JSBSim
12
To test it Flight: LED prototype Test: Read JSBSim output
13
Interesting statistics
14
651 lines of Rust code does not include whitespace or comments overall over 1k lines
15
43 lines of CPP For JSBSim integration (my slide software did not like the plus sign)
16
668 Lines of markdown documentation
17
Interesting problems!
18
JSBSim is hard... and undocumented and kind of has spaghetti code and written in CPP
19
Interesting Bugs!
20
Counter-Clockwise bias (video) Dual spin bug (video)
21
Watch it work! (video)
22
Code time!
23
Questions?
Description:
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.

PSAS Flight Controller in Rust - PDXRust October 2016

Rust
Add to list