mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
hunter limits: apply changes from c31c4688be46f5a3d4c66ad15d43fa392d93562a in agilexrobotics/ugv_sdk
This commit is contained in:
@@ -44,7 +44,7 @@ struct BunkerLimits {
|
|||||||
struct HunterV1Limits {
|
struct HunterV1Limits {
|
||||||
static constexpr double max_linear = 1.5; // m/s
|
static constexpr double max_linear = 1.5; // m/s
|
||||||
static constexpr double min_linear = -max_linear;
|
static constexpr double min_linear = -max_linear;
|
||||||
static constexpr double max_angular = 25.5; // degree
|
static constexpr double max_angular = 0.444; // rad
|
||||||
static constexpr double min_angular = -max_angular;
|
static constexpr double min_angular = -max_angular;
|
||||||
|
|
||||||
static constexpr double max_lateral = 0.0;
|
static constexpr double max_lateral = 0.0;
|
||||||
|
|||||||
@@ -85,8 +85,8 @@ class AgilexBase : public RobotCommonInterface {
|
|||||||
msg.body.motion_command_msg.steering_angle = steering_angle;
|
msg.body.motion_command_msg.steering_angle = steering_angle;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << "Sending motion cmd: " << linear_vel << ", " << angular_vel
|
// std::cout << "Sending motion cmd: " << linear_vel << ", " << angular_vel
|
||||||
<< ", " << lateral_vel << std::endl;
|
// << ", " << lateral_vel << std::endl;
|
||||||
|
|
||||||
// send to can bus
|
// send to can bus
|
||||||
can_frame frame;
|
can_frame frame;
|
||||||
|
|||||||
Reference in New Issue
Block a user