generated from ut-issl/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from ut-issl/feature/tlm_cmd_generator_as_sub…
…module tlm cmd generator を submodule として持たせる
- Loading branch information
Showing
4 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "src/src_core"] | ||
path = src/src_core | ||
url = https://github.com/ut-issl/c2a-core | ||
[submodule "tools/tlm_cmd_generator"] | ||
path = tools/tlm_cmd_generator | ||
url = https://github.com/ut-issl/c2a-tlm-cmd-code-generator.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ | |
- For SILS test | ||
- [S2E-AOBC](https://github.com/ut-issl/s2e-aobc) v3.0.0 | ||
- Telemetry/Command interface | ||
- [tlm-cmd-generator](https://github.com/ut-issl/c2a-tlm-cmd-code-generator) | ||
- Version: [ISSL Branch](https://github.com/ut-issl/c2a-tlm-cmd-code-generator/tree/feature/issl) | ||
- [WINGS](https://gitlab.com/ut_issl/wings/wings) | ||
- How to use | ||
- `The main developers` of the AOCS module directly use this repository to add new features and improve the module. | ||
|
@@ -57,8 +55,8 @@ | |
- The term `body-fixed frame` in the codes and tlm/cmd database means `the body-fixed frame of the AOCS module`. It does not necessarily coincide with the body-fixed frame of your satellite. | ||
|
||
## For main developers | ||
## How to clone the repository | ||
- This repository includes [c2a-core](https://github.com/ut-issl/c2a-core) with the `git submodule`. Please use the following commands to construct the directory. | ||
### How to clone the repository | ||
- This repository includes [c2a-core](https://github.com/ut-issl/c2a-core) and [tlm-cmd-generator](https://github.com/ut-issl/c2a-tlm-cmd-code-generator) as the `git submodule`. Please use the following commands to construct the directory. | ||
``` | ||
$ git clone [email protected]:ut-issl/c2a-aobc.git | ||
$ cd c2a-aobc/ | ||
|
@@ -108,22 +106,10 @@ | |
### How to edit TLM/CMD (Telemetry/Command) | ||
1. Edit TLM/CMD DB in `c2a-aobc/database/` | ||
- Please find detailed information on [How to use TLM/CMD DB](https://github.com/ut-issl/tlm-cmd-db). | ||
2. Execute `tlm-cmd-generator` and generate source codes. | ||
2. Execute `tools/tlm_cmd_generator` and generate source codes. | ||
- [How to use tlm-cmd-generator](https://github.com/ut-issl/c2a-tlm-cmd-code-generator) | ||
- Checkout to the latest [feature/issl](https://github.com/ut-issl/c2a-tlm-cmd-code-generator/tree/feature/issl) branch. | ||
- Edit the `settings.json` as follows. | ||
``` | ||
{ | ||
"path_to_src" : "Relative path to c2a-aobc/src/", | ||
"path_to_db" : "Relative path to c2a-aobc/database/", | ||
"db_prefix" : "ISSL6U_AOBC", | ||
"tlm_id_range" : ["0x00", "0x100"], | ||
"is_cmd_prefixed_in_db" : 1, | ||
"input_file_encoding" : "utf-8", | ||
"output_file_encoding" : "utf-8", | ||
"is_main_obc" : 0 | ||
} | ||
``` | ||
- Just use the version specified in the submodule. | ||
- It is set to read `tools/tlm_cmd_gen_config.json` as the config file. | ||
### Development style | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"path_to_src" : "../../src/", | ||
"path_to_db" : "../../database/", | ||
"db_prefix" : "ISSL6U_AOBC", | ||
"tlm_id_range" : ["0x00", "0x100"], | ||
"is_cmd_prefixed_in_db" : 1, | ||
"input_file_encoding" : "utf-8", | ||
"output_file_encoding" : "utf-8", | ||
"is_main_obc" : 0 | ||
} |
Submodule tlm_cmd_generator
added at
f1e73f