Open georgeslabreche opened 3 years ago
Created a tle file at /etc. Created a config.ini file with the contents: [conf] tle_path = /etc/tle
@BenDB3199 @TanguySoto I believe we can move this Issue to Done?
Currently, the code uses an example TLE and an example quaternion file, for testing purposes. For the TLE we know the location of the actual TLE file on the satellite but we still need the location of the quaternion. @georgeslabreche Do you know where the current quaternions are saved on the satellite?
The spacecraft won't be able to make this request: https://github.com/BenDB3199/Attitude_from_quaterions/blob/2652221e4459defa3480e511e178650a9bcacc3f/interpret_TM_short.py#L17
The path of the tle file onboard the spacecraft is
/etc/tle
: https://github.com/georgeslabreche/opssat-smartcamKeep in mind that is this code is to be used both on the ground and on the spacecraft then you need a quick and easy why to toggle between tle paths. For instance, you could externalize the TLE path string into a config.ini file instead of hardcoding.