aggiornati pacchetti universal_robot e universal_robots_ros_driver
This commit is contained in:
@@ -25,10 +25,12 @@ struct Analog_
|
||||
|
||||
Analog_()
|
||||
: pin(0)
|
||||
, domain(0)
|
||||
, state(0.0) {
|
||||
}
|
||||
Analog_(const ContainerAllocator& _alloc)
|
||||
: pin(0)
|
||||
, domain(0)
|
||||
, state(0.0) {
|
||||
(void)_alloc;
|
||||
}
|
||||
@@ -38,11 +40,18 @@ struct Analog_
|
||||
typedef uint8_t _pin_type;
|
||||
_pin_type pin;
|
||||
|
||||
typedef uint8_t _domain_type;
|
||||
_domain_type domain;
|
||||
|
||||
typedef float _state_type;
|
||||
_state_type state;
|
||||
|
||||
|
||||
|
||||
enum {
|
||||
VOLTAGE = 0u,
|
||||
CURRENT = 1u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::ur_msgs::Analog_<ContainerAllocator> > Ptr;
|
||||
@@ -57,6 +66,10 @@ typedef boost::shared_ptr< ::ur_msgs::Analog const> AnalogConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template<typename ContainerAllocator>
|
||||
@@ -119,12 +132,12 @@ struct MD5Sum< ::ur_msgs::Analog_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "341541c8828d055b6dcc443d40207a7d";
|
||||
return "f41c08a810adf63713aec88712cd553d";
|
||||
}
|
||||
|
||||
static const char* value(const ::ur_msgs::Analog_<ContainerAllocator>&) { return value(); }
|
||||
static const uint64_t static_value1 = 0x341541c8828d055bULL;
|
||||
static const uint64_t static_value2 = 0x6dcc443d40207a7dULL;
|
||||
static const uint64_t static_value1 = 0xf41c08a810adf637ULL;
|
||||
static const uint64_t static_value2 = 0x13aec88712cd553dULL;
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
@@ -143,7 +156,11 @@ struct Definition< ::ur_msgs::Analog_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "uint8 pin\n\
|
||||
return "uint8 VOLTAGE=0\n\
|
||||
uint8 CURRENT=1\n\
|
||||
\n\
|
||||
uint8 pin\n\
|
||||
uint8 domain # can be VOLTAGE or CURRENT\n\
|
||||
float32 state\n\
|
||||
";
|
||||
}
|
||||
@@ -164,6 +181,7 @@ namespace serialization
|
||||
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
|
||||
{
|
||||
stream.next(m.pin);
|
||||
stream.next(m.domain);
|
||||
stream.next(m.state);
|
||||
}
|
||||
|
||||
@@ -185,6 +203,8 @@ struct Printer< ::ur_msgs::Analog_<ContainerAllocator> >
|
||||
{
|
||||
s << indent << "pin: ";
|
||||
Printer<uint8_t>::stream(s, indent + " ", v.pin);
|
||||
s << indent << "domain: ";
|
||||
Printer<uint8_t>::stream(s, indent + " ", v.domain);
|
||||
s << indent << "state: ";
|
||||
Printer<float>::stream(s, indent + " ", v.state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user