Skip to content

Commit a1c1209

Browse files
committed
Cosmetic Changes
1 parent dac8f23 commit a1c1209

File tree

6 files changed

+27
-26
lines changed

6 files changed

+27
-26
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ _**Documentation**_ :
77
#### Usage
88
1. Create a Tello Object, indicating it's IP Address
99
2. Send commands and get replies
10-
3. If you send TakeOff, a background Thread will run and send a Pulse to the Drone in order to keep the connection alive.
11-
4. If you send Lan, the background Thread is closed
10+
3. If you send **TakeOff**, a background Thread will run and send a Pulse to the Drone in order to keep the connection alive.
11+
4. If you send **Land**, the background Thread is closed
1212

1313
# SimpleTello
1414

SimpleTello/SimpleTello.xsproj renamed to SimpleTello/1-SimpleTello.xsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<RootNamespace>SimpleTello</RootNamespace>
88
<AssemblyName>SimpleTello</AssemblyName>
99
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
10-
<Name>SimpleTello</Name>
10+
<Name>1-SimpleTello</Name>
1111
<OutputName>SimpleTello</OutputName>
1212
</PropertyGroup>
1313
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">

SimpleTello/SimpleTello.prg

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SimpleTello.prg
22
// Created by : fabri
33
// Creation Date : 7/18/2023 6:00:37 PM
4-
// Created for :
4+
// Created for :
55
// WorkStation : FABXPS
66

77

@@ -14,24 +14,24 @@ USING System.Text
1414
USING System.Threading
1515

1616
BEGIN NAMESPACE SimpleTello
17-
17+
1818
/// <summary>
1919
/// The SimpleTello class.
2020
/// Communicate with the Tello, without the TelloLibrary
2121
/// </summary>
2222
PUBLIC CLASS SimpleTello
2323
PRIVATE _lastResponse := "" AS string
24-
24+
2525
PRIVATE IsNewReponseAvailable := false AS Logic
26-
26+
2727
PRIVATE PROPERTY LastResponse AS string
2828
GET
2929
IsNewReponseAvailable := false
3030
RETURN _lastResponse
31-
31+
3232
END GET
3333
END PROPERTY
34-
34+
3535
METHOD Start() AS void
3636
LOCAL droneEndpoint AS IPEndPoint
3737
LOCAL localEndPoint AS IPEndPoint
@@ -79,8 +79,8 @@ BEGIN NAMESPACE SimpleTello
7979
client:Close()
8080
Console.WriteLine("Press <return> to Close...")
8181
Console.ReadLine()
82-
83-
82+
83+
8484
PUBLIC METHOD RecvThread(param AS Object ) AS void
8585
LOCAL client AS UdpClient
8686
LOCAL remoteEndPoint AS IPEndPoint
@@ -97,15 +97,16 @@ BEGIN NAMESPACE SimpleTello
9797
IsNewReponseAvailable := true
9898
_lastResponse := response
9999
ENDIF
100-
100+
101101
CATCH e AS Exception
102102
Console.WriteLine(e:Message)
103103
EXIT
104104
END TRY
105-
END WHILE
105+
END WHILE
106+
// Ugly !! Direct access to the Console from the Thread, but.. ok, it works :)
106107
Console.WriteLine("-->>...")
107-
108-
108+
109+
109110
END CLASS
110-
111+
111112
END NAMESPACE // SimpleTello

TelloLibrary/TelloLibrary.xsproj renamed to TelloLibrary/3-TelloLibrary.xsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<RootNamespace>TelloLibrary</RootNamespace>
88
<AssemblyName>TelloLibrary</AssemblyName>
99
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
10-
<Name>TelloLibrary</Name>
10+
<Name>3-TelloLibrary</Name>
1111
<OutputName>TelloLibrary</OutputName>
1212
<StartupObject />
1313
<NamedArgs>True</NamedArgs>

TelloXSharp.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.6.33723.286
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "TelloLibrary", "TelloLibrary\TelloLibrary.xsproj", "{D56B6653-8CFA-4A04-81FC-74BC58FE9120}"
6+
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "3-TelloLibrary", "TelloLibrary\3-TelloLibrary.xsproj", "{D56B6653-8CFA-4A04-81FC-74BC58FE9120}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AD36147-69C0-4825-A0B6-5FE7A6FBDACE}"
99
ProjectSection(SolutionItems) = preProject
@@ -14,9 +14,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1414
EndProject
1515
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "TelloFake", "TelloFake\TelloFake.xsproj", "{844609C9-9406-40B7-A894-64482CDF15D8}"
1616
EndProject
17-
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "TelloXSharp", "TelloXSharp\TelloXSharp.xsproj", "{32BAED1B-1F25-43E2-82E9-61E20F0A990C}"
17+
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "2-TelloXSharp", "TelloXSharp\2-TelloXSharp.xsproj", "{32BAED1B-1F25-43E2-82E9-61E20F0A990C}"
1818
EndProject
19-
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "SimpleTello", "SimpleTello\SimpleTello.xsproj", "{DEC58555-CB5F-4436-9CFA-7BC19D367171}"
19+
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "1-SimpleTello", "SimpleTello\1-SimpleTello.xsproj", "{DEC58555-CB5F-4436-9CFA-7BC19D367171}"
2020
EndProject
2121
Project("{AA6C8D78-22FF-423A-9C7C-5F2393824E04}") = "TelloFakeGUI", "TelloFakeGUI\TelloFakeGUI.xsproj", "{40C3F4A9-BEBF-48E6-BF0D-7197BEC1734A}"
2222
EndProject

TelloXSharp/TelloXSharp.xsproj renamed to TelloXSharp/2-TelloXSharp.xsproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<RootNamespace>TelloXSharp</RootNamespace>
99
<AssemblyName>TelloXSharp</AssemblyName>
1010
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
11-
<Name>TelloXSharp</Name>
11+
<Name>2-TelloXSharp</Name>
1212
<OutputName>TelloXSharp</OutputName>
1313
<NuGetPackageImportStamp>
1414
</NuGetPackageImportStamp>
@@ -138,15 +138,15 @@
138138
<Folder Include="Properties\" />
139139
</ItemGroup>
140140
<ItemGroup>
141-
<ProjectReference Include="..\TelloLibrary\TelloLibrary.xsproj">
142-
<Name>TelloLibrary</Name>
141+
<None Include="packages.config" />
142+
</ItemGroup>
143+
<ItemGroup>
144+
<ProjectReference Include="..\TelloLibrary\3-TelloLibrary.xsproj">
145+
<Name>3-TelloLibrary</Name>
143146
<Project>{d56b6653-8cfa-4a04-81fc-74bc58fe9120}</Project>
144147
<Private>True</Private>
145148
</ProjectReference>
146149
</ItemGroup>
147-
<ItemGroup>
148-
<None Include="packages.config" />
149-
</ItemGroup>
150150
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
151151
<PreBuildEvent />
152152
<PostBuildEvent />

0 commit comments

Comments
 (0)