Rename gear to reverse
This commit is contained in:
parent
cb79adca4c
commit
4beab3f54c
|
@ -48,7 +48,7 @@ namespace carla {
|
|||
float gas;
|
||||
float brake;
|
||||
bool hand_brake;
|
||||
bool gear;
|
||||
bool reverse;
|
||||
};
|
||||
|
||||
struct Reward_Values {
|
||||
|
|
|
@ -191,9 +191,9 @@ int main(int argc, char *argv[]) {
|
|||
std::cerr << "ERROR while reading Control" << std::endl;
|
||||
break;
|
||||
} else if (readed) {
|
||||
std::cout << "CONTROL --> gas: " << control.gas << " steer: " << control.steer <<
|
||||
" brake: " << control.brake << " hand_brake: " << control.hand_brake << " gear: " << control.gear << std::endl;
|
||||
}
|
||||
std::cout << "CONTROL --> gas: " << control.gas << " steer: " << control.steer <<
|
||||
" brake: " << control.brake << " hand_brake: " << (control.hand_brake ? "true" : "false") << " reverse: " << (control.reverse ? "true" : "false") << std::endl;
|
||||
}
|
||||
|
||||
if (!server.sendReward(makeReward().release())) {
|
||||
std::cerr << "ERROR while sending Reward" << std::endl;
|
||||
|
|
Loading…
Reference in New Issue