|
|
|
|
|
|
|
|
|
|
|
#ifndef PROTOBUF_InterconnectCyclicMessage_2eproto__INCLUDED
|
|
|
#define PROTOBUF_InterconnectCyclicMessage_2eproto__INCLUDED
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
|
|
|
#if GOOGLE_PROTOBUF_VERSION < 3005000
|
|
|
#error This file was generated by a newer version of protoc which is
|
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
|
#error your headers.
|
|
|
#endif
|
|
|
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
|
|
#error This file was generated by an older version of protoc which is
|
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
|
#error regenerate this file with a newer version of protoc.
|
|
|
#endif
|
|
|
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
|
#include <google/protobuf/arena.h>
|
|
|
#include <google/protobuf/arenastring.h>
|
|
|
#include <google/protobuf/generated_message_table_driven.h>
|
|
|
#include <google/protobuf/generated_message_util.h>
|
|
|
#include <google/protobuf/metadata.h>
|
|
|
#include <google/protobuf/message.h>
|
|
|
#include <google/protobuf/repeated_field.h>
|
|
|
#include <google/protobuf/extension_set.h>
|
|
|
#include <google/protobuf/unknown_field_set.h>
|
|
|
#include "Common.pb.h"
|
|
|
#include "GripperCyclicMessage.pb.h"
|
|
|
|
|
|
|
|
|
namespace protobuf_InterconnectCyclicMessage_2eproto {
|
|
|
|
|
|
struct TableStruct {
|
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
|
static const ::google::protobuf::internal::ParseTable schema[4];
|
|
|
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
|
|
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
|
};
|
|
|
void AddDescriptors();
|
|
|
void InitDefaultsMessageIdImpl();
|
|
|
void InitDefaultsMessageId();
|
|
|
void InitDefaultsCommandImpl();
|
|
|
void InitDefaultsCommand();
|
|
|
void InitDefaultsFeedbackImpl();
|
|
|
void InitDefaultsFeedback();
|
|
|
void InitDefaultsCustomDataImpl();
|
|
|
void InitDefaultsCustomData();
|
|
|
inline void InitDefaults() {
|
|
|
InitDefaultsMessageId();
|
|
|
InitDefaultsCommand();
|
|
|
InitDefaultsFeedback();
|
|
|
InitDefaultsCustomData();
|
|
|
}
|
|
|
}
|
|
|
namespace Kinova {
|
|
|
namespace Api {
|
|
|
namespace InterconnectCyclic {
|
|
|
class Command;
|
|
|
class CommandDefaultTypeInternal;
|
|
|
extern CommandDefaultTypeInternal _Command_default_instance_;
|
|
|
class CustomData;
|
|
|
class CustomDataDefaultTypeInternal;
|
|
|
extern CustomDataDefaultTypeInternal _CustomData_default_instance_;
|
|
|
class Feedback;
|
|
|
class FeedbackDefaultTypeInternal;
|
|
|
extern FeedbackDefaultTypeInternal _Feedback_default_instance_;
|
|
|
class MessageId;
|
|
|
class MessageIdDefaultTypeInternal;
|
|
|
extern MessageIdDefaultTypeInternal _MessageId_default_instance_;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
namespace Kinova {
|
|
|
namespace Api {
|
|
|
namespace InterconnectCyclic {
|
|
|
|
|
|
|
|
|
|
|
|
class MessageId : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
MessageId();
|
|
|
virtual ~MessageId();
|
|
|
|
|
|
MessageId(const MessageId& from);
|
|
|
|
|
|
inline MessageId& operator=(const MessageId& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
MessageId(MessageId&& from) noexcept
|
|
|
: MessageId() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline MessageId& operator=(MessageId&& from) noexcept {
|
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
|
if (this != &from) InternalSwap(&from);
|
|
|
} else {
|
|
|
CopyFrom(from);
|
|
|
}
|
|
|
return *this;
|
|
|
}
|
|
|
#endif
|
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
|
static const MessageId& default_instance();
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const MessageId* internal_default_instance() {
|
|
|
return reinterpret_cast<const MessageId*>(
|
|
|
&_MessageId_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
0;
|
|
|
|
|
|
void Swap(MessageId* other);
|
|
|
friend void swap(MessageId& a, MessageId& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline MessageId* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
MessageId* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
|
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void CopyFrom(const MessageId& from);
|
|
|
void MergeFrom(const MessageId& from);
|
|
|
void Clear() PROTOBUF_FINAL;
|
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
|
bool MergePartialFromCodedStream(
|
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
|
void SerializeWithCachedSizes(
|
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
|
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
|
private:
|
|
|
void SharedCtor();
|
|
|
void SharedDtor();
|
|
|
void SetCachedSize(int size) const PROTOBUF_FINAL;
|
|
|
void InternalSwap(MessageId* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear_identifier();
|
|
|
static const int kIdentifierFieldNumber = 1;
|
|
|
::google::protobuf::uint32 identifier() const;
|
|
|
void set_identifier(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::uint32 identifier_;
|
|
|
mutable int _cached_size_;
|
|
|
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsMessageIdImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class Command : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
Command();
|
|
|
virtual ~Command();
|
|
|
|
|
|
Command(const Command& from);
|
|
|
|
|
|
inline Command& operator=(const Command& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
Command(Command&& from) noexcept
|
|
|
: Command() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline Command& operator=(Command&& from) noexcept {
|
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
|
if (this != &from) InternalSwap(&from);
|
|
|
} else {
|
|
|
CopyFrom(from);
|
|
|
}
|
|
|
return *this;
|
|
|
}
|
|
|
#endif
|
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
|
static const Command& default_instance();
|
|
|
|
|
|
enum ToolCommandCase {
|
|
|
kGripperCommand = 3,
|
|
|
TOOL_COMMAND_NOT_SET = 0,
|
|
|
};
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const Command* internal_default_instance() {
|
|
|
return reinterpret_cast<const Command*>(
|
|
|
&_Command_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
1;
|
|
|
|
|
|
void Swap(Command* other);
|
|
|
friend void swap(Command& a, Command& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline Command* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
Command* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
|
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void CopyFrom(const Command& from);
|
|
|
void MergeFrom(const Command& from);
|
|
|
void Clear() PROTOBUF_FINAL;
|
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
|
bool MergePartialFromCodedStream(
|
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
|
void SerializeWithCachedSizes(
|
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
|
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
|
private:
|
|
|
void SharedCtor();
|
|
|
void SharedDtor();
|
|
|
void SetCachedSize(int size) const PROTOBUF_FINAL;
|
|
|
void InternalSwap(Command* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool has_command_id() const;
|
|
|
void clear_command_id();
|
|
|
static const int kCommandIdFieldNumber = 1;
|
|
|
const ::Kinova::Api::InterconnectCyclic::MessageId& command_id() const;
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* release_command_id();
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* mutable_command_id();
|
|
|
void set_allocated_command_id(::Kinova::Api::InterconnectCyclic::MessageId* command_id);
|
|
|
|
|
|
|
|
|
void clear_flags();
|
|
|
static const int kFlagsFieldNumber = 2;
|
|
|
::google::protobuf::uint32 flags() const;
|
|
|
void set_flags(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
bool has_gripper_command() const;
|
|
|
void clear_gripper_command();
|
|
|
static const int kGripperCommandFieldNumber = 3;
|
|
|
const ::Kinova::Api::GripperCyclic::Command& gripper_command() const;
|
|
|
::Kinova::Api::GripperCyclic::Command* release_gripper_command();
|
|
|
::Kinova::Api::GripperCyclic::Command* mutable_gripper_command();
|
|
|
void set_allocated_gripper_command(::Kinova::Api::GripperCyclic::Command* gripper_command);
|
|
|
|
|
|
ToolCommandCase tool_command_case() const;
|
|
|
|
|
|
private:
|
|
|
void set_has_gripper_command();
|
|
|
|
|
|
inline bool has_tool_command() const;
|
|
|
void clear_tool_command();
|
|
|
inline void clear_has_tool_command();
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* command_id_;
|
|
|
::google::protobuf::uint32 flags_;
|
|
|
union ToolCommandUnion {
|
|
|
ToolCommandUnion() {}
|
|
|
::Kinova::Api::GripperCyclic::Command* gripper_command_;
|
|
|
} tool_command_;
|
|
|
mutable int _cached_size_;
|
|
|
::google::protobuf::uint32 _oneof_case_[1];
|
|
|
|
|
|
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsCommandImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class Feedback : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
Feedback();
|
|
|
virtual ~Feedback();
|
|
|
|
|
|
Feedback(const Feedback& from);
|
|
|
|
|
|
inline Feedback& operator=(const Feedback& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
Feedback(Feedback&& from) noexcept
|
|
|
: Feedback() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline Feedback& operator=(Feedback&& from) noexcept {
|
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
|
if (this != &from) InternalSwap(&from);
|
|
|
} else {
|
|
|
CopyFrom(from);
|
|
|
}
|
|
|
return *this;
|
|
|
}
|
|
|
#endif
|
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
|
static const Feedback& default_instance();
|
|
|
|
|
|
enum ToolFeedbackCase {
|
|
|
kGripperFeedback = 18,
|
|
|
TOOL_FEEDBACK_NOT_SET = 0,
|
|
|
};
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const Feedback* internal_default_instance() {
|
|
|
return reinterpret_cast<const Feedback*>(
|
|
|
&_Feedback_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
2;
|
|
|
|
|
|
void Swap(Feedback* other);
|
|
|
friend void swap(Feedback& a, Feedback& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline Feedback* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
Feedback* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
|
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void CopyFrom(const Feedback& from);
|
|
|
void MergeFrom(const Feedback& from);
|
|
|
void Clear() PROTOBUF_FINAL;
|
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
|
bool MergePartialFromCodedStream(
|
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
|
void SerializeWithCachedSizes(
|
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
|
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
|
private:
|
|
|
void SharedCtor();
|
|
|
void SharedDtor();
|
|
|
void SetCachedSize(int size) const PROTOBUF_FINAL;
|
|
|
void InternalSwap(Feedback* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool has_feedback_id() const;
|
|
|
void clear_feedback_id();
|
|
|
static const int kFeedbackIdFieldNumber = 1;
|
|
|
const ::Kinova::Api::InterconnectCyclic::MessageId& feedback_id() const;
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* release_feedback_id();
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* mutable_feedback_id();
|
|
|
void set_allocated_feedback_id(::Kinova::Api::InterconnectCyclic::MessageId* feedback_id);
|
|
|
|
|
|
|
|
|
void clear_status_flags();
|
|
|
static const int kStatusFlagsFieldNumber = 2;
|
|
|
::google::protobuf::uint32 status_flags() const;
|
|
|
void set_status_flags(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_jitter_comm();
|
|
|
static const int kJitterCommFieldNumber = 3;
|
|
|
::google::protobuf::uint32 jitter_comm() const;
|
|
|
void set_jitter_comm(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_imu_acceleration_x();
|
|
|
static const int kImuAccelerationXFieldNumber = 4;
|
|
|
float imu_acceleration_x() const;
|
|
|
void set_imu_acceleration_x(float value);
|
|
|
|
|
|
|
|
|
void clear_imu_acceleration_y();
|
|
|
static const int kImuAccelerationYFieldNumber = 5;
|
|
|
float imu_acceleration_y() const;
|
|
|
void set_imu_acceleration_y(float value);
|
|
|
|
|
|
|
|
|
void clear_imu_acceleration_z();
|
|
|
static const int kImuAccelerationZFieldNumber = 6;
|
|
|
float imu_acceleration_z() const;
|
|
|
void set_imu_acceleration_z(float value);
|
|
|
|
|
|
|
|
|
void clear_imu_angular_velocity_x();
|
|
|
static const int kImuAngularVelocityXFieldNumber = 7;
|
|
|
float imu_angular_velocity_x() const;
|
|
|
void set_imu_angular_velocity_x(float value);
|
|
|
|
|
|
|
|
|
void clear_imu_angular_velocity_y();
|
|
|
static const int kImuAngularVelocityYFieldNumber = 8;
|
|
|
float imu_angular_velocity_y() const;
|
|
|
void set_imu_angular_velocity_y(float value);
|
|
|
|
|
|
|
|
|
void clear_imu_angular_velocity_z();
|
|
|
static const int kImuAngularVelocityZFieldNumber = 9;
|
|
|
float imu_angular_velocity_z() const;
|
|
|
void set_imu_angular_velocity_z(float value);
|
|
|
|
|
|
|
|
|
void clear_voltage();
|
|
|
static const int kVoltageFieldNumber = 10;
|
|
|
float voltage() const;
|
|
|
void set_voltage(float value);
|
|
|
|
|
|
|
|
|
void clear_temperature_core();
|
|
|
static const int kTemperatureCoreFieldNumber = 11;
|
|
|
float temperature_core() const;
|
|
|
void set_temperature_core(float value);
|
|
|
|
|
|
|
|
|
void clear_fault_bank_a();
|
|
|
static const int kFaultBankAFieldNumber = 12;
|
|
|
::google::protobuf::uint32 fault_bank_a() const;
|
|
|
void set_fault_bank_a(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_fault_bank_b();
|
|
|
static const int kFaultBankBFieldNumber = 13;
|
|
|
::google::protobuf::uint32 fault_bank_b() const;
|
|
|
void set_fault_bank_b(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_warning_bank_a();
|
|
|
static const int kWarningBankAFieldNumber = 14;
|
|
|
::google::protobuf::uint32 warning_bank_a() const;
|
|
|
void set_warning_bank_a(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_warning_bank_b();
|
|
|
static const int kWarningBankBFieldNumber = 15;
|
|
|
::google::protobuf::uint32 warning_bank_b() const;
|
|
|
void set_warning_bank_b(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
bool has_gripper_feedback() const;
|
|
|
void clear_gripper_feedback();
|
|
|
static const int kGripperFeedbackFieldNumber = 18;
|
|
|
const ::Kinova::Api::GripperCyclic::Feedback& gripper_feedback() const;
|
|
|
::Kinova::Api::GripperCyclic::Feedback* release_gripper_feedback();
|
|
|
::Kinova::Api::GripperCyclic::Feedback* mutable_gripper_feedback();
|
|
|
void set_allocated_gripper_feedback(::Kinova::Api::GripperCyclic::Feedback* gripper_feedback);
|
|
|
|
|
|
ToolFeedbackCase tool_feedback_case() const;
|
|
|
|
|
|
private:
|
|
|
void set_has_gripper_feedback();
|
|
|
|
|
|
inline bool has_tool_feedback() const;
|
|
|
void clear_tool_feedback();
|
|
|
inline void clear_has_tool_feedback();
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* feedback_id_;
|
|
|
::google::protobuf::uint32 status_flags_;
|
|
|
::google::protobuf::uint32 jitter_comm_;
|
|
|
float imu_acceleration_x_;
|
|
|
float imu_acceleration_y_;
|
|
|
float imu_acceleration_z_;
|
|
|
float imu_angular_velocity_x_;
|
|
|
float imu_angular_velocity_y_;
|
|
|
float imu_angular_velocity_z_;
|
|
|
float voltage_;
|
|
|
float temperature_core_;
|
|
|
::google::protobuf::uint32 fault_bank_a_;
|
|
|
::google::protobuf::uint32 fault_bank_b_;
|
|
|
::google::protobuf::uint32 warning_bank_a_;
|
|
|
::google::protobuf::uint32 warning_bank_b_;
|
|
|
union ToolFeedbackUnion {
|
|
|
ToolFeedbackUnion() {}
|
|
|
::Kinova::Api::GripperCyclic::Feedback* gripper_feedback_;
|
|
|
} tool_feedback_;
|
|
|
mutable int _cached_size_;
|
|
|
::google::protobuf::uint32 _oneof_case_[1];
|
|
|
|
|
|
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsFeedbackImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
class CustomData : public ::google::protobuf::Message {
|
|
|
public:
|
|
|
CustomData();
|
|
|
virtual ~CustomData();
|
|
|
|
|
|
CustomData(const CustomData& from);
|
|
|
|
|
|
inline CustomData& operator=(const CustomData& from) {
|
|
|
CopyFrom(from);
|
|
|
return *this;
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
CustomData(CustomData&& from) noexcept
|
|
|
: CustomData() {
|
|
|
*this = ::std::move(from);
|
|
|
}
|
|
|
|
|
|
inline CustomData& operator=(CustomData&& from) noexcept {
|
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
|
if (this != &from) InternalSwap(&from);
|
|
|
} else {
|
|
|
CopyFrom(from);
|
|
|
}
|
|
|
return *this;
|
|
|
}
|
|
|
#endif
|
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
|
static const CustomData& default_instance();
|
|
|
|
|
|
enum ToolCustomDataCase {
|
|
|
kGripperCustomData = 18,
|
|
|
TOOL_CUSTOMDATA_NOT_SET = 0,
|
|
|
};
|
|
|
|
|
|
static void InitAsDefaultInstance();
|
|
|
static inline const CustomData* internal_default_instance() {
|
|
|
return reinterpret_cast<const CustomData*>(
|
|
|
&_CustomData_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
3;
|
|
|
|
|
|
void Swap(CustomData* other);
|
|
|
friend void swap(CustomData& a, CustomData& b) {
|
|
|
a.Swap(&b);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline CustomData* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
|
|
CustomData* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
|
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
void CopyFrom(const CustomData& from);
|
|
|
void MergeFrom(const CustomData& from);
|
|
|
void Clear() PROTOBUF_FINAL;
|
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
|
bool MergePartialFromCodedStream(
|
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
|
void SerializeWithCachedSizes(
|
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
|
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
|
private:
|
|
|
void SharedCtor();
|
|
|
void SharedDtor();
|
|
|
void SetCachedSize(int size) const PROTOBUF_FINAL;
|
|
|
void InternalSwap(CustomData* other);
|
|
|
private:
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
return NULL;
|
|
|
}
|
|
|
public:
|
|
|
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool has_custom_data_id() const;
|
|
|
void clear_custom_data_id();
|
|
|
static const int kCustomDataIdFieldNumber = 1;
|
|
|
const ::Kinova::Api::InterconnectCyclic::MessageId& custom_data_id() const;
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* release_custom_data_id();
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* mutable_custom_data_id();
|
|
|
void set_allocated_custom_data_id(::Kinova::Api::InterconnectCyclic::MessageId* custom_data_id);
|
|
|
|
|
|
|
|
|
void clear_custom_data_0();
|
|
|
static const int kCustomData0FieldNumber = 2;
|
|
|
::google::protobuf::uint32 custom_data_0() const;
|
|
|
void set_custom_data_0(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_1();
|
|
|
static const int kCustomData1FieldNumber = 3;
|
|
|
::google::protobuf::uint32 custom_data_1() const;
|
|
|
void set_custom_data_1(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_2();
|
|
|
static const int kCustomData2FieldNumber = 4;
|
|
|
::google::protobuf::uint32 custom_data_2() const;
|
|
|
void set_custom_data_2(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_3();
|
|
|
static const int kCustomData3FieldNumber = 5;
|
|
|
::google::protobuf::uint32 custom_data_3() const;
|
|
|
void set_custom_data_3(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_4();
|
|
|
static const int kCustomData4FieldNumber = 6;
|
|
|
::google::protobuf::uint32 custom_data_4() const;
|
|
|
void set_custom_data_4(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_5();
|
|
|
static const int kCustomData5FieldNumber = 7;
|
|
|
::google::protobuf::uint32 custom_data_5() const;
|
|
|
void set_custom_data_5(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_6();
|
|
|
static const int kCustomData6FieldNumber = 8;
|
|
|
::google::protobuf::uint32 custom_data_6() const;
|
|
|
void set_custom_data_6(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_7();
|
|
|
static const int kCustomData7FieldNumber = 9;
|
|
|
::google::protobuf::uint32 custom_data_7() const;
|
|
|
void set_custom_data_7(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_8();
|
|
|
static const int kCustomData8FieldNumber = 10;
|
|
|
::google::protobuf::uint32 custom_data_8() const;
|
|
|
void set_custom_data_8(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_9();
|
|
|
static const int kCustomData9FieldNumber = 11;
|
|
|
::google::protobuf::uint32 custom_data_9() const;
|
|
|
void set_custom_data_9(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_10();
|
|
|
static const int kCustomData10FieldNumber = 12;
|
|
|
::google::protobuf::uint32 custom_data_10() const;
|
|
|
void set_custom_data_10(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_11();
|
|
|
static const int kCustomData11FieldNumber = 13;
|
|
|
::google::protobuf::uint32 custom_data_11() const;
|
|
|
void set_custom_data_11(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_12();
|
|
|
static const int kCustomData12FieldNumber = 14;
|
|
|
::google::protobuf::uint32 custom_data_12() const;
|
|
|
void set_custom_data_12(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_13();
|
|
|
static const int kCustomData13FieldNumber = 15;
|
|
|
::google::protobuf::uint32 custom_data_13() const;
|
|
|
void set_custom_data_13(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_14();
|
|
|
static const int kCustomData14FieldNumber = 16;
|
|
|
::google::protobuf::uint32 custom_data_14() const;
|
|
|
void set_custom_data_14(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
void clear_custom_data_15();
|
|
|
static const int kCustomData15FieldNumber = 17;
|
|
|
::google::protobuf::uint32 custom_data_15() const;
|
|
|
void set_custom_data_15(::google::protobuf::uint32 value);
|
|
|
|
|
|
|
|
|
bool has_gripper_custom_data() const;
|
|
|
void clear_gripper_custom_data();
|
|
|
static const int kGripperCustomDataFieldNumber = 18;
|
|
|
const ::Kinova::Api::GripperCyclic::CustomData& gripper_custom_data() const;
|
|
|
::Kinova::Api::GripperCyclic::CustomData* release_gripper_custom_data();
|
|
|
::Kinova::Api::GripperCyclic::CustomData* mutable_gripper_custom_data();
|
|
|
void set_allocated_gripper_custom_data(::Kinova::Api::GripperCyclic::CustomData* gripper_custom_data);
|
|
|
|
|
|
ToolCustomDataCase tool_customData_case() const;
|
|
|
|
|
|
private:
|
|
|
void set_has_gripper_custom_data();
|
|
|
|
|
|
inline bool has_tool_customData() const;
|
|
|
void clear_tool_customData();
|
|
|
inline void clear_has_tool_customData();
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* custom_data_id_;
|
|
|
::google::protobuf::uint32 custom_data_0_;
|
|
|
::google::protobuf::uint32 custom_data_1_;
|
|
|
::google::protobuf::uint32 custom_data_2_;
|
|
|
::google::protobuf::uint32 custom_data_3_;
|
|
|
::google::protobuf::uint32 custom_data_4_;
|
|
|
::google::protobuf::uint32 custom_data_5_;
|
|
|
::google::protobuf::uint32 custom_data_6_;
|
|
|
::google::protobuf::uint32 custom_data_7_;
|
|
|
::google::protobuf::uint32 custom_data_8_;
|
|
|
::google::protobuf::uint32 custom_data_9_;
|
|
|
::google::protobuf::uint32 custom_data_10_;
|
|
|
::google::protobuf::uint32 custom_data_11_;
|
|
|
::google::protobuf::uint32 custom_data_12_;
|
|
|
::google::protobuf::uint32 custom_data_13_;
|
|
|
::google::protobuf::uint32 custom_data_14_;
|
|
|
::google::protobuf::uint32 custom_data_15_;
|
|
|
union ToolCustomDataUnion {
|
|
|
ToolCustomDataUnion() {}
|
|
|
::Kinova::Api::GripperCyclic::CustomData* gripper_custom_data_;
|
|
|
} tool_customData_;
|
|
|
mutable int _cached_size_;
|
|
|
::google::protobuf::uint32 _oneof_case_[1];
|
|
|
|
|
|
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsCustomDataImpl();
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
#pragma GCC diagnostic push
|
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
inline void MessageId::clear_identifier() {
|
|
|
identifier_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 MessageId::identifier() const {
|
|
|
|
|
|
return identifier_;
|
|
|
}
|
|
|
inline void MessageId::set_identifier(::google::protobuf::uint32 value) {
|
|
|
|
|
|
identifier_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline bool Command::has_command_id() const {
|
|
|
return this != internal_default_instance() && command_id_ != NULL;
|
|
|
}
|
|
|
inline void Command::clear_command_id() {
|
|
|
if (GetArenaNoVirtual() == NULL && command_id_ != NULL) {
|
|
|
delete command_id_;
|
|
|
}
|
|
|
command_id_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::InterconnectCyclic::MessageId& Command::command_id() const {
|
|
|
const ::Kinova::Api::InterconnectCyclic::MessageId* p = command_id_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::InterconnectCyclic::MessageId*>(
|
|
|
&::Kinova::Api::InterconnectCyclic::_MessageId_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::InterconnectCyclic::MessageId* Command::release_command_id() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* temp = command_id_;
|
|
|
command_id_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::InterconnectCyclic::MessageId* Command::mutable_command_id() {
|
|
|
|
|
|
if (command_id_ == NULL) {
|
|
|
command_id_ = new ::Kinova::Api::InterconnectCyclic::MessageId;
|
|
|
}
|
|
|
|
|
|
return command_id_;
|
|
|
}
|
|
|
inline void Command::set_allocated_command_id(::Kinova::Api::InterconnectCyclic::MessageId* command_id) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete command_id_;
|
|
|
}
|
|
|
if (command_id) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
command_id = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, command_id, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
command_id_ = command_id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Command::clear_flags() {
|
|
|
flags_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Command::flags() const {
|
|
|
|
|
|
return flags_;
|
|
|
}
|
|
|
inline void Command::set_flags(::google::protobuf::uint32 value) {
|
|
|
|
|
|
flags_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline bool Command::has_gripper_command() const {
|
|
|
return tool_command_case() == kGripperCommand;
|
|
|
}
|
|
|
inline void Command::set_has_gripper_command() {
|
|
|
_oneof_case_[0] = kGripperCommand;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::Command* Command::release_gripper_command() {
|
|
|
|
|
|
if (has_gripper_command()) {
|
|
|
clear_has_tool_command();
|
|
|
::Kinova::Api::GripperCyclic::Command* temp = tool_command_.gripper_command_;
|
|
|
tool_command_.gripper_command_ = NULL;
|
|
|
return temp;
|
|
|
} else {
|
|
|
return NULL;
|
|
|
}
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::Command& Command::gripper_command() const {
|
|
|
|
|
|
return has_gripper_command()
|
|
|
? *tool_command_.gripper_command_
|
|
|
: *reinterpret_cast< ::Kinova::Api::GripperCyclic::Command*>(&::Kinova::Api::GripperCyclic::_Command_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::Command* Command::mutable_gripper_command() {
|
|
|
if (!has_gripper_command()) {
|
|
|
clear_tool_command();
|
|
|
set_has_gripper_command();
|
|
|
tool_command_.gripper_command_ = new ::Kinova::Api::GripperCyclic::Command;
|
|
|
}
|
|
|
|
|
|
return tool_command_.gripper_command_;
|
|
|
}
|
|
|
|
|
|
inline bool Command::has_tool_command() const {
|
|
|
return tool_command_case() != TOOL_COMMAND_NOT_SET;
|
|
|
}
|
|
|
inline void Command::clear_has_tool_command() {
|
|
|
_oneof_case_[0] = TOOL_COMMAND_NOT_SET;
|
|
|
}
|
|
|
inline Command::ToolCommandCase Command::tool_command_case() const {
|
|
|
return Command::ToolCommandCase(_oneof_case_[0]);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline bool Feedback::has_feedback_id() const {
|
|
|
return this != internal_default_instance() && feedback_id_ != NULL;
|
|
|
}
|
|
|
inline void Feedback::clear_feedback_id() {
|
|
|
if (GetArenaNoVirtual() == NULL && feedback_id_ != NULL) {
|
|
|
delete feedback_id_;
|
|
|
}
|
|
|
feedback_id_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::InterconnectCyclic::MessageId& Feedback::feedback_id() const {
|
|
|
const ::Kinova::Api::InterconnectCyclic::MessageId* p = feedback_id_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::InterconnectCyclic::MessageId*>(
|
|
|
&::Kinova::Api::InterconnectCyclic::_MessageId_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::InterconnectCyclic::MessageId* Feedback::release_feedback_id() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* temp = feedback_id_;
|
|
|
feedback_id_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::InterconnectCyclic::MessageId* Feedback::mutable_feedback_id() {
|
|
|
|
|
|
if (feedback_id_ == NULL) {
|
|
|
feedback_id_ = new ::Kinova::Api::InterconnectCyclic::MessageId;
|
|
|
}
|
|
|
|
|
|
return feedback_id_;
|
|
|
}
|
|
|
inline void Feedback::set_allocated_feedback_id(::Kinova::Api::InterconnectCyclic::MessageId* feedback_id) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete feedback_id_;
|
|
|
}
|
|
|
if (feedback_id) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
feedback_id = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, feedback_id, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
feedback_id_ = feedback_id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_status_flags() {
|
|
|
status_flags_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::status_flags() const {
|
|
|
|
|
|
return status_flags_;
|
|
|
}
|
|
|
inline void Feedback::set_status_flags(::google::protobuf::uint32 value) {
|
|
|
|
|
|
status_flags_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_jitter_comm() {
|
|
|
jitter_comm_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::jitter_comm() const {
|
|
|
|
|
|
return jitter_comm_;
|
|
|
}
|
|
|
inline void Feedback::set_jitter_comm(::google::protobuf::uint32 value) {
|
|
|
|
|
|
jitter_comm_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_imu_acceleration_x() {
|
|
|
imu_acceleration_x_ = 0;
|
|
|
}
|
|
|
inline float Feedback::imu_acceleration_x() const {
|
|
|
|
|
|
return imu_acceleration_x_;
|
|
|
}
|
|
|
inline void Feedback::set_imu_acceleration_x(float value) {
|
|
|
|
|
|
imu_acceleration_x_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_imu_acceleration_y() {
|
|
|
imu_acceleration_y_ = 0;
|
|
|
}
|
|
|
inline float Feedback::imu_acceleration_y() const {
|
|
|
|
|
|
return imu_acceleration_y_;
|
|
|
}
|
|
|
inline void Feedback::set_imu_acceleration_y(float value) {
|
|
|
|
|
|
imu_acceleration_y_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_imu_acceleration_z() {
|
|
|
imu_acceleration_z_ = 0;
|
|
|
}
|
|
|
inline float Feedback::imu_acceleration_z() const {
|
|
|
|
|
|
return imu_acceleration_z_;
|
|
|
}
|
|
|
inline void Feedback::set_imu_acceleration_z(float value) {
|
|
|
|
|
|
imu_acceleration_z_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_imu_angular_velocity_x() {
|
|
|
imu_angular_velocity_x_ = 0;
|
|
|
}
|
|
|
inline float Feedback::imu_angular_velocity_x() const {
|
|
|
|
|
|
return imu_angular_velocity_x_;
|
|
|
}
|
|
|
inline void Feedback::set_imu_angular_velocity_x(float value) {
|
|
|
|
|
|
imu_angular_velocity_x_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_imu_angular_velocity_y() {
|
|
|
imu_angular_velocity_y_ = 0;
|
|
|
}
|
|
|
inline float Feedback::imu_angular_velocity_y() const {
|
|
|
|
|
|
return imu_angular_velocity_y_;
|
|
|
}
|
|
|
inline void Feedback::set_imu_angular_velocity_y(float value) {
|
|
|
|
|
|
imu_angular_velocity_y_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_imu_angular_velocity_z() {
|
|
|
imu_angular_velocity_z_ = 0;
|
|
|
}
|
|
|
inline float Feedback::imu_angular_velocity_z() const {
|
|
|
|
|
|
return imu_angular_velocity_z_;
|
|
|
}
|
|
|
inline void Feedback::set_imu_angular_velocity_z(float value) {
|
|
|
|
|
|
imu_angular_velocity_z_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_voltage() {
|
|
|
voltage_ = 0;
|
|
|
}
|
|
|
inline float Feedback::voltage() const {
|
|
|
|
|
|
return voltage_;
|
|
|
}
|
|
|
inline void Feedback::set_voltage(float value) {
|
|
|
|
|
|
voltage_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_temperature_core() {
|
|
|
temperature_core_ = 0;
|
|
|
}
|
|
|
inline float Feedback::temperature_core() const {
|
|
|
|
|
|
return temperature_core_;
|
|
|
}
|
|
|
inline void Feedback::set_temperature_core(float value) {
|
|
|
|
|
|
temperature_core_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_fault_bank_a() {
|
|
|
fault_bank_a_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::fault_bank_a() const {
|
|
|
|
|
|
return fault_bank_a_;
|
|
|
}
|
|
|
inline void Feedback::set_fault_bank_a(::google::protobuf::uint32 value) {
|
|
|
|
|
|
fault_bank_a_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_fault_bank_b() {
|
|
|
fault_bank_b_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::fault_bank_b() const {
|
|
|
|
|
|
return fault_bank_b_;
|
|
|
}
|
|
|
inline void Feedback::set_fault_bank_b(::google::protobuf::uint32 value) {
|
|
|
|
|
|
fault_bank_b_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_warning_bank_a() {
|
|
|
warning_bank_a_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::warning_bank_a() const {
|
|
|
|
|
|
return warning_bank_a_;
|
|
|
}
|
|
|
inline void Feedback::set_warning_bank_a(::google::protobuf::uint32 value) {
|
|
|
|
|
|
warning_bank_a_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void Feedback::clear_warning_bank_b() {
|
|
|
warning_bank_b_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 Feedback::warning_bank_b() const {
|
|
|
|
|
|
return warning_bank_b_;
|
|
|
}
|
|
|
inline void Feedback::set_warning_bank_b(::google::protobuf::uint32 value) {
|
|
|
|
|
|
warning_bank_b_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline bool Feedback::has_gripper_feedback() const {
|
|
|
return tool_feedback_case() == kGripperFeedback;
|
|
|
}
|
|
|
inline void Feedback::set_has_gripper_feedback() {
|
|
|
_oneof_case_[0] = kGripperFeedback;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::Feedback* Feedback::release_gripper_feedback() {
|
|
|
|
|
|
if (has_gripper_feedback()) {
|
|
|
clear_has_tool_feedback();
|
|
|
::Kinova::Api::GripperCyclic::Feedback* temp = tool_feedback_.gripper_feedback_;
|
|
|
tool_feedback_.gripper_feedback_ = NULL;
|
|
|
return temp;
|
|
|
} else {
|
|
|
return NULL;
|
|
|
}
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::Feedback& Feedback::gripper_feedback() const {
|
|
|
|
|
|
return has_gripper_feedback()
|
|
|
? *tool_feedback_.gripper_feedback_
|
|
|
: *reinterpret_cast< ::Kinova::Api::GripperCyclic::Feedback*>(&::Kinova::Api::GripperCyclic::_Feedback_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::Feedback* Feedback::mutable_gripper_feedback() {
|
|
|
if (!has_gripper_feedback()) {
|
|
|
clear_tool_feedback();
|
|
|
set_has_gripper_feedback();
|
|
|
tool_feedback_.gripper_feedback_ = new ::Kinova::Api::GripperCyclic::Feedback;
|
|
|
}
|
|
|
|
|
|
return tool_feedback_.gripper_feedback_;
|
|
|
}
|
|
|
|
|
|
inline bool Feedback::has_tool_feedback() const {
|
|
|
return tool_feedback_case() != TOOL_FEEDBACK_NOT_SET;
|
|
|
}
|
|
|
inline void Feedback::clear_has_tool_feedback() {
|
|
|
_oneof_case_[0] = TOOL_FEEDBACK_NOT_SET;
|
|
|
}
|
|
|
inline Feedback::ToolFeedbackCase Feedback::tool_feedback_case() const {
|
|
|
return Feedback::ToolFeedbackCase(_oneof_case_[0]);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline bool CustomData::has_custom_data_id() const {
|
|
|
return this != internal_default_instance() && custom_data_id_ != NULL;
|
|
|
}
|
|
|
inline void CustomData::clear_custom_data_id() {
|
|
|
if (GetArenaNoVirtual() == NULL && custom_data_id_ != NULL) {
|
|
|
delete custom_data_id_;
|
|
|
}
|
|
|
custom_data_id_ = NULL;
|
|
|
}
|
|
|
inline const ::Kinova::Api::InterconnectCyclic::MessageId& CustomData::custom_data_id() const {
|
|
|
const ::Kinova::Api::InterconnectCyclic::MessageId* p = custom_data_id_;
|
|
|
|
|
|
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::InterconnectCyclic::MessageId*>(
|
|
|
&::Kinova::Api::InterconnectCyclic::_MessageId_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::InterconnectCyclic::MessageId* CustomData::release_custom_data_id() {
|
|
|
|
|
|
|
|
|
::Kinova::Api::InterconnectCyclic::MessageId* temp = custom_data_id_;
|
|
|
custom_data_id_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
inline ::Kinova::Api::InterconnectCyclic::MessageId* CustomData::mutable_custom_data_id() {
|
|
|
|
|
|
if (custom_data_id_ == NULL) {
|
|
|
custom_data_id_ = new ::Kinova::Api::InterconnectCyclic::MessageId;
|
|
|
}
|
|
|
|
|
|
return custom_data_id_;
|
|
|
}
|
|
|
inline void CustomData::set_allocated_custom_data_id(::Kinova::Api::InterconnectCyclic::MessageId* custom_data_id) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
delete custom_data_id_;
|
|
|
}
|
|
|
if (custom_data_id) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
custom_data_id = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
message_arena, custom_data_id, submessage_arena);
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
custom_data_id_ = custom_data_id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_0() {
|
|
|
custom_data_0_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_0() const {
|
|
|
|
|
|
return custom_data_0_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_0(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_0_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_1() {
|
|
|
custom_data_1_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_1() const {
|
|
|
|
|
|
return custom_data_1_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_1(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_1_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_2() {
|
|
|
custom_data_2_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_2() const {
|
|
|
|
|
|
return custom_data_2_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_2(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_2_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_3() {
|
|
|
custom_data_3_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_3() const {
|
|
|
|
|
|
return custom_data_3_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_3(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_3_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_4() {
|
|
|
custom_data_4_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_4() const {
|
|
|
|
|
|
return custom_data_4_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_4(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_4_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_5() {
|
|
|
custom_data_5_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_5() const {
|
|
|
|
|
|
return custom_data_5_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_5(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_5_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_6() {
|
|
|
custom_data_6_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_6() const {
|
|
|
|
|
|
return custom_data_6_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_6(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_6_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_7() {
|
|
|
custom_data_7_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_7() const {
|
|
|
|
|
|
return custom_data_7_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_7(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_7_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_8() {
|
|
|
custom_data_8_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_8() const {
|
|
|
|
|
|
return custom_data_8_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_8(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_8_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_9() {
|
|
|
custom_data_9_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_9() const {
|
|
|
|
|
|
return custom_data_9_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_9(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_9_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_10() {
|
|
|
custom_data_10_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_10() const {
|
|
|
|
|
|
return custom_data_10_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_10(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_10_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_11() {
|
|
|
custom_data_11_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_11() const {
|
|
|
|
|
|
return custom_data_11_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_11(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_11_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_12() {
|
|
|
custom_data_12_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_12() const {
|
|
|
|
|
|
return custom_data_12_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_12(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_12_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_13() {
|
|
|
custom_data_13_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_13() const {
|
|
|
|
|
|
return custom_data_13_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_13(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_13_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_14() {
|
|
|
custom_data_14_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_14() const {
|
|
|
|
|
|
return custom_data_14_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_14(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_14_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline void CustomData::clear_custom_data_15() {
|
|
|
custom_data_15_ = 0u;
|
|
|
}
|
|
|
inline ::google::protobuf::uint32 CustomData::custom_data_15() const {
|
|
|
|
|
|
return custom_data_15_;
|
|
|
}
|
|
|
inline void CustomData::set_custom_data_15(::google::protobuf::uint32 value) {
|
|
|
|
|
|
custom_data_15_ = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
inline bool CustomData::has_gripper_custom_data() const {
|
|
|
return tool_customData_case() == kGripperCustomData;
|
|
|
}
|
|
|
inline void CustomData::set_has_gripper_custom_data() {
|
|
|
_oneof_case_[0] = kGripperCustomData;
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::CustomData* CustomData::release_gripper_custom_data() {
|
|
|
|
|
|
if (has_gripper_custom_data()) {
|
|
|
clear_has_tool_customData();
|
|
|
::Kinova::Api::GripperCyclic::CustomData* temp = tool_customData_.gripper_custom_data_;
|
|
|
tool_customData_.gripper_custom_data_ = NULL;
|
|
|
return temp;
|
|
|
} else {
|
|
|
return NULL;
|
|
|
}
|
|
|
}
|
|
|
inline const ::Kinova::Api::GripperCyclic::CustomData& CustomData::gripper_custom_data() const {
|
|
|
|
|
|
return has_gripper_custom_data()
|
|
|
? *tool_customData_.gripper_custom_data_
|
|
|
: *reinterpret_cast< ::Kinova::Api::GripperCyclic::CustomData*>(&::Kinova::Api::GripperCyclic::_CustomData_default_instance_);
|
|
|
}
|
|
|
inline ::Kinova::Api::GripperCyclic::CustomData* CustomData::mutable_gripper_custom_data() {
|
|
|
if (!has_gripper_custom_data()) {
|
|
|
clear_tool_customData();
|
|
|
set_has_gripper_custom_data();
|
|
|
tool_customData_.gripper_custom_data_ = new ::Kinova::Api::GripperCyclic::CustomData;
|
|
|
}
|
|
|
|
|
|
return tool_customData_.gripper_custom_data_;
|
|
|
}
|
|
|
|
|
|
inline bool CustomData::has_tool_customData() const {
|
|
|
return tool_customData_case() != TOOL_CUSTOMDATA_NOT_SET;
|
|
|
}
|
|
|
inline void CustomData::clear_has_tool_customData() {
|
|
|
_oneof_case_[0] = TOOL_CUSTOMDATA_NOT_SET;
|
|
|
}
|
|
|
inline CustomData::ToolCustomDataCase CustomData::tool_customData_case() const {
|
|
|
return CustomData::ToolCustomDataCase(_oneof_case_[0]);
|
|
|
}
|
|
|
#ifdef __GNUC__
|
|
|
#pragma GCC diagnostic pop
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|