Skip to content

Commit f20eaff

Browse files
committed
Prep for app-store
1 parent 36c9d74 commit f20eaff

File tree

2 files changed

+23
-51
lines changed

2 files changed

+23
-51
lines changed

README.md

Lines changed: 20 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,38 @@
1-
# OpenC3 COSMOS Plugin
1+
# OpenC3 COSMOS Trends
22

3-
See the [OpenC3](https://openc3.com) documentation for all things OpenC3.
3+
A trend analysis tool for [OpenC3 COSMOS](https://openc3.com). Upload telemetry CSV data, fit trend models, and forecast future values.
44

5-
Update this comment with your own description.
5+
![Trends Tool](public/store_img.png)
66

7-
## Getting Started
7+
## Features
88

9-
1. Edit the .gemspec file fields: name, summary, description, authors, email, and homepage
10-
1. Update the LICENSE.md file with your company name
9+
- **Upload CSV** — Import data exported from Data Extractor (timestamp + numeric columns)
10+
- **9 Trend Models** — Linear, Polynomial, Exponential, Logarithmic, Power, Sinusoidal, Simple Moving Average, Exponential Moving Average, Holt's Linear
11+
- **Forecasting** — Predict ahead with configurable time horizon
12+
- **Threshold Crossing** — Set a threshold and see when the trend is predicted to reach it
13+
- **Export** — Save charts as PNG or trend data as CSV
1114

12-
## Building non-tool / widget plugins
13-
14-
1. <Path to COSMOS installation>/openc3.sh cli rake build VERSION=X.Y.Z (or openc3.bat for Windows)
15-
- VERSION is required
16-
- gem file will be built locally
17-
18-
## Building tool / widget plugins using a local Ruby/Node/pnpm/Rake Environment
19-
20-
1. pnpm install --frozen-lockfile --ignore-scripts
21-
1. rake build VERSION=1.0.0
22-
23-
## Building tool / widget plugins using Docker and the openc3-node container
24-
25-
If you don’t have a local node environment, you can use our openc3-node container to build custom tools and custom widgets
26-
27-
Mac / Linux:
15+
## Building
2816

2917
```
30-
docker run -it -v `pwd`:/openc3/local:z -w /openc3/local docker.io/openc3inc/openc3-node sh
18+
pnpm install --frozen-lockfile --ignore-scripts
19+
rake build VERSION=1.0.0
3120
```
3221

33-
Windows:
22+
Or using Docker:
3423

3524
```
36-
docker run -it -v %cd%:/openc3/local -w /openc3/local docker.io/openc3inc/openc3-node sh
25+
docker run -it -v `pwd`:/openc3/local:z -w /openc3/local docker.io/openc3inc/openc3-node sh
26+
pnpm install --frozen-lockfile --ignore-scripts
27+
rake build VERSION=1.0.0
3728
```
3829

39-
1. pnpm install --frozen-lockfile --ignore-scripts
40-
1. rake build VERSION=1.0.0
41-
42-
## Installing into OpenC3 COSMOS
30+
## Installing
4331

4432
1. Go to the OpenC3 Admin Tool, Plugins Tab
45-
1. Click the install button and choose your plugin.gem file
46-
1. Fill out plugin parameters
47-
1. Click Install
48-
49-
## Contributing
50-
51-
We encourage you to contribute to OpenC3!
52-
53-
Contributing is easy.
54-
55-
1. Fork the project
56-
2. Create a feature branch
57-
3. Make your changes
58-
4. Submit a pull request
59-
60-
Before any contributions can be incorporated we do require all contributors to agree to a Contributor License Agreement
61-
62-
This protects both you and us and you retain full rights to any code you write.
33+
2. Click Install and choose the `.gem` file
34+
3. Fill out plugin parameters and click Install
6335

6436
## License
6537

66-
This OpenC3 plugin is released under the MIT License. See [LICENSE.md](LICENSE.md)
38+
Released under the MIT License. See [LICENSE.md](LICENSE.md).

openc3-cosmos-trends.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Create the overall gemspec
44
Gem::Specification.new do |s|
55
s.name = 'openc3-cosmos-trends'
6-
s.summary = 'Trend Analysis and Prediction'
6+
s.summary = 'Trend Analysis'
77
s.description = <<-EOF
8-
Tool to help analyze trends and make simple predictions based on historical telemetry.
8+
Tool to analyze trends and make simple predictions based on historical data.
99
EOF
1010
s.license = 'MIT'
1111
s.authors = ['Clay Kramp']
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
1414
s.platform = Gem::Platform::RUBY
1515
s.required_ruby_version = '>= 3.0'
1616
s.metadata = {
17-
'openc3_store_keywords' => 'trends,graph,analysis',
17+
'openc3_store_keywords' => 'trends,graph,analysis,prediction',
1818
'source_code_uri' => 'https://github.com/clayandgen/openc3-cosmos-trends',
1919
'openc3_store_access_type' => 'public'
2020
}

0 commit comments

Comments
 (0)