fix(ros): fix init device

This commit is contained in:
kalman
2018-12-20 20:45:11 +08:00
parent 09e14293ed
commit 1652d976bf
4 changed files with 52 additions and 34 deletions

View File

@@ -114,6 +114,12 @@ class MYNTEYE_API API {
*/
static std::shared_ptr<API> Create(
int argc, char *argv[], const std::shared_ptr<Device> &device);
/**
* Create the API instance.
* @param device the selected device.
* @return the API instance.
*/
static std::shared_ptr<API> Create(const std::shared_ptr<Device> &device);
/**
* Get the model.