The "Objects" tab is not appear
Answeredhi, I have a weird problem issue..., I develop my plugin used metasdk with verson 31274, if I enable the plugin the "Objects" tab will disappear, but if I install the sample plugin together with my plugin, the tab will be working fine, what cause this happen?
thanks for your help...any suggestions would helpful


-
Hello Scott,
Have you declared object types in your Engine or DeviceAgent manifest, similar to this?
"objectTypes": [
{
"id": ")json" + kHelloWorldObjectType + R"json(",
"name": "Hello, World!"
}
]See sample_analytics_plugin of stub_analytics_plugin for more details.
0 -
Hi Andrey, thanks for your reply, I declared that in Engine manifest, here is my content of manifest:
{
"objectTypes":[
{
"id": ")json" + objectType_car + R"json(",
"name": "Car"
},
{
"id": ")json" + objectType_bike + R"json(",
"name": "Bike"
},
{
"id": ")json" + objectType_person + R"json(",
"name": "Person"
}
],
"capabilities": "needUncompressedVideoFrames_bgr",
"deviceAgentSettingsModel": {
"type": "Settings",
"items": [
{
"type": "TextField",
"name": ")json" + kUserId + R"json(",
"caption": "User ID",
"defaultValue": ""
},
{
"type": "TextField",
"name": ")json" + kPassword + R"json(",
"caption": "Password",
"defaultValue": ""
},
{
"type": "TextField",
"name": ")json" + kIP + R"json(",
"caption": "Server address",
"defaultValue": ""
},
{
"type": "TextField",
"name": ")json" + kPort + R"json(",
"caption": "Server port",
"defaultValue": "80"
},
{
"type": "TextField",
"name": ")json" + kCameraId + R"json(",
"caption": "Camera ID",
"defaultValue": ""
},
{
"type": "TextField",
"name": ")json" + kReconnectCounter + R"json(",
"caption": "Reconnect",
"defaultValue": "3"
}
]
}
}
)json";Is it correct?
thank you
0 -
Hi,
I build your manifest into sample plugin. It seems working
0
Please sign in to leave a comment.
Comments
3 comments