aggiornati pacchetti universal_robot e universal_robots_ros_driver

This commit is contained in:
2019-10-21 15:14:00 +02:00
parent 2d65d12940
commit bfe1ee9985
29 changed files with 1390 additions and 66 deletions

View File

@@ -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);
}

View File

@@ -139,12 +139,12 @@ struct MD5Sum< ::ur_msgs::IOStates_<ContainerAllocator> >
{
static const char* value()
{
return "0a5c7b73e3189e9a2caf8583d1bae2e2";
return "3033784e7041da89491b97cc4c1105b5";
}
static const char* value(const ::ur_msgs::IOStates_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x0a5c7b73e3189e9aULL;
static const uint64_t static_value2 = 0x2caf8583d1bae2e2ULL;
static const uint64_t static_value1 = 0x3033784e7041da89ULL;
static const uint64_t static_value2 = 0x491b97cc4c1105b5ULL;
};
template<class ContainerAllocator>
@@ -176,7 +176,11 @@ bool state\n\
\n\
================================================================================\n\
MSG: ur_msgs/Analog\n\
uint8 VOLTAGE=0\n\
uint8 CURRENT=1\n\
\n\
uint8 pin\n\
uint8 domain # can be VOLTAGE or CURRENT\n\
float32 state\n\
";
}

View File

@@ -0,0 +1,123 @@
// Generated by gencpp from file ur_msgs/SetSpeedSliderFraction.msg
// DO NOT EDIT!
#ifndef UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTION_H
#define UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTION_H
#include <ros/service_traits.h>
#include <ur_msgs/SetSpeedSliderFractionRequest.h>
#include <ur_msgs/SetSpeedSliderFractionResponse.h>
namespace ur_msgs
{
struct SetSpeedSliderFraction
{
typedef SetSpeedSliderFractionRequest Request;
typedef SetSpeedSliderFractionResponse Response;
Request request;
Response response;
typedef Request RequestType;
typedef Response ResponseType;
}; // struct SetSpeedSliderFraction
} // namespace ur_msgs
namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum< ::ur_msgs::SetSpeedSliderFraction > {
static const char* value()
{
return "172aeb6c49379a44cf68480fa5bfad3c";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFraction&) { return value(); }
};
template<>
struct DataType< ::ur_msgs::SetSpeedSliderFraction > {
static const char* value()
{
return "ur_msgs/SetSpeedSliderFraction";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFraction&) { return value(); }
};
// service_traits::MD5Sum< ::ur_msgs::SetSpeedSliderFractionRequest> should match
// service_traits::MD5Sum< ::ur_msgs::SetSpeedSliderFraction >
template<>
struct MD5Sum< ::ur_msgs::SetSpeedSliderFractionRequest>
{
static const char* value()
{
return MD5Sum< ::ur_msgs::SetSpeedSliderFraction >::value();
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionRequest&)
{
return value();
}
};
// service_traits::DataType< ::ur_msgs::SetSpeedSliderFractionRequest> should match
// service_traits::DataType< ::ur_msgs::SetSpeedSliderFraction >
template<>
struct DataType< ::ur_msgs::SetSpeedSliderFractionRequest>
{
static const char* value()
{
return DataType< ::ur_msgs::SetSpeedSliderFraction >::value();
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionRequest&)
{
return value();
}
};
// service_traits::MD5Sum< ::ur_msgs::SetSpeedSliderFractionResponse> should match
// service_traits::MD5Sum< ::ur_msgs::SetSpeedSliderFraction >
template<>
struct MD5Sum< ::ur_msgs::SetSpeedSliderFractionResponse>
{
static const char* value()
{
return MD5Sum< ::ur_msgs::SetSpeedSliderFraction >::value();
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionResponse&)
{
return value();
}
};
// service_traits::DataType< ::ur_msgs::SetSpeedSliderFractionResponse> should match
// service_traits::DataType< ::ur_msgs::SetSpeedSliderFraction >
template<>
struct DataType< ::ur_msgs::SetSpeedSliderFractionResponse>
{
static const char* value()
{
return DataType< ::ur_msgs::SetSpeedSliderFraction >::value();
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionResponse&)
{
return value();
}
};
} // namespace service_traits
} // namespace ros
#endif // UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTION_H

