Giter Site home page Giter Site logo

av3-fc's People

Contributors

buckwheat24 avatar ianosgood avatar jameysharp avatar kwilsonpdx avatar natronics avatar thirteenfish avatar wrh2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

av3-fc's Issues

Implement Roll Servo Test

In the previous iteration the roll control algorithm wiggled the fins back and forth at start up.

We should do something like this as a command.

Test And Configure Telemetry Using Broadcast Packets

How do we get WiFI data in the test setup (rocket cart)? If not built with flight tags can we then also pipe the data over the wire network? That way a laptop plugged into the rocket cart can debug/watch data over the wire rather than setting up wireless.

Handle RNH data

The RNH will be generating launch detect and a bunch of information about power use and batteries. The FCF should be equipped to deal with this.

FC packets have different timestamp than ethernet packets

In the Launch-12 log, the VERS, SEQN, ROLL, and MESG packets had a different timestamp base (about 0x2EFF3C4, but possibly just 0) than packets coming in over ethernet (about 0x6824606CA712). These four messages are generated by the flight computer, and thus had timestamps originating from clock_gettime(CLOCK_MONOTONIC), whereas ethernet messages obtained the timestamp from the SO_TIMESTAMPNS metadata of incoming recvmsg() packets. We open the socket with setsockopt(s, SOL_SOCKET, SO_TIMESTAMPNS, ...), however according to documentation I found, the sub-options of SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RX_SOFTWARE | SOF_TIMESTAMPING_SYS_HARDWARE are only used if we instead choose socket option SO_TIMESTAMPING. And in any case apparently none of these use the same time-base as CLOCK_MONOTONIC; they either use standard system time or an ethernet card clock.

Also, since these were on different time bases, our policy of subtracting a monotonic start time from the ethernet packet timestamp in to_psas_time() was probably useless.

Rename repo

The FCF isn't actually specific to AV3. The name should reflect that.

Roll control needs a timeout

And possibly apogee detect, so that the roll system doesn't stay on during decent and more importantly the ground.

Is this project still active?

I'm going through the list of projects on the PSAS website, making a list of the active/old projects. Is this still a thing? Is it going on LV3? It hasn't been pushed to in like 2 years.

Fix Venus 8 GPS binary message processing

Old Venus 6 structures (for message A8) had elements that were all two times too large, so it was obviously untested. Write code to split and verify GPS binary packets. Message tags are of form V8xx, where xx is the Venus hex packet ID.

Fix psas_packet and telemetry viewer to match.

Limit when to record GPS data

GPS generates a lot of data, we only really care about it during launch. We should have some way of limiting the recording of it, for example only recording when the FC is armed.

Get FC operating info

We should at least collect CPU temperature data, are there other things that we want? This should be a module in the FCF.

Launch Detect From IMU

We're unlikely to have hardware launch detect, so it needs to be implemented as looking for high g's while in ARM state.

If g > threshold and ARM == true, then 'launch detect'

We expect threshold to be around 4 g 'up'. No debounce.

Debug: There also needs to be a debug backdoor to trigger it for testing.

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.