diff --git a/invertedai_cpp/invertedai/data_utils.h b/invertedai_cpp/invertedai/data_utils.h index 2017362..9026891 100644 --- a/invertedai_cpp/invertedai/data_utils.h +++ b/invertedai_cpp/invertedai/data_utils.h @@ -145,7 +145,7 @@ struct TrafficLightState { */ struct LightRecurrentState { float state; - float ticks_remaining; + float time_remaining; }; /** diff --git a/invertedai_cpp/invertedai/drive_request.cc b/invertedai_cpp/invertedai/drive_request.cc index 44fbe2e..a0c4060 100644 --- a/invertedai_cpp/invertedai/drive_request.cc +++ b/invertedai_cpp/invertedai/drive_request.cc @@ -121,7 +121,7 @@ void DriveRequest::refresh_body_json_() { for (const LightRecurrentState &light_recurrent_state : this->light_recurrent_states_.value()) { json element = { light_recurrent_state.state, - light_recurrent_state.ticks_remaining + light_recurrent_state.time_remaining }; this->body_json_["light_recurrent_states"].push_back(element); } diff --git a/invertedai_cpp/invertedai/drive_response.cc b/invertedai_cpp/invertedai/drive_response.cc index 4afe7f4..3544226 100644 --- a/invertedai_cpp/invertedai/drive_response.cc +++ b/invertedai_cpp/invertedai/drive_response.cc @@ -112,7 +112,7 @@ void DriveResponse::refresh_body_json_() { for (const LightRecurrentState &light_recurrent_state : this->light_recurrent_states_.value()) { json element = { light_recurrent_state.state, - light_recurrent_state.ticks_remaining + light_recurrent_state.time_remaining }; this->body_json_["light_recurrent_states"].push_back(element); } diff --git a/invertedai_cpp/invertedai/initialize_response.cc b/invertedai_cpp/invertedai/initialize_response.cc index 9f5fee1..59ef071 100644 --- a/invertedai_cpp/invertedai/initialize_response.cc +++ b/invertedai_cpp/invertedai/initialize_response.cc @@ -114,7 +114,7 @@ void InitializeResponse::refresh_body_json_() { for (const LightRecurrentState &light_recurrent_state : this->light_recurrent_states_.value()) { json element = { light_recurrent_state.state, - light_recurrent_state.ticks_remaining + light_recurrent_state.time_remaining }; this->body_json_["light_recurrent_states"].push_back(element); }