Basic Setup
Section titled “Basic Setup”After installation, let’s configure your first USV system.
Connecting to USV
Section titled “Connecting to USV”1. Start Control Platform
Section titled “1. Start Control Platform”jhusv startThe control platform will start at http://localhost:8080.
2. Add USV Device
Section titled “2. Add USV Device”In the Web interface:
- Click “Add Device”
- Enter USV serial number
- Select connection method (WiFi/4G/5G)
- Click “Connect”
Or use command line:
jhusv device add --serial USV-2024-001 --connection 4g3. Verify Connection
Section titled “3. Verify Connection”jhusv device statusExample output:
Device: USV-2024-001Status: CONNECTEDBattery: 85%GPS: FIXEDConnection: 4G (Signal: Excellent)Basic Configuration
Section titled “Basic Configuration”Navigation Parameters
Section titled “Navigation Parameters”navigation: mode: "auto" # Navigation mode: auto, manual, waypoint max_speed: 10 # Maximum speed (knots) obstacle_distance: 20 # Obstacle avoidance distance (meters) gps_accuracy: 2.5 # GPS accuracy requirement (meters)Safety Parameters
Section titled “Safety Parameters”safety: geofence: enabled: true latitude: [31.2, 31.3] # Latitude range longitude: [121.4, 121.5] # Longitude range
emergency: low_battery: 20 # Low battery threshold (%) return_home: true # Auto return home max_distance: 5000 # Maximum distance (meters)Sensor Configuration
Section titled “Sensor Configuration”sensors: gps: enabled: true update_rate: 10 # Hz
imu: enabled: true calibration: auto
camera: enabled: true resolution: "1920x1080" fps: 30Calibrate Sensors
Section titled “Calibrate Sensors”GPS Calibration
Section titled “GPS Calibration”jhusv calibrate gpsWait for GPS signal to stabilize (usually 1-2 minutes).
IMU Calibration
Section titled “IMU Calibration”jhusv calibrate imuFollow the prompts to place the USV in different orientations for calibration.
Compass Calibration
Section titled “Compass Calibration”jhusv calibrate compassRotate the USV 360° on a horizontal surface.
Test System
Section titled “Test System”Run System Tests
Section titled “Run System Tests”jhusv test allThis will test all subsystems and generate a report.
Manual Testing
Section titled “Manual Testing”-
Motor Test
Terminal window jhusv test motor -
Servo Test
Terminal window jhusv test servo -
Sensor Test
Terminal window jhusv test sensors
Save Configuration
Section titled “Save Configuration”All configurations are automatically saved to:
~/.jhusv/config.yamlYou can also export the configuration for backup:
jhusv config export > my-config.yamlRestore configuration:
jhusv config import my-config.yamlNext Steps
Section titled “Next Steps”After configuration, you can:
- 🚀 Create your first mission
- 📖 Learn about hardware overview
- 🎯 Study mission planning
Tips and Recommendations
Section titled “Tips and Recommendations”:::tip Best Practices
- Regularly backup configuration files
- Test in a safe area before actual deployment
- Keep firmware updated to the latest version :::
:::warning Note
- All sensor calibrations must be completed before first use
- Ensure geofence settings are correct
- Avoid use in severe weather conditions :::