add more files msgs
This commit is contained in:
@@ -23,6 +23,19 @@ struct Accel
|
||||
: linear(linear_), angular(angular_) {}
|
||||
};
|
||||
|
||||
// constants requiring out of line definition
|
||||
inline bool operator==(const geometry_msgs::Accel &lhs, const geometry_msgs::Accel &rhs)
|
||||
{
|
||||
return lhs.linear == rhs.linear &&
|
||||
lhs.angular == rhs.angular;
|
||||
}
|
||||
|
||||
inline bool operator!=(const geometry_msgs::Accel &lhs, const geometry_msgs::Accel &rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace geometry_msgs
|
||||
|
||||
#endif // ACCEL_H
|
||||
|
||||
Reference in New Issue
Block a user