something and stuff
This commit is contained in:
+42
-8
@@ -6,7 +6,7 @@
|
||||
<coordinates>
|
||||
<x>120</x>
|
||||
<y>670</y>
|
||||
<w>210</w>
|
||||
<w>220</w>
|
||||
<h>510</h>
|
||||
</coordinates>
|
||||
<panel_attributes><<hardware>>
|
||||
@@ -46,9 +46,9 @@ MotorControl
|
||||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>380</x>
|
||||
<x>360</x>
|
||||
<y>670</y>
|
||||
<w>210</w>
|
||||
<w>220</w>
|
||||
<h>330</h>
|
||||
</coordinates>
|
||||
<panel_attributes><<hardware>>
|
||||
@@ -77,13 +77,47 @@ Speedometer
|
||||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>900</x>
|
||||
<y>660</y>
|
||||
<w>210</w>
|
||||
<x>120</x>
|
||||
<y>270</y>
|
||||
<w>270</w>
|
||||
<h>370</h>
|
||||
</coordinates>
|
||||
<panel_attributes>MoveControl
|
||||
--
|
||||
- debug: DebugMqtt*
|
||||
- left_motor: MotorControl*
|
||||
- right_motor: MotorControl*
|
||||
- left_speedometer: Speedometer*
|
||||
- right_speedometer: Speedometer*
|
||||
- driving_status: DrivingStatus = stop
|
||||
- x_speed: double = 0
|
||||
- rotation_speed: double = 0
|
||||
- wheelspeed_left_target: double = 0
|
||||
- wheelspeed_right_target: double = 0
|
||||
--
|
||||
+ MoveControl()
|
||||
+ init(left_motor: MotorControl*,
|
||||
right_motor: MotorControl*,
|
||||
left_speedometer: Speedometer*,
|
||||
right_speedometer: Speedometer*)
|
||||
+ runMoveControl()
|
||||
+ setDrivingStatus(status: DrivingStatus)
|
||||
+ setSpeed(speed: double)
|
||||
+ setRotationspeed(speed: double)
|
||||
- calcWheelSpeed()
|
||||
- regulateMotors()</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>1110</x>
|
||||
<y>670</y>
|
||||
<w>220</w>
|
||||
<h>330</h>
|
||||
</coordinates>
|
||||
<panel_attributes><<hardware>>
|
||||
Speedometer
|
||||
<panel_attributes><<driveModi>>
|
||||
ManualContro
|
||||
--
|
||||
- encoder: ESP32Encoder
|
||||
- debug: DebugMqtt*
|
||||
|
||||
Reference in New Issue
Block a user