Skip to content

Commit 1abf0d8

Browse files
committed
modified committed
1 parent 414ea8f commit 1abf0d8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/python_vehicle_simulator/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
case '7': vehicle = supply('DPcontrol',4.0,4.0,100.0,0.5,20.0)
6161
case '8': vehicle = tanker('headingAutopilot',-20,0.5,150,20,80)
6262
case '9': vehicle = remus100('depthHeadingAutopilot',30,50,1525,0.5,170)
63-
case '11': vehicle = buoyDynamics('waveResponse', 2.0, 8.0, 1.0, 45)
63+
case '10': vehicle = surfacebuoy('waveResponse', 2.0, 8.0, 1.0, 45)
6464
case _: print('Error: Not a valid simulator option'), sys.exit()
6565

6666
printVehicleinfo(vehicle, sampleTime, N)

src/python_vehicle_simulator/vehicles/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
from .supply import *
1111
from .tanker import *
1212
from .remus100 import *
13-
from .buoyDynamics import * # Added missing import statement
13+
from .surfacebuoy import * # Added missing import statement
1414

src/python_vehicle_simulator/vehicles/surfacebuoy.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@
3434
"""
3535
import numpy as np
3636
import math
37-
from python_vehicle_simulator.lib.control import PIDpolePlacement
38-
from python_vehicle_simulator.lib.models import clarke83
37+
from python_vehicle_simulator.lib.buoyControl import buoyControl
38+
from python_vehicle_simulator.lib.buoyModel import buoyDynamicsModel
3939

4040
# Class Buoy
4141
class buoyDynamics:
42+
pass
4243
"""
4344
buoyDynamics()
4445
Simulates buoy response to environmental forces (wave, current)

0 commit comments

Comments
 (0)