them file geometry_msgs

This commit is contained in:
2025-11-06 17:01:17 +07:00
parent 827b8623bc
commit 05616f8fca
36 changed files with 562 additions and 67 deletions

View File

@@ -0,0 +1,28 @@
// # This expresses acceleration in free space broken into its linear and angular parts.
// Vector3 linear
// Vector3 angular
#ifndef ACCEL_H
#define ACCEL_H
#include <geometry_msgs/Vector3.h>
namespace geometry_msgs
{
struct Accel
{
Vector3 linear;
Vector3 angular;
// Constructor mặc định
Accel() : linear(), angular() {}
// Constructor khởi tạo nhanh
Accel(const Vector3& linear_, const Vector3& angular_)
: linear(linear_), angular(angular_) {}
};
} // namespace geometry_msgs
#endif // ACCEL_H