Skip to content

Commit d665021

Browse files
author
John P. Lucas
authored
Merge pull request #187 from nasa/dev
Release v1.6.1
2 parents 7a2e271 + 58b650a commit d665021

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+976
-169
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text eol=lf
3+
4+
# Declare files that will always have LF line endings on checkout.
5+
*.sh text eol=lf

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
build
1111
*.o
1212
support/nos3_install.log
13+
tmp

.gitmodules

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@
4646
[submodule "sims/sim_common"]
4747
path = sims/sim_common
4848
url = https://github.com/nasa-itc/sim_common.git
49-
[submodule "sims/sim_server"]
50-
path = sims/sim_server
51-
url = https://github.com/nasa-itc/sim_server.git
5249
[submodule "sims/sim_terminal"]
5350
path = sims/sim_terminal
5451
url = https://github.com/nasa-itc/sim_terminal.git
@@ -104,3 +101,35 @@
104101
path = fsw/apps/fm
105102
url = https://github.com/nasa-itc/FM.git
106103
branch = nos3-main
104+
[submodule "components/generic_fss"]
105+
path = components/generic_fss
106+
url = https://github.com/nasa-itc/generic_fss.git
107+
branch = main
108+
[submodule "components/generic_css"]
109+
path = components/generic_css
110+
url = https://github.com/nasa-itc/generic_css.git
111+
branch = main
112+
[submodule "components/generic_eps"]
113+
path = components/generic_eps
114+
url = https://github.com/nasa-itc/generic_eps.git
115+
branch = main
116+
[submodule "components/generic_torquer"]
117+
path = components/generic_torquer
118+
url = https://github.com/nasa-itc/generic_torquer.git
119+
branch = main
120+
[submodule "components/generic_radio"]
121+
path = components/generic_radio
122+
url = https://github.com/nasa-itc/generic_radio.git
123+
branch = main
124+
[submodule "components/generic_imu"]
125+
path = components/generic_imu
126+
url = https://github.com/nasa-itc/generic_imu.git
127+
branch = main
128+
[submodule "components/generic_mag"]
129+
path = components/generic_mag
130+
url = https://github.com/nasa-itc/generic_magnetometer.git
131+
branch = main
132+
[submodule "components/cryptolib"]
133+
path = components/cryptolib
134+
url = https://github.com/nasa/CryptoLib.git
135+
branch = main

