File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
AirLib/include/vehicles/multirotor/controllers Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class RealMultirotorConnector : public VehicleConnectorBase
2222
2323 virtual void updateRendering (float dt) override
2424 {
25+ unused (dt);
2526 }
2627
2728 virtual void startApiServer () override
@@ -58,6 +59,17 @@ class RealMultirotorConnector : public VehicleConnectorBase
5859 throw std::logic_error (" getPose() call is only supported for simulation" );
5960 }
6061
62+ virtual bool setSegmentationObjectID (const std::string& mesh_name, int object_id,
63+ bool is_name_regex = false ) override
64+ {
65+ throw std::logic_error (" setSegmentationObjectID() call is only supported for simulation" );
66+ }
67+ virtual int getSegmentationObjectID (const std::string& mesh_name) override
68+ {
69+ throw std::logic_error (" getSegmentationObjectID() call is only supported for simulation" );
70+ }
71+
72+
6173private:
6274 VehicleControllerBase* controller_;
6375};
You can’t perform that action at this time.
0 commit comments