From f67bc165bec469527786668972a6871fefe7f524 Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommmy.persson@liu.se> Date: Thu, 7 Oct 2021 17:43:00 +0200 Subject: [PATCH] Work on gimbal. --- src/codegen_json_bson/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen_json_bson/__init__.py b/src/codegen_json_bson/__init__.py index 5299c67..ba02f97 100644 --- a/src/codegen_json_bson/__init__.py +++ b/src/codegen_json_bson/__init__.py @@ -426,7 +426,7 @@ def type_is_complex(ty): "DelLogItem", "StringList", "Team", "VisionDetection", "SearchUnit", "SearchCell", "PathElement", "ResourceInfo", "Interval", "NavigationData", "GeopointHeadingSpeed", "WaypointsInfo", "UpdateGazebo", "ModelState", "LinkState", "PositionHeadingCourseSpeed", - "NsFloat32", "NsString", "Gimbal", "NsGimbal", "NsGimbalCommand"] + "NsFloat32", "NsString", "Gimbal", "NsGimbal", "GimbalCommand", "NsGimbalCommand"] return ty in complex_types def field_assignment_get_json_value(field, ty, fieldtype, name): -- GitLab