mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
Fix by Boggyver - Add Traffic Convention data to input buffer (#1405)
Credit goes to Boggyver for finding this. old-commit-hash: a120adaeccd8900995c0d9227e9354d0b176c615
This commit is contained in:
@@ -102,6 +102,9 @@ void TFModel::execute(float *net_input_buf, int buf_size) {
|
||||
if (rnn_input_buf != NULL) {
|
||||
pwrite(rnn_input_buf, rnn_state_size);
|
||||
}
|
||||
if (traffic_convention_input_buf != NULL) {
|
||||
pwrite(traffic_convention_input_buf, traffic_convention_size);
|
||||
}
|
||||
pread(output, output_size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user