Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ateam_msgs/msg/RobotMotionCommand.msg
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ float64 limit_vel_angular # (rad/s)
float64 limit_acc_linear # (m/s/s)
float64 limit_acc_angular # (rad/s/s)

# pivot maneuver parameters (used when body_control_mode == BCM_PIVOT)
# pivot parameters
float64 pivot_orbit_radius # (m)
float64 pivot_heading_lag # (rad)
float64 pivot_inset_angle # (rad)

uint8 kick_request
float32 kick_speed # (m/s)
Expand Down
4 changes: 1 addition & 3 deletions radio/ateam_radio_bridge/src/radio_bridge_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,11 @@ class RadioBridgeNode : public rclcpp::Node
case ateam_msgs::msg::RobotMotionCommand::BCM_PIVOT:
control_msg.body_control_mode = BCM_PIVOT;
control_msg.cmd.pivot = {
static_cast<float>(command.pose.x),
static_cast<float>(command.pose.y),
static_cast<float>(command.pose.theta),
static_cast<float>(command.limit_vel_angular),
static_cast<float>(command.limit_acc_angular),
static_cast<float>(command.pivot_orbit_radius),
static_cast<float>(command.pivot_heading_lag)
static_cast<float>(command.pivot_inset_angle)
};
break;
default:
Expand Down
Loading