View File

@@ -0,0 +1,192 @@
// Generated by gencpp from file ur_msgs/SetSpeedSliderFractionRequest.msg
// DO NOT EDIT!
#ifndef UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTIONREQUEST_H
#define UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTIONREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace ur_msgs
{
template <class ContainerAllocator>
struct SetSpeedSliderFractionRequest_
{
typedef SetSpeedSliderFractionRequest_<ContainerAllocator> Type;
SetSpeedSliderFractionRequest_()
: speed_slider_fraction(0.0) {
}
SetSpeedSliderFractionRequest_(const ContainerAllocator& _alloc)
: speed_slider_fraction(0.0) {
(void)_alloc;
}
typedef double _speed_slider_fraction_type;
_speed_slider_fraction_type speed_slider_fraction;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> const> ConstPtr;
}; // struct SetSpeedSliderFractionRequest_
typedef ::ur_msgs::SetSpeedSliderFractionRequest_<std::allocator<void> > SetSpeedSliderFractionRequest;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionRequest > SetSpeedSliderFractionRequestPtr;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionRequest const> SetSpeedSliderFractionRequestConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace ur_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'ur_msgs': ['/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_msgs/msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
{
static const char* value()
{
return "64134244ab4dfc72a3406fe06d580274";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x64134244ab4dfc72ULL;
static const uint64_t static_value2 = 0xa3406fe06d580274ULL;
};
template<class ContainerAllocator>
struct DataType< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
{
static const char* value()
{
return "ur_msgs/SetSpeedSliderFractionRequest";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
{
static const char* value()
{
return "\n\
\n\
\n\
\n\
\n\
float64 speed_slider_fraction\n\
";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.speed_slider_fraction);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct SetSpeedSliderFractionRequest_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ur_msgs::SetSpeedSliderFractionRequest_<ContainerAllocator>& v)
{
s << indent << "speed_slider_fraction: ";
Printer<double>::stream(s, indent + " ", v.speed_slider_fraction);
}
};
} // namespace message_operations
} // namespace ros
#endif // UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTIONREQUEST_H

View File

@@ -0,0 +1,188 @@
// Generated by gencpp from file ur_msgs/SetSpeedSliderFractionResponse.msg
// DO NOT EDIT!
#ifndef UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTIONRESPONSE_H
#define UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTIONRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace ur_msgs
{
template <class ContainerAllocator>
struct SetSpeedSliderFractionResponse_
{
typedef SetSpeedSliderFractionResponse_<ContainerAllocator> Type;
SetSpeedSliderFractionResponse_()
: success(false) {
}
SetSpeedSliderFractionResponse_(const ContainerAllocator& _alloc)
: success(false) {
(void)_alloc;
}
typedef uint8_t _success_type;
_success_type success;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> const> ConstPtr;
}; // struct SetSpeedSliderFractionResponse_
typedef ::ur_msgs::SetSpeedSliderFractionResponse_<std::allocator<void> > SetSpeedSliderFractionResponse;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionResponse > SetSpeedSliderFractionResponsePtr;
typedef boost::shared_ptr< ::ur_msgs::SetSpeedSliderFractionResponse const> SetSpeedSliderFractionResponseConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace ur_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'ur_msgs': ['/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_msgs/msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
{
static const char* value()
{
return "358e233cde0c8a8bcfea4ce193f8fc15";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
};
template<class ContainerAllocator>
struct DataType< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
{
static const char* value()
{
return "ur_msgs/SetSpeedSliderFractionResponse";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
{
static const char* value()
{
return "bool success\n\
\n\
";
}
static const char* value(const ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.success);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct SetSpeedSliderFractionResponse_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ur_msgs::SetSpeedSliderFractionResponse_<ContainerAllocator>& v)
{
s << indent << "success: ";
Printer<uint8_t>::stream(s, indent + " ", v.success);
}
};
} // namespace message_operations
} // namespace ros
#endif // UR_MSGS_MESSAGE_SETSPEEDSLIDERFRACTIONRESPONSE_H