-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nasa/nos3#446] Add Documentation Files and setup for ReadTheDocs #477
Conversation
Should be close to complete. Need to deprecate the wiki, and update the readme. |
|
||
During mission operation, NOS3 can continue to be used for several purposes. It can support mission planning and rehearsal activities, aid in real time operations monitoring and analysis, and assist in anomaly resolution and fault diagnosis. NOS3 allows operators to simulate and evaluate different operational scenarios, predict the behavior of the satellite system, and make informed decisions based on the simulated environment. | ||
|
||
### How to a move from software / simulator to hardware once it arrives? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section duplicates a section above. Please remove it.
* ait - AIT configuration files | ||
* cosmos - COSMOS configuration files. Only one file in here should be customized. | ||
* OrbitInviewPowerPrediction | ||
* scripts - Convenience scripts. Only launch.sh should be customized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move scripts to the top level. Add yamcs and yamcs-studio here.
* apps - core Flight Software applications | ||
* build - flight software build artifacts location | ||
* cfe - core Flight Executive | ||
* nos3_defs - Mission specific definitions. These should be customized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add fprime here.
* scripts - Convenience scripts. Only launch.sh should be customized. | ||
* sims | ||
* build - simulations build artifacts location | ||
* cfg - configuration data for simulators and for the 42 dynamics simulator. These should be customized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete cfg.
* cfg - configuration data for simulators and for the 42 dynamics simulator. These should be customized. | ||
* nos_time_driver - core functionality to drive time throughout flight software, simulators, and 42 | ||
* sim_common - core common framework code for implementing the plugin system and other core functionality of simulators | ||
* sim_server - core configuration file for the NOS Engine Standalone Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete sim_server
docs/wiki/NOS3_cFS_Development.md
Outdated
|
||
In order to use NOS3 with cFS, modifications are required to the open-source release. The recommended method for using NOS3 is described in the NOS3 User’s Guide, in which these modifications have already been made. If not using the cFS included with the NOS3 release, it is recommended to use the CMAKE build system, as the legacy build is not currently supported. The necessary changes are described below, where `proj` is the cFS directory being integrated. | ||
|
||
1. Edit the `targets.cmake` file in the `fsw/nos3_defs` folder to include the list of applications to be built. Set the target name and system as shown below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "in the fsw/nos3_defs
"
to "in the cfg/nos3_defs
"
docs/wiki/NOS3_cFS_Development.md
Outdated
SET(TGT1_NAME linux) | ||
SET(TGT1_SYSTEM linux) | ||
``` | ||
2. Edit the `toolchain-linux.cmake` file from the `fsw/nos3_defs` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "fsw/nos3_defs
"
to "cfg/nos3_defs
"
|
||
The application that is communicating with hardware will require the I/O calls to be implemented exactly as provided by the OBC manufacturer. The NAV application makes certain calls to a Novatel GPS over the UART from the OBC. Not all of the GPS functionality is necessary to be exercised by the NAV application, so the low level calls to the UART are wrapped in functions in the hardware library, and the NAV app includes this library. As an example, the NAV application will be commanded to get the current Position/Velocity/Time reading, and will make the call `NAV_ReadAvailableData` as seen in the following code excerpt. Notice the include statement for the hardware library. | ||
|
||
```c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 2 code snippets below no longer exist in the code. Replace them with:
novatel_oem615_app.c, NOVATEL_OEM615_ChildProcessRequestData
novatel_oem615_device.c, NOVATEL_OEM615_ChildProcessReadData
docs/wiki/NOS3_cFS_Development.md
Outdated
|
||
### Build System | ||
|
||
The build system must be able to properly select the correct driver source code based on the target being compiled. In this case, CMake is used by both cFS and NOS3 and can accomplish this swap easily. As described earlier the `targets.cmake` file in `fsw/nos3_defs` provides an example of how to include driver source code; an example Cmake build file may be found in `components/novatel_oem615/CmakeList.txt`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "may be found in components/novatel_oem615/CmakeList.txt
"
to "may be found in `components/novatel_oem615/fsw/cfs/CMakeLists.txt"
@@ -0,0 +1,16 @@ | |||
# Workflows & VM Settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 2 images that go with this page should be updated. They show a very ancient version of the VM desktop.
98c2980
to
cff88ef
Compare
cdde92c
to
983769e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #477 +/- ##
=====================================
Coverage ? 0.00%
=====================================
Files ? 1
Lines ? 2
Branches ? 0
=====================================
Hits ? 0
Misses ? 2
Partials ? 0 ☔ View full report in Codecov by Sentry. |
TODO: Rebuild Docs after successful Merge |
No description provided.