Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 1 | #include "y2020/actors/autonomous_actor.h" |
| 2 | |
| 3 | #include <inttypes.h> |
| 4 | |
| 5 | #include <chrono> |
| 6 | #include <cmath> |
| 7 | |
| 8 | #include "aos/logging/logging.h" |
James Kuszmaul | ddd2ba6 | 2020-03-08 22:17:13 -0700 | [diff] [blame] | 9 | #include "aos/util/math.h" |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 10 | #include "frc971/control_loops/drivetrain/localizer_generated.h" |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 11 | #include "frc971/control_loops/drivetrain/spline.h" |
James Kuszmaul | 5f6d1d4 | 2020-03-01 18:10:07 -0800 | [diff] [blame] | 12 | #include "y2020/actors/auto_splines.h" |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 13 | #include "y2020/control_loops/drivetrain/drivetrain_base.h" |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 14 | |
Austin Schuh | fd1715f | 2021-01-30 16:58:24 -0800 | [diff] [blame] | 15 | DEFINE_bool(spline_auto, true, "If true, define a spline autonomous mode"); |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 16 | DEFINE_bool(galactic_search, false, |
| 17 | "If true, do the galactic search autonomous"); |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 18 | DEFINE_bool(bounce, false, "If true, run the AutoNav Bounce autonomous"); |
| 19 | DEFINE_bool(barrel, false, "If true, run the AutoNav Barrel autonomous"); |
| 20 | DEFINE_bool(slalom, false, "If true, run the AutoNav Slalom autonomous"); |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 21 | |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 22 | namespace y2020 { |
| 23 | namespace actors { |
| 24 | |
| 25 | using ::aos::monotonic_clock; |
| 26 | using ::frc971::ProfileParametersT; |
| 27 | using frc971::control_loops::drivetrain::LocalizerControl; |
| 28 | namespace chrono = ::std::chrono; |
| 29 | |
| 30 | AutonomousActor::AutonomousActor(::aos::EventLoop *event_loop) |
| 31 | : frc971::autonomous::BaseAutonomousActor( |
James Kuszmaul | 5f6d1d4 | 2020-03-01 18:10:07 -0800 | [diff] [blame] | 32 | event_loop, control_loops::drivetrain::GetDrivetrainConfig()), |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 33 | localizer_control_sender_( |
| 34 | event_loop->MakeSender< |
| 35 | ::frc971::control_loops::drivetrain::LocalizerControl>( |
| 36 | "/drivetrain")), |
Austin Schuh | 67e127e | 2021-03-27 13:25:23 -0700 | [diff] [blame^] | 37 | superstructure_goal_sender_( |
| 38 | event_loop->MakeSender<control_loops::superstructure::Goal>( |
| 39 | "/superstructure")), |
James Kuszmaul | ddd2ba6 | 2020-03-08 22:17:13 -0700 | [diff] [blame] | 40 | joystick_state_fetcher_( |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 41 | event_loop->MakeFetcher<aos::JoystickState>("/aos")), |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 42 | path_fetcher_(event_loop->MakeFetcher<y2020::vision::GalacticSearchPath>( |
| 43 | "/pi1/camera")), |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 44 | auto_splines_() { |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 45 | set_max_drivetrain_voltage(2.0); |
| 46 | } |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 47 | |
| 48 | void AutonomousActor::Reset() { |
| 49 | InitializeEncoders(); |
| 50 | ResetDrivetrain(); |
James Kuszmaul | 5f6d1d4 | 2020-03-01 18:10:07 -0800 | [diff] [blame] | 51 | |
James Kuszmaul | ddd2ba6 | 2020-03-08 22:17:13 -0700 | [diff] [blame] | 52 | joystick_state_fetcher_.Fetch(); |
| 53 | CHECK(joystick_state_fetcher_.get() != nullptr) |
| 54 | << "Expect at least one JoystickState message before running auto..."; |
| 55 | alliance_ = joystick_state_fetcher_->alliance(); |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 56 | } |
| 57 | |
| 58 | bool AutonomousActor::RunAction( |
Austin Schuh | 6fb0a6d | 2021-01-23 15:43:17 -0800 | [diff] [blame] | 59 | const ::frc971::autonomous::AutonomousActionParams *params) { |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 60 | Reset(); |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 61 | AOS_LOG(INFO, "Params are %d\n", params->mode()); |
James Kuszmaul | ddd2ba6 | 2020-03-08 22:17:13 -0700 | [diff] [blame] | 62 | if (alliance_ == aos::Alliance::kInvalid) { |
| 63 | AOS_LOG(INFO, "Aborting autonomous due to invalid alliance selection."); |
| 64 | return false; |
| 65 | } |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 66 | if (FLAGS_galactic_search) { |
| 67 | GalacticSearch(); |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 68 | } else if (FLAGS_bounce) { |
| 69 | AutoNavBounce(); |
| 70 | } else if (FLAGS_barrel) { |
| 71 | AutoNavBarrel(); |
| 72 | } else if (FLAGS_slalom) { |
| 73 | AutoNavSlalom(); |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 74 | } else if (FLAGS_spline_auto) { |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 75 | SplineAuto(); |
| 76 | } else { |
| 77 | return DriveFwd(); |
| 78 | } |
| 79 | return true; |
| 80 | } |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 81 | |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 82 | void AutonomousActor::SendStartingPosition(double x, double y, double theta) { |
| 83 | // Set up the starting position for the blue alliance. |
| 84 | double starting_heading = theta; |
| 85 | |
| 86 | // TODO(james): Resetting the localizer breaks the left/right statespace |
| 87 | // controller. That is a bug, but we can fix that later by not resetting. |
| 88 | auto builder = localizer_control_sender_.MakeBuilder(); |
| 89 | |
| 90 | LocalizerControl::Builder localizer_control_builder = |
| 91 | builder.MakeBuilder<LocalizerControl>(); |
| 92 | localizer_control_builder.add_x(x); |
| 93 | localizer_control_builder.add_y(y); |
| 94 | localizer_control_builder.add_theta(starting_heading); |
| 95 | localizer_control_builder.add_theta_uncertainty(0.00001); |
| 96 | if (!builder.Send(localizer_control_builder.Finish())) { |
| 97 | AOS_LOG(ERROR, "Failed to reset localizer.\n"); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | void AutonomousActor::GalacticSearch() { |
| 102 | path_fetcher_.Fetch(); |
| 103 | CHECK(path_fetcher_.get() != nullptr) |
| 104 | << "Expect at least one GalacticSearchPath message before running " |
| 105 | "auto..."; |
| 106 | if (path_fetcher_->alliance() == y2020::vision::Alliance::kUnknown) { |
| 107 | AOS_LOG(ERROR, "The galactic search path is unknown, doing nothing."); |
| 108 | } else { |
| 109 | SplineHandle spline1 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 110 | [this]( |
| 111 | aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
| 112 | *builder) { |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 113 | flatbuffers::Offset<frc971::MultiSpline> target_spline; |
| 114 | if (path_fetcher_->alliance() == y2020::vision::Alliance::kRed) { |
| 115 | if (path_fetcher_->letter() == y2020::vision::Letter::kA) { |
| 116 | target_spline = auto_splines_.SplineRedA(builder); |
| 117 | } else { |
| 118 | CHECK(path_fetcher_->letter() == y2020::vision::Letter::kB); |
| 119 | target_spline = auto_splines_.SplineRedB(builder); |
| 120 | } |
| 121 | } else { |
| 122 | if (path_fetcher_->letter() == y2020::vision::Letter::kA) { |
| 123 | target_spline = auto_splines_.SplineBlueA(builder); |
| 124 | } else { |
| 125 | CHECK(path_fetcher_->letter() == y2020::vision::Letter::kB); |
| 126 | target_spline = auto_splines_.SplineBlueB(builder); |
| 127 | } |
| 128 | } |
| 129 | const frc971::MultiSpline *const spline = |
| 130 | flatbuffers::GetTemporaryPointer(*builder->fbb(), target_spline); |
| 131 | |
| 132 | SendStartingPosition(CHECK_NOTNULL(spline)); |
| 133 | |
| 134 | return target_spline; |
| 135 | }, |
| 136 | SplineDirection::kForward); |
| 137 | |
milind upadhyay | b9dec71 | 2021-03-20 15:47:51 -0700 | [diff] [blame] | 138 | set_intake_goal(1.2); |
| 139 | set_roller_voltage(7.0); |
| 140 | SendSuperstructureGoal(); |
| 141 | |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 142 | if (!spline1.WaitForPlan()) return; |
| 143 | spline1.Start(); |
| 144 | |
| 145 | if (!spline1.WaitForSplineDistanceRemaining(0.02)) return; |
milind upadhyay | b9dec71 | 2021-03-20 15:47:51 -0700 | [diff] [blame] | 146 | set_intake_goal(-0.89); |
| 147 | set_roller_voltage(0.0); |
| 148 | SendSuperstructureGoal(); |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 149 | } |
| 150 | } |
| 151 | |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 152 | void AutonomousActor::AutoNavBounce() { |
| 153 | SplineHandle spline1 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 154 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 155 | *builder) { |
| 156 | flatbuffers::Offset<frc971::MultiSpline> target_spline = |
| 157 | auto_splines_.AutoNavBounce1(builder); |
| 158 | const frc971::MultiSpline *const spline = |
| 159 | flatbuffers::GetTemporaryPointer(*builder->fbb(), target_spline); |
| 160 | SendStartingPosition(CHECK_NOTNULL(spline)); |
| 161 | return target_spline; |
| 162 | }, |
| 163 | SplineDirection::kForward); |
| 164 | |
| 165 | if (!spline1.WaitForPlan()) return; |
| 166 | spline1.Start(); |
| 167 | |
| 168 | SplineHandle spline2 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 169 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 170 | *builder) { return auto_splines_.AutoNavBounce2(builder); }, |
| 171 | SplineDirection::kBackward); |
| 172 | |
| 173 | if (!spline1.WaitForSplineDistanceRemaining(0.02)) return; |
| 174 | |
| 175 | if (!spline2.WaitForPlan()) return; |
| 176 | spline2.Start(); |
| 177 | |
| 178 | SplineHandle spline3 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 179 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 180 | *builder) { return auto_splines_.AutoNavBounce3(builder); }, |
| 181 | SplineDirection::kForward); |
| 182 | |
| 183 | if (!spline2.WaitForSplineDistanceRemaining(0.02)) return; |
| 184 | |
| 185 | if (!spline3.WaitForPlan()) return; |
| 186 | spline3.Start(); |
| 187 | |
| 188 | SplineHandle spline4 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 189 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 190 | *builder) { return auto_splines_.AutoNavBounce4(builder); }, |
| 191 | SplineDirection::kBackward); |
| 192 | |
| 193 | if (!spline3.WaitForSplineDistanceRemaining(0.02)) return; |
| 194 | |
| 195 | if (!spline4.WaitForPlan()) return; |
| 196 | spline4.Start(); |
| 197 | |
| 198 | if (!spline4.WaitForSplineDistanceRemaining(0.02)) return; |
| 199 | } |
| 200 | |
| 201 | void AutonomousActor::AutoNavBarrel() { |
| 202 | SplineHandle spline1 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 203 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 204 | *builder) { |
| 205 | flatbuffers::Offset<frc971::MultiSpline> target_spline; |
| 206 | target_spline = auto_splines_.AutoNavBarrel(builder); |
| 207 | const frc971::MultiSpline *const spline = |
| 208 | flatbuffers::GetTemporaryPointer(*builder->fbb(), target_spline); |
| 209 | SendStartingPosition(CHECK_NOTNULL(spline)); |
| 210 | return target_spline; |
| 211 | }, |
| 212 | SplineDirection::kForward); |
| 213 | |
| 214 | if (!spline1.WaitForPlan()) return; |
| 215 | spline1.Start(); |
| 216 | |
| 217 | if (!spline1.WaitForSplineDistanceRemaining(0.02)) return; |
| 218 | } |
| 219 | |
| 220 | void AutonomousActor::AutoNavSlalom() { |
| 221 | SplineHandle spline1 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 222 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
Ravago Jones | 9c326f5 | 2021-03-20 15:00:16 -0700 | [diff] [blame] | 223 | *builder) { |
| 224 | flatbuffers::Offset<frc971::MultiSpline> target_spline; |
| 225 | target_spline = auto_splines_.AutoNavSlalom(builder); |
| 226 | const frc971::MultiSpline *const spline = |
| 227 | flatbuffers::GetTemporaryPointer(*builder->fbb(), target_spline); |
| 228 | SendStartingPosition(CHECK_NOTNULL(spline)); |
| 229 | return target_spline; |
| 230 | }, |
| 231 | SplineDirection::kForward); |
| 232 | |
| 233 | if (!spline1.WaitForPlan()) return; |
| 234 | spline1.Start(); |
| 235 | |
| 236 | if (!spline1.WaitForSplineDistanceRemaining(0.02)) return; |
| 237 | } |
| 238 | |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 239 | void AutonomousActor::SplineAuto() { |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 240 | SplineHandle spline1 = PlanSpline( |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 241 | [this](aos::Sender<frc971::control_loops::drivetrain::SplineGoal>::Builder |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 242 | *builder) { |
| 243 | flatbuffers::Offset<frc971::MultiSpline> target_spline; |
| 244 | target_spline = auto_splines_.TestSpline(builder); |
| 245 | const frc971::MultiSpline *const spline = |
| 246 | flatbuffers::GetTemporaryPointer(*builder->fbb(), target_spline); |
| 247 | SendStartingPosition(CHECK_NOTNULL(spline)); |
| 248 | return target_spline; |
| 249 | }, |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 250 | SplineDirection::kForward); |
James Kuszmaul | 5f6d1d4 | 2020-03-01 18:10:07 -0800 | [diff] [blame] | 251 | |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 252 | if (!spline1.WaitForPlan()) return; |
James Kuszmaul | 5f6d1d4 | 2020-03-01 18:10:07 -0800 | [diff] [blame] | 253 | spline1.Start(); |
| 254 | |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 255 | if (!spline1.WaitForSplineDistanceRemaining(0.02)) return; |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 256 | } |
| 257 | |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 258 | void AutonomousActor::SendStartingPosition( |
| 259 | const frc971::MultiSpline *const spline) { |
| 260 | float x = spline->spline_x()->Get(0); |
| 261 | float y = spline->spline_y()->Get(0); |
| 262 | |
| 263 | Eigen::Matrix<double, 2, 6> control_points; |
| 264 | for (size_t ii = 0; ii < 6; ++ii) { |
| 265 | control_points(0, ii) = spline->spline_x()->Get(ii); |
| 266 | control_points(1, ii) = spline->spline_y()->Get(ii); |
| 267 | } |
| 268 | |
| 269 | frc971::control_loops::drivetrain::Spline spline_object(control_points); |
| 270 | |
| 271 | SendStartingPosition(x, y, spline_object.Theta(0)); |
| 272 | } |
| 273 | |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 274 | ProfileParametersT MakeProfileParametersT(const float max_velocity, |
| 275 | const float max_acceleration) { |
| 276 | ProfileParametersT params; |
| 277 | params.max_velocity = max_velocity; |
| 278 | params.max_acceleration = max_acceleration; |
| 279 | return params; |
| 280 | } |
| 281 | |
| 282 | bool AutonomousActor::DriveFwd() { |
kyle | 96c406e | 2021-02-27 14:07:22 -0800 | [diff] [blame] | 283 | SendStartingPosition(0, 0, 0); |
Austin Schuh | fd1715f | 2021-01-30 16:58:24 -0800 | [diff] [blame] | 284 | const ProfileParametersT kDrive = MakeProfileParametersT(0.3f, 1.0f); |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 285 | const ProfileParametersT kTurn = MakeProfileParametersT(5.0f, 15.0f); |
Austin Schuh | fd1715f | 2021-01-30 16:58:24 -0800 | [diff] [blame] | 286 | StartDrive(1.0, 0.0, kDrive, kTurn); |
milind upadhyay | 47a0ab3 | 2020-11-25 19:34:41 -0800 | [diff] [blame] | 287 | return WaitForDriveDone(); |
| 288 | } |
Sabina Leaver | a0b43b4 | 2021-03-03 20:30:04 -0800 | [diff] [blame] | 289 | |
| 290 | void AutonomousActor::SendSuperstructureGoal() { |
| 291 | |
| 292 | auto builder = superstructure_goal_sender_.MakeBuilder(); |
| 293 | |
| 294 | flatbuffers::Offset<StaticZeroingSingleDOFProfiledSubsystemGoal> |
| 295 | intake_offset; |
milind upadhyay | b9dec71 | 2021-03-20 15:47:51 -0700 | [diff] [blame] | 296 | |
Sabina Leaver | a0b43b4 | 2021-03-03 20:30:04 -0800 | [diff] [blame] | 297 | { |
| 298 | StaticZeroingSingleDOFProfiledSubsystemGoal::Builder intake_builder = |
| 299 | builder.MakeBuilder<StaticZeroingSingleDOFProfiledSubsystemGoal>(); |
| 300 | |
milind upadhyay | b9dec71 | 2021-03-20 15:47:51 -0700 | [diff] [blame] | 301 | frc971::ProfileParameters::Builder profile_params_builder = |
Sabina Leaver | a0b43b4 | 2021-03-03 20:30:04 -0800 | [diff] [blame] | 302 | builder.MakeBuilder<frc971::ProfileParameters>(); |
Sabina Leaver | 8302e3c | 2021-03-20 16:36:05 -0700 | [diff] [blame] | 303 | profile_params_builder.add_max_velocity(10.0); |
| 304 | profile_params_builder.add_max_acceleration(30.0); |
milind upadhyay | b9dec71 | 2021-03-20 15:47:51 -0700 | [diff] [blame] | 305 | flatbuffers::Offset<frc971::ProfileParameters> profile_params_offset = |
Sabina Leaver | a0b43b4 | 2021-03-03 20:30:04 -0800 | [diff] [blame] | 306 | profile_params_builder.Finish(); |
| 307 | intake_builder.add_unsafe_goal(intake_goal_); |
| 308 | intake_builder.add_profile_params(profile_params_offset); |
| 309 | intake_offset = intake_builder.Finish(); |
| 310 | } |
| 311 | |
| 312 | superstructure::Goal::Builder superstructure_builder = |
| 313 | builder.MakeBuilder<superstructure::Goal>(); |
milind upadhyay | b9dec71 | 2021-03-20 15:47:51 -0700 | [diff] [blame] | 314 | |
Sabina Leaver | a0b43b4 | 2021-03-03 20:30:04 -0800 | [diff] [blame] | 315 | superstructure_builder.add_intake(intake_offset); |
| 316 | superstructure_builder.add_roller_voltage(roller_voltage_); |
| 317 | superstructure_builder.add_roller_speed_compensation(kRollerSpeedCompensation); |
| 318 | |
| 319 | if (!builder.Send(superstructure_builder.Finish())) { |
| 320 | AOS_LOG(ERROR, "Sending superstructure goal failed.\n"); |
| 321 | } |
| 322 | |
| 323 | } |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 324 | } // namespace actors |
| 325 | } // namespace y2020 |