Skip to content

Commit 5df6e9d

Browse files
committed
minimator: Fix json api
1 parent 86db151 commit 5df6e9d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/minimator/src/minimator.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,9 @@ class MinimatorSimulator : public cloe::Simulator {
520520
*/
521521
friend void to_json(cloe::Json& j, const MinimatorSimulator& b) {
522522
j = cloe::Json{
523-
{"connected", b.connected_}, {"operational", b.operational_}, {"running", nullptr},
524-
{"num_vehicles", b.num_vehicles()}, {"vehicles", b.vehicles_},
523+
{"is_connected", b.connected_}, {"is_operational", b.operational_},
524+
{"running", nullptr}, {"num_vehicles", b.num_vehicles()},
525+
{"vehicles", b.vehicles_},
525526
};
526527
}
527528

0 commit comments

Comments
 (0)