Skip to content

Commit c85eb43

Browse files
committed
Fix for issue #573
1 parent 8c209b8 commit c85eb43

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

AirLib/include/vehicles/multirotor/controllers/RealMultirotorConnector.hpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
6173
private:
6274
VehicleControllerBase* controller_;
6375
};

0 commit comments

Comments
 (0)