-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add StoreTelemetry function for hils test #69
Conversation
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.
小さなコメントなのでapproveします。
@@ -149,3 +149,16 @@ int ObcI2cTargetCommunicationBase::GetStoredFrameCounter() { | |||
if (sim_mode_ != OBC_COM_UART_MODE::HILS) return -1; | |||
return hils_port_manager_->I2cTargetGetStoredFrameCounter(hils_port_id_); | |||
} | |||
|
|||
int ObcI2cTargetCommunicationBase::StoreTelemetry( | |||
const unsigned int stored_frame_num, const unsigned int tlm_size) { |
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.
[NITS] ヘッダと同じような改行のほうが個人的には好みなんですが、そうすると1行あたりが長くなってしまうという感じですか?
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.
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.
@sksat 一行の制約を100文字くらいにするのはやめたほうが良いですかね?
略語無しで行こうという方針なので、結構長い変数名などが多く、文字数制限にすぐひっかかり逆に読みづらく感じることもあるのですが、、、
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.
@seki-hiro フォーマットについては別途議論ということで、こちらは一旦マージしてしまって良いです。
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.
承知しました、マージします。
Overview
Add StoreTelemetry function for I2C HILS test.
Issue
Details
In order to store some frames of telemetry in the USB-I2C target converter in advance, StoreTelemetry function is added.
Validation results
Link to tests or validation results.
Scope of influence
eg. The behavior of XX will be change.
Supplement
This function may be useful for users when they perform I2C HILS test.
Note
priority
label if possible.