spacelab-ufsc / eps2

Electrical Power System 2.0
GNU General Public License v3.0
26 stars 6 forks source link

Firmware: Delevop the struct for all available variables of EPS2 #86

Open YanAzer opened 3 years ago

YanAzer commented 3 years ago

Tasks will acess this struct to retrive data, including the OBDH2 task to retrieve the complete package of telemetry. This header file should be located under the firmware/app/structs subdirectory.

andrempmattos commented 3 years ago

@YanAzer and @mgm8, I added a scheme to abstract the structure R/W accesses. The implementation now is simple and straightforward, but we can improve from that by adding redundancies for the buffer (i.e., 3 copies) or CRC for blocks of data or even creating a restrictive policy to avoid errouneos/simultaneous accesses.

andrempmattos commented 3 years ago

I suggest the following change:

MPPT 1 --> MPPT 0 MPPT 2 --> MPPT 1 MPPT 3 --> MPPT 2

andrempmattos commented 3 years ago

I suggest the following inclusion:

HEATER_SET_POINT (For manual mode)