CONTRIBUTING.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# NASA Operational Simulator for Small Satellites (NOS3) Contributing Guide
2+
3+
So you'd like to contribute to NOS3?
4+
Below are some guidelines for contributors to follow in addition to a standard [code of conduct](https://www.contributor-covenant.org/version/1/4/code-of-conduct/).
5+
Contributions come in all shapes and sizes.
6+
We appreciate your help with documentation, unit tests, framework code, continuous-integration, or simply reporting bugs and improvement ideas.
7+
We can't promise that we'll accept every suggestion or fix every bug in a timely manner but we'll respond to you as quickly as possible.
8+
9+
* [Code of Conduct](#CodeofConduct)
10+
* [Ways to Contribute](#WaystoContribute)
11+
* [Discussions and Questions](#DiscussionsandQuestions)
12+
* [Bug Reports](#BugReports)
13+
* [Before Reporting a Bug](#BeforeReportingaBug)
14+
* [Reporting a Bug](#ReportingaBug)
15+
* [What Happens to my Bug Report?](#WhatHappenstomyBugReport)
16+
* [New Feature Requests](#NewFeatureRequests)
17+
* [Before Requesting a New Feature](#BeforeRequestingaNewFeature)
18+
* [Requesting a New Feature](#RequestingaNewFeature)
19+
* [What Happens to my Feature Request?](#WhatHappenstomyFeatureRequest)
20+
* [Pull Requests](#PullRequests)
21+
* [Before starting your Pull Request](#BeforestartingyourPullRequest)
22+
* [Creating a Pull Request](#CreatingaPullRequest)
23+
* [What Happens to My Pull Request?](#WhatHappenstoMyPullRequest)
24+
25+
## <a name='WaystoContribute'></a>Ways to Contribute
26+
27+
### <a name='DiscussionsandQuestions'></a>Discussions and Questions
28+
29+
For discussions, questions, or ideas, [start a new discussion](https://github.com/nasa/nos3/discussions/new) in the cFS repository under the Discussions tab. If you prefer email, you can also [join the cfs community mailing list](README.md#join-the-mailing-list).
30+
31+
### <a name='BugReports'></a>Bug Reports
32+
33+
#### <a name='BeforeReportingaBug'></a>Before Reporting a Bug
34+
Perform a cursory search to see if the bug has already been reported.
35+
If a bug has been reported and the issue is still open, add a comment to the existing issue instead of opening a new one.
36+
37+
#### <a name='ReportingaBug'></a>Reporting a Bug
38+
39+
If you find a bug in our code don't hesitate to report it:
40+
41+
1. Open an issue using the bug report template.
42+
2. Describe the issue.
43+
3. Describe the expected behavior if the bug did not occur.
44+
4. Provide the reproduction steps that someone else can follow to recreate the bug or error on their own.
45+
5. If applicable, add code snippets or references to the software.
46+
6. Provide the system the bug was observed on including the hardware, operating system, and versions.
47+
7. Provide any additional context if applicable.
48+
8. Provide your full name or GitHub username and your company organization if applicable.
49+
50+
#### <a name='WhatHappenstomyBugReport'></a>What Happens to my Bug Report?
51+
52+
1. The NOS3 team will label the issue.
53+
2. A team member will try to reproduce the issue with your provided steps. If the team is able to reproduce the issue, the issue will be left to be implemented by someone.
54+
55+
### <a name='NewFeatureRequests'></a>New Feature Requests
56+
57+
NOS3 has a multitude of users from different fields and backgrounds. We appreciate your ideas for enhancements!
58+
59+
#### <a name='BeforeRequestingaNewFeature'></a>Before Requesting a New Feature
60+
61+
Perform a cursory search to see if the feature has already been requested.
62+
If a feature request has been reported and the issue is still open, add a comment to the existing issue instead of opening a new one.
63+
64+
#### <a name='RequestingaNewFeature'></a>Requesting a New Feature
65+
66+
1. Open an issue using the feature request template.
67+
2. Describe the feature.
68+
3. Describe the solution you would like.
69+
4. Describe alternatives you've considered.
70+
5. Provide any additional context if applicable.
71+
6. Provide your full name or GitHub username and your company organization if applicable.
72+
73+
#### <a name='WhatHappenstomyFeatureRequest'></a>What Happens to my Feature Request?
74+
75+
1. The project team will label the issue.
76+
2. The project team will evaluate the feature request, possibly asking you more questions to understand its purpose and any relevant requirements. If the issue is closed, the team will convey their reasoning and suggest an alternative path forward.
77+
3. If the feature request is accepted, it will be marked for implementation.
78+
79+
### <a name='PullRequests'></a>Pull Requests
80+
81+
#### <a name='BeforestartingyourPullRequest'></a>Before starting your Pull Request
82+
83+
Ready to Add Your Code? Follow GitHub's fork-branch-pull request pattern.
84+
85+
1. Fork the relevant component.
86+
87+
2. Find the related issue number or create an associated issue that explains the intent of your new code.
88+
89+
3. Create a new branch in your fork to work on your fix. We recommend naming your branch `fix-ISSUE_NUMBER-<FIX_SUMMARY>`.
90+
91+
3. Add commits to your branch. For information on commit messages, review [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/).
92+
93+
#### <a name='CreatingaPullRequest'></a>Creating a Pull Request
94+
95+
We recommend creating your pull-request as a "draft" and to commit early and often so the community can give you feedback at the beginning of the process as opposed to asking you to change hours of hard work at the end.
96+
97+
1. For the title, use the title convention `Fix #XYZ, SHORT_DESCRIPTION`.
98+
2. Describe the contribution. First document which issue number was fixed using the template "Fix #XYZ". Then describe the contribution.
99+
3. Provide what testing was used to confirm the pull request resolves the link issue. If writing new code, also provide the associated coverage unit tests.
100+
4. Provide the expected behavior changes of the pull request.
101+
5. Provide the system the bug was observed on including the hardware, operating system, and versions.
102+
6. Provide any additional context if applicable.
103+
7. Provide your full name or GitHub username and your company or organization if applicable.
104+
105+
#### <a name='WhatHappenstoMyPullRequest'></a>What Happens to My Pull Request?
106+
107+
1. The NOS3 team will label and evaluate the pull request in the next configuration control board meeting.
108+
2. If the pull request is accepted, it will be merged.

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endif
2727

2828
# The "LOCALTGTS" defines the top-level targets that are implemented in this makefile
2929
# Any other target may also be given, in that case it will simply be passed through.
30-
LOCALTGTS := all fsw fsw-prep pack sim sim-prep clean clean-fsw clean-sim gsw launch log real-clean stop
30+
LOCALTGTS := all fsw fsw-prep pack sim sim-prep clean clean-fsw clean-sim checkout gsw launch log real-clean stop sc-launch
3131
OTHERTGTS := $(filter-out $(LOCALTGTS),$(MAKECMDGOALS))
3232

3333
# As this makefile does not build any real files, treat everything as a PHONY target
@@ -79,6 +79,9 @@ clean-sim:
7979
#
8080
# Script Calls
8181
#
82+
checkout:
83+
./gsw/scripts/checkout.sh
84+
8285
gsw:
8386
./gsw/scripts/gsw.sh
8487

@@ -92,5 +95,8 @@ real-clean:
9295
$(MAKE) clean
9396
./gsw/scripts/real_clean.sh
9497

98+
sc-launch:
99+
./gsw/scripts/sc_launch.sh
100+
95101
stop:
96102
./gsw/scripts/stop.sh

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ The best source of documentation can be found at [the wiki](https://github.com/n
77

88
### Prerequisites
99
Each of the applications listed below are required prior to performing the installation procedure:
10-
* [Git 1.8+](https://git-scm.com/)
11-
* [Vagrant 2.2.3+](https://www.vagrantup.com/)
12-
* [VirtualBox 6.1+](https://www.virtualbox.org/)
10+
* [Git 2.36+](https://git-scm.com/)
11+
* [Vagrant 2.3.4+](https://www.vagrantup.com/)
12+
* [VirtualBox 7.0+](https://www.virtualbox.org/)
1313

1414
### Installing
1515
1. Clone the repository `git clone https://github.com/nasa/nos3.git`
@@ -21,8 +21,10 @@ Each of the applications listed below are required prior to performing the insta
2121
6. Try building and running following the instructions below
2222

2323
### Getting started
24-
It is recommended to share the nos3 repository into the virtual machine (e.g. `/home/nos3/Desktop/github-nos3`)
25-
1. Open a terminal (to `/home/nos3/Desktop/github-nos3`)
24+
By default the nos3 repository is shared into the virtual machine at `/home/nos3/Desktop/github-nos3`
25+
1. Open a terminal
26+
2. Navigate to the nos3 repository
27+
- `cd /home/nos3/Desktop/github-nos3`
2628
2. To build use the `make` command from the nos3 repo
2729
3. To run nos3 use the `make launch` command from the nos3 repo
2830
4. To halt nos3 use the `make stop` command from the nos3 repo
@@ -45,7 +47,6 @@ It is recommended to share the nos3 repository into the virtual machine (e.g. `/
4547
- /cfg - 42 configuration files and NOS3 top level configuration files
4648
- /nos_time_driver - time syncronization for all components
4749
- /sim_common - common files used by component simulators including the files that define the simulator plugin architecture
48-
- /sim_server - NOS Engine Server config and build files
4950
- /sim_terminal - terminal for testing on NOS Engine busses
5051
- /truth_42_sim - interface between 42 and COSMOS to provide dynamics truth data to COSMOS
5152

Vagrantfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@ Vagrant.configure("2") do |config|
55
config.vm.box = "nos3/ubuntu"
66

77
### Specify version
8-
config.vm.box_version = "0.0.0"
8+
config.vm.box_version = "1.6.1"
99

1010
### Share host NOS3 repository into VM
11-
config.vm.synced_folder ".", "/home/nos3/Desktop/github-nos3"
11+
config.vm.synced_folder ".", "/home/nos3/Desktop/github-nos3",
12+
owner: 'root', group:'vboxsf', automount:'true',
13+
mount_options: ["dmode=0770", "fmode=0770"]
1214

1315
### General configuration
1416
config.vm.provider "virtualbox" do |vbox|
15-
vbox.name = "nos3_1.5.2"
17+
vbox.name = "nos3_1.6.1"
1618
vbox.gui = true
17-
#vbox.cpus = 2
18-
#vbox.memory = "8192"
19+
### Enable additional configuration as needed
20+
#vbox.cpus = 8
21+
#vbox.memory = "16384"
1922
end
2023
end

components/cryptolib

Submodule cryptolib added at 7d96442

components/generic_css

Submodule generic_css added at e46d3d7

0 commit comments

Comments
 (0)