A.R.G.U.S 2.1.0
Adaptive Real-Time Guardian for Unsafe Situations
Loading...
Searching...
No Matches
AppController.hpp
Go to the documentation of this file.
1
10#pragma once
11
12#include "CameraCapture.hpp"
13#include "MotionController.hpp"
14
19public:
23 enum class SmokeJoint {
24 All,
25 Base,
26 Lower,
27 Upper,
28 Grip,
29 };
30
41
48
52 AppController() noexcept;
53
57 ~AppController() noexcept;
58
64
69 int runButtonTest();
70
76
82
88
95
101 int runCameraBackendCheck(const LiveTestOptions& options);
102
108 int runLiveMarkerTest(const LiveTestOptions& options);
109
110private:
111 MotionController motion_controller_;
112};
Camera frame acquisition interface for ARGUS.
PCA9685-based servo output controller for ARGUS.
Orchestrates runtime modes for ARGUS.
int runMotionSmokeTest(const MotionSmokeTestOptions &options)
Run motion-only smoke tests using the selected joint scope.
int runMotionHomePose()
Move the arm to the configured home pose and exit.
SmokeJoint
Joint selector used by motion smoke-test mode.
@ Base
Run smoke test for base joint only.
@ Upper
Run smoke test for upper joint only.
@ All
Run the full all-joint smoke sequence.
@ Lower
Run smoke test for lower joint only.
@ Grip
Run smoke test for gripper joint only.
int runCameraBackendCheck(const LiveTestOptions &options)
Run camera backend validation/check mode.
int runInteractiveServoConsole()
Run interactive servo console mode.
int runLiveMarkerTest(const LiveTestOptions &options)
Run live safety supervision mode.
int runServoCalibration()
Run interactive raw-pulse servo calibration mode.
int runButtonTest()
Run physical-button diagnostics.
AppController() noexcept
Construct the application controller.
int runGuardianScenarioDemo()
Run the scripted guardian scenario demonstration.
BackendPreference
Backend selection policy.
@ Auto
Auto-select backend based on platform/runtime constraints.
Low-level motion output driver for the PCA9685 servo board.
Options used by live test and camera backend check modes.
bool auto_ack
Auto-send acknowledge after freeze for testing.
CameraCapture::BackendPreference backend_preference
Requested camera backend policy.
int expected_marker_id
Expected marker ID (legacy CLI option).
int camera_index
Camera index passed to CameraCapture.
Options for the motion smoke-test mode.
SmokeJoint joint
Joint subset to smoke-test.