Flexiv AIDK APIs  1.2
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
defs.hpp File Reference

declaration of common constants and function More...

#include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <thread>
#include <unordered_map>
#include <vector>
Include dependency graph for defs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flexiv::ai::ObjMetaData
 
struct  flexiv::ai::ObjState
 
struct  flexiv::ai::Result
 
struct  flexiv::ai::AIStatus
 
struct  flexiv::ai::Response
 
struct  flexiv::ai::static_max< arg1, others >
 
struct  flexiv::ai::static_max< arg >
 
struct  flexiv::ai::static_max< arg1, arg2, others... >
 
struct  flexiv::ai::variant_helper< Ts >
 
struct  flexiv::ai::variant_helper< F, Ts... >
 
struct  flexiv::ai::variant_helper<>
 
struct  flexiv::ai::variant< Ts >
 

Namespaces

 flexiv
 
 flexiv::ai
 

Typedefs

using flexiv::ai::value_variant = variant< int, double, float, bool, std::string >
 

Enumerations

enum  flexiv::ai::AIState {
  flexiv::ai::UNKNOWN = 0, flexiv::ai::ERROR, flexiv::ai::IDLE, flexiv::ai::POS3D,
  flexiv::ai::POSE6D, flexiv::ai::GRASP_POSE, flexiv::ai::KEYPOINT, flexiv::ai::BBOX,
  flexiv::ai::MULTIVIEW, flexiv::ai::CLASSIFY, flexiv::ai::SCENE, flexiv::ai::GET_INT_VALUE,
  flexiv::ai::GET_DOUBLE_VALUE, flexiv::ai::KEYPOINT3D, flexiv::ai::CUSTOM, flexiv::ai::FIRST = UNKNOWN,
  flexiv::ai::LAST = CUSTOM, flexiv::ai::NUM = LAST - FIRST + 1
}
 

Functions

std::vector< std::vector< double > > flexiv::ai::meta_to_vector (const ObjMetaData &obj, const std::string &key)
 
std::string flexiv::ai::calculate_string_md5 (const std::string &input)
 

Variables

std::vector< std::string > flexiv::ai::PROTO_DATA
 
std::vector< std::string > flexiv::ai::SINGLE_DATA
 
std::unordered_map< std::string, std::string > flexiv::ai::MAPPING
 
std::vector< std::string > flexiv::ai::SUPPORTED_KEYS
 
std::unordered_map< std::string, int > flexiv::ai::AI_CMD
 
std::unordered_map< std::string, std::string > flexiv::ai::ALIAS
 

Detailed Description

declaration of common constants and function

Author
Junfeng Ding (junfe.nosp@m.ng.d.nosp@m.ing@f.nosp@m.lexi.nosp@m.v.com)