As I was adding the CAN-FIX communications to the pyEfis project I wanted to create a software layer that wasn't CAN-FIX dependent. This way we could have a standard method for reading/writing data without regard to what technology was actually used to gather/transmit it. It would also allow for abstracting multiple simultaneous connections. The idea is the GUI side of the EFIS would simply ask to be notified of a change in "Airspeed," or "Pitch Angle," and wouldn't have any knowledge or care about how that information was retrieved.
This exercise brought up a question about how to identify these pieces of data. Just to get it done for the big show, I used the string that I have in the CAN-FIX protocol as the name of the parameter. This is a bit verbose and won't solve all the problems that we'll have in the future. For example, using "Airspeed" is fine but what about Stall speed, Vne, etc. Do we associate those with Airspeed or just use the string "Stall Speed?" Also what about, multi-point data like EGT or Waypoints? Do we say "EGT 1" or "EGT 1.1?" Also, what about associated data like alarm set points, ranges, data failures, status indicators etc.
I was thinking that it might make sense to create a three to six letter identifier for each type of information. Things like IAS, EGT, DA, HDG, etc. just to pick some easy ones. Then we also index these in some way like... EGT1, EGT[1], EGT[1.1] or EGT2[1]. We'd also need a way to indicate associated data. So maybe we'd have OILP[1].Min for the Minimun scale of the Oil pressure on the number one engine. Perhaps leaving off the index assumes number 1. The dot field notation would make it pretty easy to add things like OILP[1].Fail or OILP[1].LowAlarm.
Anyway, I'm just thinking out loud with this, but it seems to me that we need to have something. It'd be something that can be used as identifiers in the API, and for network communications, configuration etc. It's also been suggested that we come up with a flight simulator interface that can be used for testing, this would help with that too. What do you guys think? It seems like it would fall right into the FIX project. Then all the other protocol libraries would be ways to convert the data from the wire to/from this standard, and everything above will just work.
Flight Data Identifiers
Moderators: John Nicol, birkelbach
-
birkelbach
- Posts: 193
- Joined: 04 Sep 2012, 14:42
- John Nicol
- Posts: 611
- Joined: 23 Nov 2011, 12:17
- Contact:
Re: Flight Data Identifiers
Hi Phil,
I guess this would be identified in a data dictionary at the software layer. Definitely needs to be separated out from the protocol layer to keep it abstracted. I think that a 3-6 alphanumeric identifier plus array as you indicate would be good enough?
I have started on a flight simulator interface to arduino and can read data out on USB to arduino, but not to Pi. I was thinking of then sending out the data on CAN-BUS, but I am swamped with preparations for Oshkosh as it is trying to get the booth and the aircraft cockpit ready..... I think it is a good idea though to interface to flight simulation so that we can provide a range of flight data parameters for testing of the interface and systems.
John
I guess this would be identified in a data dictionary at the software layer. Definitely needs to be separated out from the protocol layer to keep it abstracted. I think that a 3-6 alphanumeric identifier plus array as you indicate would be good enough?
I have started on a flight simulator interface to arduino and can read data out on USB to arduino, but not to Pi. I was thinking of then sending out the data on CAN-BUS, but I am swamped with preparations for Oshkosh as it is trying to get the booth and the aircraft cockpit ready..... I think it is a good idea though to interface to flight simulation so that we can provide a range of flight data parameters for testing of the interface and systems.
John
-----
John Nicol
Founder, MakerPlane
John Nicol
Founder, MakerPlane