first commit
This commit is contained in:
20
Graph/Filter/FilterGPS.sln
Normal file
20
Graph/Filter/FilterGPS.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HexapodControl", "HexapodControl\HexapodControl.vcxproj", "{5E2A1E52-680F-4834-9D61-9CB14992F2E6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
Graph/Filter/HexapodControl.suo
Normal file
BIN
Graph/Filter/HexapodControl.suo
Normal file
Binary file not shown.
40
Graph/Filter/HexapodControl/AssemblyInfo.cpp
Normal file
40
Graph/Filter/HexapodControl/AssemblyInfo.cpp
Normal file
@ -0,0 +1,40 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
using namespace System;
|
||||
using namespace System::Reflection;
|
||||
using namespace System::Runtime::CompilerServices;
|
||||
using namespace System::Runtime::InteropServices;
|
||||
using namespace System::Security::Permissions;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly:AssemblyTitleAttribute("FilterGPS")];
|
||||
[assembly:AssemblyDescriptionAttribute("")];
|
||||
[assembly:AssemblyConfigurationAttribute("")];
|
||||
[assembly:AssemblyCompanyAttribute("Microsoft")];
|
||||
[assembly:AssemblyProductAttribute("FilterGPS")];
|
||||
[assembly:AssemblyCopyrightAttribute("Copyright (c) Microsoft 2024")];
|
||||
[assembly:AssemblyTrademarkAttribute("")];
|
||||
[assembly:AssemblyCultureAttribute("")];
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the value or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly:AssemblyVersionAttribute("1.0.*")];
|
||||
|
||||
[assembly:ComVisible(false)];
|
||||
|
||||
[assembly:CLSCompliantAttribute(true)];
|
||||
|
||||
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];
|
53
Graph/Filter/HexapodControl/Filter.h
Normal file
53
Graph/Filter/HexapodControl/Filter.h
Normal file
@ -0,0 +1,53 @@
|
||||
#pragma once
|
||||
class Filter
|
||||
{
|
||||
public:
|
||||
|
||||
float Freq;
|
||||
|
||||
struct
|
||||
{
|
||||
float Value;
|
||||
//---
|
||||
float Min, Max;
|
||||
//---
|
||||
bool EnAcc;
|
||||
float Acc;
|
||||
//---
|
||||
bool EnGPS;
|
||||
float Width, Length;
|
||||
//---
|
||||
}Position;
|
||||
|
||||
|
||||
|
||||
struct
|
||||
{
|
||||
float ValueAccGPS;
|
||||
float ValueGPS;
|
||||
float Value;
|
||||
//---
|
||||
float Min, Max;
|
||||
//---
|
||||
bool EnAcc;
|
||||
float Acc;
|
||||
float AccGPS;
|
||||
//---
|
||||
bool EnGPS;
|
||||
float Width, Length;
|
||||
}Speed;
|
||||
|
||||
struct
|
||||
{
|
||||
float Pos[100];
|
||||
float Acc[100];
|
||||
float Spd[100];
|
||||
long Size, Index;
|
||||
}Delay;
|
||||
|
||||
float* Update(bool valid, float gps, float acc);
|
||||
|
||||
float Limit(float Value, float Min, float Max);
|
||||
float Minimum(float Value1, float Value2);
|
||||
|
||||
};
|
1752
Graph/Filter/HexapodControl/Form1.h
Normal file
1752
Graph/Filter/HexapodControl/Form1.h
Normal file
File diff suppressed because it is too large
Load Diff
129
Graph/Filter/HexapodControl/Form1.resx
Normal file
129
Graph/Filter/HexapodControl/Form1.resx
Normal file
@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="openFileDialog_Open.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>11, 12</value>
|
||||
</metadata>
|
||||
<metadata name="timer_Tick.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>178, 12</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>40</value>
|
||||
</metadata>
|
||||
</root>
|
18
Graph/Filter/HexapodControl/HexapodControl.cpp
Normal file
18
Graph/Filter/HexapodControl/HexapodControl.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
// HexapodControl.cpp : main project file.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "Form1.h"
|
||||
|
||||
using namespace HexapodControl;
|
||||
|
||||
[STAThreadAttribute]
|
||||
int main(array<System::String ^> ^args)
|
||||
{
|
||||
// Enabling Windows XP visual effects before any controls are created
|
||||
Application::EnableVisualStyles();
|
||||
Application::SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
// Create the main window and run it
|
||||
Application::Run(gcnew Form1());
|
||||
return 0;
|
||||
}
|
272
Graph/Filter/HexapodControl/HexapodControl.vcproj
Normal file
272
Graph/Filter/HexapodControl/HexapodControl.vcproj
Normal file
@ -0,0 +1,272 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="HexapodControl"
|
||||
ProjectGUID="{5E2A1E52-680F-4834-9D61-9CB14992F2E6}"
|
||||
RootNamespace="HexapodControl"
|
||||
Keyword="ManagedCProj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
ManagedExtensions="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="2"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="Winmm.lib $(NOINHERIT)"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
AssemblyDebug="1"
|
||||
SubSystem="2"
|
||||
EntryPointSymbol="main"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
ManagedExtensions="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="2"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="Winmm.lib $(NOINHERIT)"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
EntryPointSymbol="main"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
<AssemblyReference
|
||||
RelativePath="System.dll"
|
||||
AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
|
||||
MinFrameworkVersion="131072"
|
||||
/>
|
||||
<AssemblyReference
|
||||
RelativePath="System.Data.dll"
|
||||
AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86"
|
||||
MinFrameworkVersion="131072"
|
||||
/>
|
||||
<AssemblyReference
|
||||
RelativePath="System.Drawing.dll"
|
||||
AssemblyName="System.Drawing, Version=2.0.0.0, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
|
||||
MinFrameworkVersion="131072"
|
||||
/>
|
||||
<AssemblyReference
|
||||
RelativePath="System.Windows.Forms.dll"
|
||||
AssemblyName="System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
|
||||
MinFrameworkVersion="131072"
|
||||
/>
|
||||
<AssemblyReference
|
||||
RelativePath="System.XML.dll"
|
||||
AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
|
||||
MinFrameworkVersion="131072"
|
||||
/>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\AssemblyInfo.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\HexapodControl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\stdafx.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Form1.h"
|
||||
FileType="3"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Form1.resX"
|
||||
SubType="Designer"
|
||||
>
|
||||
</File>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\resource.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\stdafx.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\app.ico"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\app.rc"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\ReadMe.txt"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="COMPUTER-M4A"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="COMPUTER-M4A"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="COMPUTER-M4A"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="COMPUTER-M4A"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
144
Graph/Filter/HexapodControl/HexapodControl.vcxproj
Normal file
144
Graph/Filter/HexapodControl/HexapodControl.vcxproj
Normal file
@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{5E2A1E52-680F-4834-9D61-9CB14992F2E6}</ProjectGuid>
|
||||
<RootNamespace>HexapodControl</RootNamespace>
|
||||
<Keyword>ManagedCProj</Keyword>
|
||||
<ProjectName>FilterGPS</ProjectName>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<LanguageStandard>Default</LanguageStandard>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Winmm.lib</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AssemblyDebug>true</AssemblyDebug>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EntryPointSymbol>main</EntryPointSymbol>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Winmm.lib</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EntryPointSymbol>main</EntryPointSymbol>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing">
|
||||
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms">
|
||||
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xml">
|
||||
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="AssemblyInfo.cpp" />
|
||||
<ClCompile Include="HexapodControl.cpp" />
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Filter.h" />
|
||||
<ClInclude Include="Form1.h">
|
||||
<FileType>CppForm</FileType>
|
||||
</ClInclude>
|
||||
<ClInclude Include="resource.h" />
|
||||
<ClInclude Include="stdafx.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.ico" />
|
||||
<None Include="ReadMe.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="app.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Form1.resX">
|
||||
<DependentUpon>Form1.h</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
53
Graph/Filter/HexapodControl/HexapodControl.vcxproj.filters
Normal file
53
Graph/Filter/HexapodControl/HexapodControl.vcxproj.filters
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="AssemblyInfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="HexapodControl.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Form1.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="resource.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="stdafx.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Filter.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.ico">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
<None Include="ReadMe.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="app.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
3
Graph/Filter/HexapodControl/HexapodControl.vcxproj.user
Normal file
3
Graph/Filter/HexapodControl/HexapodControl.vcxproj.user
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
</Project>
|
33
Graph/Filter/HexapodControl/ReadMe.txt
Normal file
33
Graph/Filter/HexapodControl/ReadMe.txt
Normal file
@ -0,0 +1,33 @@
|
||||
========================================================================
|
||||
APPLICATION : HexapodControl Project Overview
|
||||
========================================================================
|
||||
|
||||
AppWizard has created this HexapodControl Application for you.
|
||||
|
||||
This file contains a summary of what you will find in each of the files that
|
||||
make up your HexapodControl application.
|
||||
|
||||
HexapodControl.vcproj
|
||||
This is the main project file for VC++ projects generated using an Application Wizard.
|
||||
It contains information about the version of Visual C++ that generated the file, and
|
||||
information about the platforms, configurations, and project features selected with the
|
||||
Application Wizard.
|
||||
|
||||
HexapodControl.cpp
|
||||
This is the main application source file.
|
||||
Contains the code to display the form.
|
||||
|
||||
Form1.h
|
||||
Contains the implementation of your form class and InitializeComponent() function.
|
||||
|
||||
AssemblyInfo.cpp
|
||||
Contains custom attributes for modifying assembly metadata.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
Other standard files:
|
||||
|
||||
StdAfx.h, StdAfx.cpp
|
||||
These files are used to build a precompiled header (PCH) file
|
||||
named HexapodControl.pch and a precompiled types file named StdAfx.obj.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
@ -0,0 +1,2 @@
|
||||
#using <mscorlib.dll>
|
||||
[assembly: System::Runtime::Versioning::TargetFrameworkAttribute(L".NETFramework,Version=v4.7.2", FrameworkDisplayName=L".NET Framework 4.7.2")];
|
Binary file not shown.
BIN
Graph/Filter/HexapodControl/Release/AssemblyInfo.obj
Normal file
BIN
Graph/Filter/HexapodControl/Release/AssemblyInfo.obj
Normal file
Binary file not shown.
BIN
Graph/Filter/HexapodControl/Release/BuildLog.htm
Normal file
BIN
Graph/Filter/HexapodControl/Release/BuildLog.htm
Normal file
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\hexapodcontrol.pch
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\stdafx.obj
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\vc100.pdb
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\hexapodcontrol.obj
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\assemblyinfo.obj
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\.netframework,version=v4.0.assemblyattributes.obj
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\release\hexapodcontrol.exe
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\hexapodcontrol.exe.intermediate.manifest
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\release\hexapodcontrol.pdb
|
||||
d:\files\documents\trtu\robot\device\nano 168\hexapod v3\hexapodcontrol\hexapodcontrol\release\app.res
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.pch
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\vc143.pdb
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\stdafx.obj
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\hexapodcontrol.obj
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\assemblyinfo.obj
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\.netframework,version=v4.7.2.assemblyattributes.obj
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\release\filtergps.exe
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\release\filtergps.pdb
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\app.res
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\hexapodcontrol.vcxproj.suggestedbindingredirects.cache
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\hexapodcontrol.vcxprojresolveassemblyreference.cache
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\.netframework,version=v4.0.assemblyattributes.obj
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\cl.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\cl.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\cl.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\hexapodcontrol.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\link-cvtres.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\link-cvtres.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\link.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\link.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\link.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\mt.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\mt.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\mt.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\rc.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\rc.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\rc.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\hexapodcontrol.exe.intermediate.manifest
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\hexapodcontrol.pch
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\telemetry.pch
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\testintegrator.pch
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\vc100.pdb
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\cl.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\cl.items.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\cl.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\cl.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\link.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\link.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\link.secondary.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\link.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\metagen.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\metagen.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\rc.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\rc.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\rc.write.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\resgen.command.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\resgen.read.1.tlog
|
||||
d:\files\main\projects\fly\fly 2\graph\filter\hexapodcontrol\release\filtergps.tlog\resgen.write.1.tlog
|
11
Graph/Filter/HexapodControl/Release/FilterGPS.exe.recipe
Normal file
11
Graph/Filter/HexapodControl/Release/FilterGPS.exe.recipe
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\Release\FilterGPS.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
BIN
Graph/Filter/HexapodControl/Release/FilterGPS.pch
Normal file
BIN
Graph/Filter/HexapodControl/Release/FilterGPS.pch
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\AssemblyInfo.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\AssemblyInfo.obj
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\HexapodControl.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\HexapodControl.obj
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\stdafx.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\stdafx.obj
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.obj
|
@ -0,0 +1,2 @@
|
||||
PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.19041.0:TargetFrameworkVersion=v4.7.2::EnableManagedIncrementalBuild=true:
|
||||
Release|Win32|D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\|
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\HexapodControl.vcxproj
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\HexapodControl.vcxproj
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\HEXAPODCONTROL.VCXPROJ
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\HEXAPODCONTROL.VCXPROJ
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\RELEASE\FILTERGPS.EXE
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\RELEASE\FILTERGPS.EXE
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\RELEASE\.NETFRAMEWORK,VERSION=V4.7.2.ASSEMBLYATTRIBUTES.OBJ|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\RELEASE\APP.RES|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\RELEASE\ASSEMBLYINFO.OBJ|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.OBJ|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\FILTER\HEXAPODCONTROL\RELEASE\STDAFX.OBJ
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\.NETFRAMEWORK,VERSION=V4.0.ASSEMBLYATTRIBUTES.OBJ
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\APP.RES
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\ASSEMBLYINFO.OBJ
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\cl.command.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\CL.read.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\CL.write.1.tlog
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.EXE.INTERMEDIATE.MANIFEST
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\HexapodControl.Form1.resources
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.OBJ
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.PCH
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\HexapodControl.vcxproj.GenerateResource.Cache
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\HexapodControl.write.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\link.command.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\link.read.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\link.write.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\link-cvtres.read.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\link-cvtres.write.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\mt.command.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\mt.read.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\mt.write.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\rc.command.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\rc.read.1.tlog
|
||||
D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\HexapodControl\Release\rc.write.1.tlog
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\STDAFX.OBJ
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\HEXAPODCONTROL\RELEASE\VC100.PDB
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.EXE
|
||||
D:\FILES\DOCUMENTS\TRTU\ROBOT\DEVICE\NANO 168\HEXAPOD V3\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.PDB
|
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
#v4.0:v100
|
||||
Release|Win32|D:\Files\Documents\TRTU\Robot\device\Nano 168\Hexapod v3\HexapodControl\|
|
14
Graph/Filter/HexapodControl/Release/HexapodControl.log
Normal file
14
Graph/Filter/HexapodControl/Release/HexapodControl.log
Normal file
@ -0,0 +1,14 @@
|
||||
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(531,5): warning MSB8028: The intermediate directory (Release\) contains files shared from another project (Telemetry.vcxproj, TestIntegrator.vcxproj). This can lead to incorrect clean and rebuild behavior.
|
||||
stdafx.cpp
|
||||
AssemblyInfo.cpp
|
||||
HexapodControl.cpp
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\AssemblyInfo.cpp(40,46): warning C4947: 'System::Security::Permissions::SecurityAction::RequestMinimum': marked as obsolete
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Form1.h(24,19): warning C4305: 'initializing': truncation from 'double' to 'float'
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Form1.h(136,2): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Form1.h(164,12): warning C4018: '<': signed/unsigned mismatch
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Form1.h(1378,60): warning C4244: '=': conversion from 'wchar_t' to 'char', possible loss of data
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Form1.h(1542,21): warning C4305: 'initializing': truncation from 'double' to 'float'
|
||||
Generating Code...
|
||||
.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp
|
||||
LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
|
||||
HexapodControl.vcxproj -> D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\Release\FilterGPS.exe
|
BIN
Graph/Filter/HexapodControl/Release/HexapodControl.obj
Normal file
BIN
Graph/Filter/HexapodControl/Release/HexapodControl.obj
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
D:\Desktop\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.vcxproj.AssemblyReference.cache
|
||||
D:\Desktop\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.vcxproj.SuggestedBindingRedirects.cache
|
||||
D:\Desktop\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.Form1.resources
|
||||
D:\Desktop\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.vcxproj.GenerateResource.cache
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.vcxproj.AssemblyReference.cache
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.vcxproj.SuggestedBindingRedirects.cache
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.Form1.resources
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.vcxproj.GenerateResource.cache
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\HexapodControl.vcxproj.AssemblyReference.cache
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\HexapodControl.Form1.resources
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\HexapodControl.vcxproj.GenerateResource.cache
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\HexapodControl.vcxproj.AssemblyReference.cache
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\HexapodControl.Form1.resources
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Filter\HexapodControl\Release\HexapodControl.vcxproj.GenerateResource.cache
|
Binary file not shown.
11
Graph/Filter/HexapodControl/Release/Telemetry.exe.recipe
Normal file
11
Graph/Filter/HexapodControl/Release/Telemetry.exe.recipe
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\Release\Telemetry.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\AssemblyInfo.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\AssemblyInfo.obj
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\HexapodControl.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\HexapodControl.obj
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\stdafx.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\stdafx.obj
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp;D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.obj
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\HexapodControl.vcxproj
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\HexapodControl\HexapodControl.vcxproj
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\HEXAPODCONTROL.VCXPROJ
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\HEXAPODCONTROL.VCXPROJ
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\RELEASE\TELEMETRY.EXE
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\RELEASE\TELEMETRY.EXE
|
@ -0,0 +1,2 @@
|
||||
PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.19041.0:TargetFrameworkVersion=v4.7.2::EnableManagedIncrementalBuild=true:
|
||||
Release|Win32|D:\Files\Main\Projects\Fly\Fly 2\Graph\Telemetry\|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
^D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\RELEASE\.NETFRAMEWORK,VERSION=V4.7.2.ASSEMBLYATTRIBUTES.OBJ|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\RELEASE\APP.RES|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\RELEASE\ASSEMBLYINFO.OBJ|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\RELEASE\HEXAPODCONTROL.OBJ|D:\FILES\MAIN\PROJECTS\FLY\FLY 2\GRAPH\TELEMETRY\HEXAPODCONTROL\RELEASE\STDAFX.OBJ
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>D:\Files\Main\Projects\Suny\TestIntegrator\Release\TestIntegrator.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\AssemblyInfo.cpp;D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\AssemblyInfo.obj
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\HexapodControl.cpp;D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\HexapodControl.obj
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\stdafx.cpp;D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\stdafx.obj
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp;D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.obj
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\HexapodControl.vcxproj
|
||||
^D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\Files\Main\Projects\Suny\TestIntegrator\HexapodControl\HexapodControl.vcxproj
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\HEXAPODCONTROL.VCXPROJ
|
||||
^D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\HEXAPODCONTROL.VCXPROJ
|
@ -0,0 +1,4 @@
|
||||
^D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\RELEASE\TESTINTEGRATOR.EXE
|
||||
^D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\HEXAPODCONTROL\FORM1.RESX
|
||||
D:\FILES\MAIN\PROJECTS\SUNY\TESTINTEGRATOR\RELEASE\TESTINTEGRATOR.EXE
|
@ -0,0 +1,2 @@
|
||||
PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.36.32532:TargetPlatformVersion=10.0.19041.0:TargetFrameworkVersion=v4.7.2::EnableManagedIncrementalBuild=true:
|
||||
Release|Win32|D:\Files\Main\Projects\Suny\TestIntegrator\|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Graph/Filter/HexapodControl/Release/app.res
Normal file
BIN
Graph/Filter/HexapodControl/Release/app.res
Normal file
Binary file not shown.
1
Graph/Filter/HexapodControl/Release/mt.dep
Normal file
1
Graph/Filter/HexapodControl/Release/mt.dep
Normal file
@ -0,0 +1 @@
|
||||
Manifest resource last updated at 1:40:32,16 on 09.10.2014
|
BIN
Graph/Filter/HexapodControl/Release/stdafx.obj
Normal file
BIN
Graph/Filter/HexapodControl/Release/stdafx.obj
Normal file
Binary file not shown.
BIN
Graph/Filter/HexapodControl/Release/vc143.pdb
Normal file
BIN
Graph/Filter/HexapodControl/Release/vc143.pdb
Normal file
Binary file not shown.
BIN
Graph/Filter/HexapodControl/app.ico
Normal file
BIN
Graph/Filter/HexapodControl/app.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
63
Graph/Filter/HexapodControl/app.rc
Normal file
63
Graph/Filter/HexapodControl/app.rc
Normal file
@ -0,0 +1,63 @@
|
||||
// Microsoft Visual C++ generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (U.S.) resources
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon placed first or with lowest ID value becomes application icon
|
||||
|
||||
LANGUAGE 25, 1
|
||||
#pragma code_page(1251)
|
||||
1 ICON "app.ico"
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
"\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE
|
||||
BEGIN
|
||||
"#include ""afxres.h""\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
3
Graph/Filter/HexapodControl/resource.h
Normal file
3
Graph/Filter/HexapodControl/resource.h
Normal file
@ -0,0 +1,3 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by app.rc
|
7
Graph/Filter/HexapodControl/stdafx.cpp
Normal file
7
Graph/Filter/HexapodControl/stdafx.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
// stdafx.cpp : source file that includes just the standard includes
|
||||
// HexapodControl.pch will be the pre-compiled header
|
||||
// stdafx.obj will contain the pre-compiled type information
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
|
6
Graph/Filter/HexapodControl/stdafx.h
Normal file
6
Graph/Filter/HexapodControl/stdafx.h
Normal file
@ -0,0 +1,6 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
#pragma once
|
||||
|
||||
// TODO: reference additional headers your program requires here
|
BIN
Graph/Filter/Release/FilterGPS.exe
Normal file
BIN
Graph/Filter/Release/FilterGPS.exe
Normal file
Binary file not shown.
21
Graph/Filter/Release/FilterGPS.exe.metagen
Normal file
21
Graph/Filter/Release/FilterGPS.exe.metagen
Normal file
@ -0,0 +1,21 @@
|
||||
HexapodControl.Form1.resources - Embedded, ContainedInManifestFile,
|
||||
ImageRuntimeVersion: v4.0.30319
|
||||
Assembly FilterGPS, Version=1.0.*, Culture=Invariant Language (Invariant Country):
|
||||
hash=SHA1, flags=PublicKey
|
||||
Assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
|
||||
hash=None, flags=None
|
||||
Assembly System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
|
||||
hash=None, flags=None
|
||||
Assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
|
||||
hash=None, flags=None
|
||||
Assembly System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a:
|
||||
hash=None, flags=None
|
||||
Assembly System.Windows.Forms.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35:
|
||||
hash=None, flags=None
|
||||
Assembly System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
|
||||
hash=None, flags=None
|
||||
Assembly System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
|
||||
hash=None, flags=None
|
||||
Class HexapodControl.Form1: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
|
||||
:System.Windows.Forms.Form
|
||||
Void .ctor(): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
|
BIN
Graph/Filter/Release/FilterGPS.pdb
Normal file
BIN
Graph/Filter/Release/FilterGPS.pdb
Normal file
Binary file not shown.
BIN
Graph/Filter/Release/FilterGPS_OLD.exe
Normal file
BIN
Graph/Filter/Release/FilterGPS_OLD.exe
Normal file
Binary file not shown.
BIN
Graph/Filter/Release/Telemetry.exe
Normal file
BIN
Graph/Filter/Release/Telemetry.exe
Normal file
Binary file not shown.
20
Graph/Graph/FilterGPS.sln
Normal file
20
Graph/Graph/FilterGPS.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HexapodControl", "HexapodControl\HexapodControl.vcxproj", "{5E2A1E52-680F-4834-9D61-9CB14992F2E6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{5E2A1E52-680F-4834-9D61-9CB14992F2E6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
Graph/Graph/HexapodControl.suo
Normal file
BIN
Graph/Graph/HexapodControl.suo
Normal file
Binary file not shown.
40
Graph/Graph/HexapodControl/AssemblyInfo.cpp
Normal file
40
Graph/Graph/HexapodControl/AssemblyInfo.cpp
Normal file
@ -0,0 +1,40 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
using namespace System;
|
||||
using namespace System::Reflection;
|
||||
using namespace System::Runtime::CompilerServices;
|
||||
using namespace System::Runtime::InteropServices;
|
||||
using namespace System::Security::Permissions;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly:AssemblyTitleAttribute("FilterGPS")];
|
||||
[assembly:AssemblyDescriptionAttribute("")];
|
||||
[assembly:AssemblyConfigurationAttribute("")];
|
||||
[assembly:AssemblyCompanyAttribute("Microsoft")];
|
||||
[assembly:AssemblyProductAttribute("FilterGPS")];
|
||||
[assembly:AssemblyCopyrightAttribute("Copyright (c) Microsoft 2024")];
|
||||
[assembly:AssemblyTrademarkAttribute("")];
|
||||
[assembly:AssemblyCultureAttribute("")];
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the value or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly:AssemblyVersionAttribute("1.0.*")];
|
||||
|
||||
[assembly:ComVisible(false)];
|
||||
|
||||
[assembly:CLSCompliantAttribute(true)];
|
||||
|
||||
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];
|
53
Graph/Graph/HexapodControl/Filter.h
Normal file
53
Graph/Graph/HexapodControl/Filter.h
Normal file
@ -0,0 +1,53 @@
|
||||
#pragma once
|
||||
class Filter
|
||||
{
|
||||
public:
|
||||
|
||||
float Freq;
|
||||
|
||||
struct
|
||||
{
|
||||
float Value;
|
||||
//---
|
||||
float Min, Max;
|
||||
//---
|
||||
bool EnAcc;
|
||||
float Acc;
|
||||
//---
|
||||
bool EnGPS;
|
||||
float Width, Length;
|
||||
//---
|
||||
}Position;
|
||||
|
||||
|
||||
|
||||
struct
|
||||
{
|
||||
float ValueAccGPS;
|
||||
float ValueGPS;
|
||||
float Value;
|
||||
//---
|
||||
float Min, Max;
|
||||
//---
|
||||
bool EnAcc;
|
||||
float Acc;
|
||||
float AccGPS;
|
||||
//---
|
||||
bool EnGPS;
|
||||
float Width, Length;
|
||||
}Speed;
|
||||
|
||||
struct
|
||||
{
|
||||
float Pos[100];
|
||||
float Acc[100];
|
||||
float Spd[100];
|
||||
long Size, Index;
|
||||
}Delay;
|
||||
|
||||
float* Update(bool valid, float gps, float acc);
|
||||
|
||||
float Limit(float Value, float Min, float Max);
|
||||
float Minimum(float Value1, float Value2);
|
||||
|
||||
};
|
692
Graph/Graph/HexapodControl/Form1.h
Normal file
692
Graph/Graph/HexapodControl/Form1.h
Normal file
@ -0,0 +1,692 @@
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "Filter.h"
|
||||
|
||||
HANDLE PortCOM;
|
||||
HANDLE MainThread;
|
||||
|
||||
bool OnlineFilter = false;
|
||||
|
||||
bool AxeInverse = false;
|
||||
|
||||
float PlotsData[6];
|
||||
bool PlotsReady = false;
|
||||
|
||||
struct TeleLog
|
||||
{
|
||||
short GyrX, GyrY, GyrZ;
|
||||
short AccX, AccY, AccZ;
|
||||
};
|
||||
|
||||
int TeleAxe = 0;
|
||||
|
||||
void SaveLogFile(unsigned char data[12], unsigned long size)
|
||||
{
|
||||
TeleLog log;
|
||||
memcpy(&log, data, size);
|
||||
|
||||
PlotsData[0] = log.GyrX; PlotsData[3] = log.AccX;
|
||||
PlotsData[1] = log.GyrY; PlotsData[4] = log.AccY;
|
||||
PlotsData[2] = log.GyrZ; PlotsData[5] = log.AccZ;
|
||||
|
||||
PlotsReady = true;
|
||||
}
|
||||
|
||||
unsigned long __stdcall RecvThread(void*)
|
||||
{
|
||||
long wait = 0;
|
||||
|
||||
private enum class RecvModeEnum : char { Begin, Data };
|
||||
|
||||
bool mode = false;
|
||||
|
||||
unsigned char data[13];
|
||||
unsigned long size;
|
||||
|
||||
unsigned long len;
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (!PortCOM)
|
||||
{
|
||||
CloseHandle(MainThread);
|
||||
MainThread = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (wait < GetTickCount()) mode = false;
|
||||
|
||||
if (!mode)
|
||||
{
|
||||
wait = GetTickCount() + 20;
|
||||
|
||||
ReadFile(PortCOM, data, 1, &len, 0);
|
||||
if (!len) continue;
|
||||
if (data[0] == 'Z') mode = true;
|
||||
size = 0;
|
||||
}
|
||||
|
||||
if (mode)
|
||||
{
|
||||
ReadFile(PortCOM, data + size, sizeof(data) - size, &len, 0);
|
||||
if (!len) continue;
|
||||
size += len;
|
||||
if (size < sizeof(data)) continue;
|
||||
|
||||
if (data[12] == 'V') SaveLogFile(data, sizeof(data) - 1);
|
||||
|
||||
mode = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
namespace HexapodControl
|
||||
{
|
||||
|
||||
using namespace System;
|
||||
using namespace System::ComponentModel;
|
||||
using namespace System::Collections;
|
||||
using namespace System::Windows::Forms;
|
||||
using namespace System::Data;
|
||||
using namespace System::Drawing;
|
||||
using namespace System::IO;
|
||||
|
||||
/// <summary>
|
||||
/// Summary for Form1
|
||||
///
|
||||
/// WARNING: If you change the name of this class, you will need to change the
|
||||
/// 'Resource File Name' property for the managed resource compiler tool
|
||||
/// associated with all .resx files this class depends on. Otherwise,
|
||||
/// the designers will not be able to interact properly with localized
|
||||
/// resources associated with this form.
|
||||
/// </summary>
|
||||
public ref class Form1 : public System::Windows::Forms::Form
|
||||
{
|
||||
public:
|
||||
Form1(void)
|
||||
{
|
||||
InitializeComponent();
|
||||
//
|
||||
|
||||
}
|
||||
|
||||
protected:
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
|
||||
String^ RecordsFolder = "";
|
||||
private: System::Windows::Forms::OpenFileDialog^ openFileDialog_Open;
|
||||
|
||||
private: System::Windows::Forms::GroupBox^ groupBox1;
|
||||
private: System::Windows::Forms::CheckedListBox^ checkedListBox_List;
|
||||
private: System::Windows::Forms::CheckBox^ checkBox_Auto;
|
||||
private: System::Windows::Forms::Label^ label2;
|
||||
private: System::Windows::Forms::Label^ label1;
|
||||
private: System::Windows::Forms::NumericUpDown^ numericUpDown_Graph_MinY;
|
||||
private: System::Windows::Forms::NumericUpDown^ numericUpDown_Track;
|
||||
private: System::Windows::Forms::Label^ label3;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private: System::Windows::Forms::Panel^ panel3;
|
||||
private: System::Windows::Forms::Panel^ panel4;
|
||||
|
||||
|
||||
private: System::Windows::Forms::Button^ button_Connect;
|
||||
|
||||
private: System::Windows::Forms::ComboBox^ comboBox_Port;
|
||||
private: System::Windows::Forms::Timer^ timer_Tick;
|
||||
|
||||
|
||||
|
||||
private: System::Windows::Forms::ComboBox^ comboBox_Baud;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private: System::Windows::Forms::NumericUpDown^ numericUpDown_Graph_MaxY;
|
||||
|
||||
protected:
|
||||
|
||||
protected:
|
||||
/// </summary>
|
||||
~Form1()
|
||||
{
|
||||
if (components)
|
||||
{
|
||||
delete components;
|
||||
}
|
||||
}
|
||||
private: System::Windows::Forms::DataVisualization::Charting::Chart^ chart_Graph;
|
||||
protected:
|
||||
|
||||
|
||||
private: System::Windows::Forms::Panel^ panel1;
|
||||
|
||||
|
||||
|
||||
private: System::Windows::Forms::GroupBox^ groupBox_P1;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private: System::ComponentModel::IContainer^ components;
|
||||
private:
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
|
||||
|
||||
#pragma region Windows Form Designer generated code
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
void InitializeComponent(void)
|
||||
{
|
||||
this->components = (gcnew System::ComponentModel::Container());
|
||||
System::Windows::Forms::DataVisualization::Charting::ChartArea^ chartArea1 = (gcnew System::Windows::Forms::DataVisualization::Charting::ChartArea());
|
||||
System::Windows::Forms::DataVisualization::Charting::Legend^ legend1 = (gcnew System::Windows::Forms::DataVisualization::Charting::Legend());
|
||||
System::Windows::Forms::DataVisualization::Charting::Series^ series1 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
|
||||
System::Windows::Forms::DataVisualization::Charting::Series^ series2 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
|
||||
System::Windows::Forms::DataVisualization::Charting::Series^ series3 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
|
||||
System::Windows::Forms::DataVisualization::Charting::Series^ series4 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
|
||||
System::Windows::Forms::DataVisualization::Charting::Series^ series5 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
|
||||
System::Windows::Forms::DataVisualization::Charting::Series^ series6 = (gcnew System::Windows::Forms::DataVisualization::Charting::Series());
|
||||
this->chart_Graph = (gcnew System::Windows::Forms::DataVisualization::Charting::Chart());
|
||||
this->panel1 = (gcnew System::Windows::Forms::Panel());
|
||||
this->panel3 = (gcnew System::Windows::Forms::Panel());
|
||||
this->comboBox_Baud = (gcnew System::Windows::Forms::ComboBox());
|
||||
this->button_Connect = (gcnew System::Windows::Forms::Button());
|
||||
this->comboBox_Port = (gcnew System::Windows::Forms::ComboBox());
|
||||
this->groupBox_P1 = (gcnew System::Windows::Forms::GroupBox());
|
||||
this->openFileDialog_Open = (gcnew System::Windows::Forms::OpenFileDialog());
|
||||
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
|
||||
this->panel4 = (gcnew System::Windows::Forms::Panel());
|
||||
this->checkedListBox_List = (gcnew System::Windows::Forms::CheckedListBox());
|
||||
this->checkBox_Auto = (gcnew System::Windows::Forms::CheckBox());
|
||||
this->numericUpDown_Track = (gcnew System::Windows::Forms::NumericUpDown());
|
||||
this->numericUpDown_Graph_MaxY = (gcnew System::Windows::Forms::NumericUpDown());
|
||||
this->label3 = (gcnew System::Windows::Forms::Label());
|
||||
this->numericUpDown_Graph_MinY = (gcnew System::Windows::Forms::NumericUpDown());
|
||||
this->label2 = (gcnew System::Windows::Forms::Label());
|
||||
this->label1 = (gcnew System::Windows::Forms::Label());
|
||||
this->timer_Tick = (gcnew System::Windows::Forms::Timer(this->components));
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->chart_Graph))->BeginInit();
|
||||
this->panel1->SuspendLayout();
|
||||
this->panel3->SuspendLayout();
|
||||
this->groupBox_P1->SuspendLayout();
|
||||
this->groupBox1->SuspendLayout();
|
||||
this->panel4->SuspendLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->numericUpDown_Track))->BeginInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->numericUpDown_Graph_MaxY))->BeginInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->numericUpDown_Graph_MinY))->BeginInit();
|
||||
this->SuspendLayout();
|
||||
//
|
||||
// chart_Graph
|
||||
//
|
||||
chartArea1->Name = L"ChartArea1";
|
||||
this->chart_Graph->ChartAreas->Add(chartArea1);
|
||||
this->chart_Graph->Dock = System::Windows::Forms::DockStyle::Fill;
|
||||
legend1->Name = L"Legend1";
|
||||
this->chart_Graph->Legends->Add(legend1);
|
||||
this->chart_Graph->Location = System::Drawing::Point(3, 16);
|
||||
this->chart_Graph->Name = L"chart_Graph";
|
||||
series1->ChartArea = L"ChartArea1";
|
||||
series1->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::FastLine;
|
||||
series1->Color = System::Drawing::Color::Blue;
|
||||
series1->Legend = L"Legend1";
|
||||
series1->Name = L"GyrX";
|
||||
series1->XValueType = System::Windows::Forms::DataVisualization::Charting::ChartValueType::Double;
|
||||
series1->YValueType = System::Windows::Forms::DataVisualization::Charting::ChartValueType::Double;
|
||||
series2->ChartArea = L"ChartArea1";
|
||||
series2->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::FastLine;
|
||||
series2->Color = System::Drawing::Color::Red;
|
||||
series2->Legend = L"Legend1";
|
||||
series2->Name = L"GyrY";
|
||||
series2->XValueType = System::Windows::Forms::DataVisualization::Charting::ChartValueType::Double;
|
||||
series2->YValueType = System::Windows::Forms::DataVisualization::Charting::ChartValueType::Double;
|
||||
series3->ChartArea = L"ChartArea1";
|
||||
series3->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::FastLine;
|
||||
series3->Color = System::Drawing::Color::Fuchsia;
|
||||
series3->Legend = L"Legend1";
|
||||
series3->Name = L"GyrZ";
|
||||
series3->XValueType = System::Windows::Forms::DataVisualization::Charting::ChartValueType::Double;
|
||||
series3->YValueType = System::Windows::Forms::DataVisualization::Charting::ChartValueType::Double;
|
||||
series4->BorderWidth = 2;
|
||||
series4->ChartArea = L"ChartArea1";
|
||||
series4->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::FastLine;
|
||||
series4->Color = System::Drawing::Color::Black;
|
||||
series4->Legend = L"Legend1";
|
||||
series4->Name = L"AccX";
|
||||
series5->ChartArea = L"ChartArea1";
|
||||
series5->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::FastLine;
|
||||
series5->Color = System::Drawing::Color::Green;
|
||||
series5->Legend = L"Legend1";
|
||||
series5->Name = L"AccY";
|
||||
series6->BorderWidth = 2;
|
||||
series6->ChartArea = L"ChartArea1";
|
||||
series6->ChartType = System::Windows::Forms::DataVisualization::Charting::SeriesChartType::FastLine;
|
||||
series6->Color = System::Drawing::Color::Tomato;
|
||||
series6->Legend = L"Legend1";
|
||||
series6->Name = L"AccZ";
|
||||
this->chart_Graph->Series->Add(series1);
|
||||
this->chart_Graph->Series->Add(series2);
|
||||
this->chart_Graph->Series->Add(series3);
|
||||
this->chart_Graph->Series->Add(series4);
|
||||
this->chart_Graph->Series->Add(series5);
|
||||
this->chart_Graph->Series->Add(series6);
|
||||
this->chart_Graph->Size = System::Drawing::Size(689, 669);
|
||||
this->chart_Graph->TabIndex = 1;
|
||||
this->chart_Graph->Text = L"chart1";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this->panel1->Controls->Add(this->panel3);
|
||||
this->panel1->Dock = System::Windows::Forms::DockStyle::Left;
|
||||
this->panel1->Location = System::Drawing::Point(0, 0);
|
||||
this->panel1->Name = L"panel1";
|
||||
this->panel1->Size = System::Drawing::Size(135, 688);
|
||||
this->panel1->TabIndex = 2;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this->panel3->Controls->Add(this->comboBox_Baud);
|
||||
this->panel3->Controls->Add(this->button_Connect);
|
||||
this->panel3->Controls->Add(this->comboBox_Port);
|
||||
this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
|
||||
this->panel3->Location = System::Drawing::Point(0, 0);
|
||||
this->panel3->Name = L"panel3";
|
||||
this->panel3->Size = System::Drawing::Size(135, 75);
|
||||
this->panel3->TabIndex = 9;
|
||||
//
|
||||
// comboBox_Baud
|
||||
//
|
||||
this->comboBox_Baud->FormattingEnabled = true;
|
||||
this->comboBox_Baud->Items->AddRange(gcnew cli::array< System::Object^ >(3) { L"57600", L"115200", L"230400" });
|
||||
this->comboBox_Baud->Location = System::Drawing::Point(5, 43);
|
||||
this->comboBox_Baud->Name = L"comboBox_Baud";
|
||||
this->comboBox_Baud->Size = System::Drawing::Size(124, 21);
|
||||
this->comboBox_Baud->TabIndex = 26;
|
||||
this->comboBox_Baud->Text = L"115200";
|
||||
//
|
||||
// button_Connect
|
||||
//
|
||||
this->button_Connect->Location = System::Drawing::Point(5, 14);
|
||||
this->button_Connect->Name = L"button_Connect";
|
||||
this->button_Connect->Size = System::Drawing::Size(64, 23);
|
||||
this->button_Connect->TabIndex = 10;
|
||||
this->button_Connect->Text = L"Connect";
|
||||
this->button_Connect->UseVisualStyleBackColor = true;
|
||||
this->button_Connect->Click += gcnew System::EventHandler(this, &Form1::button_Connect_Click);
|
||||
//
|
||||
// comboBox_Port
|
||||
//
|
||||
this->comboBox_Port->FormattingEnabled = true;
|
||||
this->comboBox_Port->Location = System::Drawing::Point(75, 16);
|
||||
this->comboBox_Port->Name = L"comboBox_Port";
|
||||
this->comboBox_Port->Size = System::Drawing::Size(54, 21);
|
||||
this->comboBox_Port->TabIndex = 9;
|
||||
this->comboBox_Port->DropDown += gcnew System::EventHandler(this, &Form1::comboBox_Port_DropDown);
|
||||
//
|
||||
// groupBox_P1
|
||||
//
|
||||
this->groupBox_P1->Controls->Add(this->chart_Graph);
|
||||
this->groupBox_P1->Dock = System::Windows::Forms::DockStyle::Fill;
|
||||
this->groupBox_P1->Location = System::Drawing::Point(135, 0);
|
||||
this->groupBox_P1->MinimumSize = System::Drawing::Size(676, 688);
|
||||
this->groupBox_P1->Name = L"groupBox_P1";
|
||||
this->groupBox_P1->Size = System::Drawing::Size(695, 688);
|
||||
this->groupBox_P1->TabIndex = 3;
|
||||
this->groupBox_P1->TabStop = false;
|
||||
//
|
||||
// openFileDialog_Open
|
||||
//
|
||||
this->openFileDialog_Open->FileName = L"openFileDialog1";
|
||||
this->openFileDialog_Open->Multiselect = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this->groupBox1->Controls->Add(this->panel4);
|
||||
this->groupBox1->Dock = System::Windows::Forms::DockStyle::Right;
|
||||
this->groupBox1->Location = System::Drawing::Point(830, 0);
|
||||
this->groupBox1->Name = L"groupBox1";
|
||||
this->groupBox1->Size = System::Drawing::Size(128, 688);
|
||||
this->groupBox1->TabIndex = 4;
|
||||
this->groupBox1->TabStop = false;
|
||||
this->groupBox1->Text = L" options ";
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this->panel4->Controls->Add(this->checkedListBox_List);
|
||||
this->panel4->Controls->Add(this->checkBox_Auto);
|
||||
this->panel4->Controls->Add(this->numericUpDown_Track);
|
||||
this->panel4->Controls->Add(this->numericUpDown_Graph_MaxY);
|
||||
this->panel4->Controls->Add(this->label3);
|
||||
this->panel4->Controls->Add(this->numericUpDown_Graph_MinY);
|
||||
this->panel4->Controls->Add(this->label2);
|
||||
this->panel4->Controls->Add(this->label1);
|
||||
this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
|
||||
this->panel4->Location = System::Drawing::Point(3, 16);
|
||||
this->panel4->Name = L"panel4";
|
||||
this->panel4->Size = System::Drawing::Size(122, 245);
|
||||
this->panel4->TabIndex = 9;
|
||||
//
|
||||
// checkedListBox_List
|
||||
//
|
||||
this->checkedListBox_List->Dock = System::Windows::Forms::DockStyle::Top;
|
||||
this->checkedListBox_List->FormattingEnabled = true;
|
||||
this->checkedListBox_List->Location = System::Drawing::Point(0, 0);
|
||||
this->checkedListBox_List->Name = L"checkedListBox_List";
|
||||
this->checkedListBox_List->Size = System::Drawing::Size(122, 109);
|
||||
this->checkedListBox_List->TabIndex = 0;
|
||||
this->checkedListBox_List->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::checkedListBox_List_SelectedIndexChanged);
|
||||
this->checkedListBox_List->DoubleClick += gcnew System::EventHandler(this, &Form1::checkedListBox_List_SelectedIndexChanged);
|
||||
//
|
||||
// checkBox_Auto
|
||||
//
|
||||
this->checkBox_Auto->AutoSize = true;
|
||||
this->checkBox_Auto->Checked = true;
|
||||
this->checkBox_Auto->CheckState = System::Windows::Forms::CheckState::Checked;
|
||||
this->checkBox_Auto->Location = System::Drawing::Point(20, 118);
|
||||
this->checkBox_Auto->Name = L"checkBox_Auto";
|
||||
this->checkBox_Auto->Size = System::Drawing::Size(47, 17);
|
||||
this->checkBox_Auto->TabIndex = 1;
|
||||
this->checkBox_Auto->Text = L"auto";
|
||||
this->checkBox_Auto->UseVisualStyleBackColor = true;
|
||||
this->checkBox_Auto->CheckedChanged += gcnew System::EventHandler(this, &Form1::checkBox_Auto_CheckedChanged);
|
||||
//
|
||||
// numericUpDown_Track
|
||||
//
|
||||
this->numericUpDown_Track->Location = System::Drawing::Point(44, 203);
|
||||
this->numericUpDown_Track->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1000, 0, 0, 0 });
|
||||
this->numericUpDown_Track->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
|
||||
this->numericUpDown_Track->Name = L"numericUpDown_Track";
|
||||
this->numericUpDown_Track->Size = System::Drawing::Size(57, 20);
|
||||
this->numericUpDown_Track->TabIndex = 7;
|
||||
this->numericUpDown_Track->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) { 200, 0, 0, 0 });
|
||||
//
|
||||
// numericUpDown_Graph_MaxY
|
||||
//
|
||||
this->numericUpDown_Graph_MaxY->Location = System::Drawing::Point(53, 143);
|
||||
this->numericUpDown_Graph_MaxY->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 10000, 0, 0, 0 });
|
||||
this->numericUpDown_Graph_MaxY->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
|
||||
this->numericUpDown_Graph_MaxY->Name = L"numericUpDown_Graph_MaxY";
|
||||
this->numericUpDown_Graph_MaxY->Size = System::Drawing::Size(60, 20);
|
||||
this->numericUpDown_Graph_MaxY->TabIndex = 2;
|
||||
this->numericUpDown_Graph_MaxY->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) { 3, 0, 0, 0 });
|
||||
this->numericUpDown_Graph_MaxY->ValueChanged += gcnew System::EventHandler(this, &Form1::numericUpDown_Graph_MaxY_ValueChanged);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this->label3->AutoSize = true;
|
||||
this->label3->Location = System::Drawing::Point(6, 205);
|
||||
this->label3->Name = L"label3";
|
||||
this->label3->Size = System::Drawing::Size(38, 13);
|
||||
this->label3->TabIndex = 6;
|
||||
this->label3->Text = L"Track:";
|
||||
//
|
||||
// numericUpDown_Graph_MinY
|
||||
//
|
||||
this->numericUpDown_Graph_MinY->Location = System::Drawing::Point(53, 169);
|
||||
this->numericUpDown_Graph_MinY->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, System::Int32::MinValue });
|
||||
this->numericUpDown_Graph_MinY->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 10000, 0, 0, System::Int32::MinValue });
|
||||
this->numericUpDown_Graph_MinY->Name = L"numericUpDown_Graph_MinY";
|
||||
this->numericUpDown_Graph_MinY->Size = System::Drawing::Size(60, 20);
|
||||
this->numericUpDown_Graph_MinY->TabIndex = 3;
|
||||
this->numericUpDown_Graph_MinY->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) { 3, 0, 0, System::Int32::MinValue });
|
||||
this->numericUpDown_Graph_MinY->ValueChanged += gcnew System::EventHandler(this, &Form1::numericUpDown_Graph_MaxY_ValueChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this->label2->AutoSize = true;
|
||||
this->label2->Location = System::Drawing::Point(9, 171);
|
||||
this->label2->Name = L"label2";
|
||||
this->label2->Size = System::Drawing::Size(37, 13);
|
||||
this->label2->TabIndex = 5;
|
||||
this->label2->Text = L"Min Y:";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this->label1->AutoSize = true;
|
||||
this->label1->Location = System::Drawing::Point(6, 145);
|
||||
this->label1->Name = L"label1";
|
||||
this->label1->Size = System::Drawing::Size(40, 13);
|
||||
this->label1->TabIndex = 4;
|
||||
this->label1->Text = L"Max Y:";
|
||||
//
|
||||
// timer_Tick
|
||||
//
|
||||
this->timer_Tick->Interval = 1;
|
||||
this->timer_Tick->Tick += gcnew System::EventHandler(this, &Form1::timer_Tick_Tick);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
||||
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
||||
this->ClientSize = System::Drawing::Size(958, 688);
|
||||
this->Controls->Add(this->groupBox_P1);
|
||||
this->Controls->Add(this->groupBox1);
|
||||
this->Controls->Add(this->panel1);
|
||||
this->MinimumSize = System::Drawing::Size(974, 727);
|
||||
this->Name = L"Form1";
|
||||
this->Text = L"Filter Tuning GPS";
|
||||
this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->chart_Graph))->EndInit();
|
||||
this->panel1->ResumeLayout(false);
|
||||
this->panel3->ResumeLayout(false);
|
||||
this->groupBox_P1->ResumeLayout(false);
|
||||
this->groupBox1->ResumeLayout(false);
|
||||
this->panel4->ResumeLayout(false);
|
||||
this->panel4->PerformLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->numericUpDown_Track))->EndInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->numericUpDown_Graph_MaxY))->EndInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->numericUpDown_Graph_MinY))->EndInit();
|
||||
this->ResumeLayout(false);
|
||||
|
||||
}
|
||||
#pragma endregion
|
||||
|
||||
private: void ToCharString(String^ str1, char* str2)
|
||||
{
|
||||
for (int a = 0; a < str1->Length; a++) *str2++ = str1[a];
|
||||
*str2 = '\0';
|
||||
}
|
||||
|
||||
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
comboBox_Port_DropDown(sender, e);
|
||||
if (comboBox_Port->Items->Count > 0) comboBox_Port->Text = comboBox_Port->Items[0]->ToString();
|
||||
|
||||
for each (auto s in chart_Graph->Series)
|
||||
{
|
||||
checkedListBox_List->Items->Add(s->Name, true);
|
||||
}
|
||||
|
||||
numericUpDown_Graph_MaxY_ValueChanged(sender, e);
|
||||
}
|
||||
|
||||
private: System::Collections::Generic::List<float>^ MainDataVaildGPS = gcnew System::Collections::Generic::List<float>();
|
||||
private: System::Collections::Generic::List<array<float>^>^ MainDataRecord = gcnew System::Collections::Generic::List<array<float>^>();
|
||||
|
||||
|
||||
private: System::Void checkedListBox_List_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
for (int a = 0; a < checkedListBox_List->Items->Count; a++)
|
||||
{
|
||||
chart_Graph->Series[a]->Enabled = checkedListBox_List->GetItemChecked(a);
|
||||
}
|
||||
}
|
||||
|
||||
private: System::Void checkBox_Auto_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
if (checkBox_Auto->Checked)
|
||||
{
|
||||
chart_Graph->ChartAreas[0]->AxisY->Interval = double::NaN;
|
||||
chart_Graph->ChartAreas[0]->AxisY->Minimum = double::NaN;
|
||||
chart_Graph->ChartAreas[0]->AxisY->Maximum = double::NaN;
|
||||
numericUpDown_Graph_MinY->Enabled = false;
|
||||
numericUpDown_Graph_MaxY->Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
chart_Graph->ChartAreas[0]->AxisY->Interval = double::NaN;
|
||||
numericUpDown_Graph_MaxY_ValueChanged(sender, e);
|
||||
numericUpDown_Graph_MinY->Enabled = true;
|
||||
numericUpDown_Graph_MaxY->Enabled = true;
|
||||
}
|
||||
}
|
||||
private: System::Void numericUpDown_Graph_MaxY_ValueChanged(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
if (checkBox_Auto->Checked) return;
|
||||
chart_Graph->ChartAreas[0]->AxisY->Minimum = (double)numericUpDown_Graph_MinY->Value;
|
||||
chart_Graph->ChartAreas[0]->AxisY->Maximum = (double)numericUpDown_Graph_MaxY->Value;
|
||||
}
|
||||
|
||||
private: System::Void comboBox_Port_DropDown(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
comboBox_Port->Items->Clear();
|
||||
for each (String ^ p in System::IO::Ports::SerialPort::GetPortNames())
|
||||
{
|
||||
comboBox_Port->Items->Add(p);
|
||||
}
|
||||
}
|
||||
|
||||
private: System::Void button_Connect_Click(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
if (button_Connect->Text == "Connect")
|
||||
{
|
||||
long baud;
|
||||
try
|
||||
{
|
||||
baud = Convert::ToInt32(comboBox_Baud->Text);
|
||||
comboBox_Baud->Text = baud.ToString();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
MessageBox::Show("Error to set baud", "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
||||
return;
|
||||
}
|
||||
|
||||
char text[128] = "\\\\.\\";
|
||||
|
||||
ToCharString(comboBox_Port->Text, text + 4);
|
||||
|
||||
PortCOM = CreateFileA(text, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0);
|
||||
if (PortCOM == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
PortCOM = 0;
|
||||
MessageBox::Show("Error to connect", "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
||||
return;
|
||||
}
|
||||
//---
|
||||
DCB serial = { sizeof(serial) };
|
||||
GetCommState(PortCOM, &serial);
|
||||
serial.BaudRate = baud;
|
||||
serial.ByteSize = 8;
|
||||
serial.StopBits = ONESTOPBIT;
|
||||
serial.Parity = NOPARITY;
|
||||
SetCommState(PortCOM, &serial);
|
||||
//---
|
||||
COMMTIMEOUTS tim;
|
||||
GetCommTimeouts(PortCOM, &tim);
|
||||
tim.ReadIntervalTimeout = 1;
|
||||
tim.ReadTotalTimeoutConstant = 1;
|
||||
tim.ReadTotalTimeoutMultiplier = 1;
|
||||
SetCommTimeouts(PortCOM, &tim);
|
||||
//---
|
||||
timer_Tick->Enabled = true;
|
||||
button_Connect->Text = "Disonnect";
|
||||
//---
|
||||
for (int a = 0; a < chart_Graph->Series->Count; a++) chart_Graph->Series[a]->Points->Clear();
|
||||
//---
|
||||
MainThread = CreateThread(0, 0, RecvThread, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
CloseHandle(PortCOM);
|
||||
PortCOM = 0;
|
||||
timer_Tick->Enabled = false;
|
||||
button_Connect->Text = "Connect";
|
||||
}
|
||||
}
|
||||
|
||||
private: System::Void timer_Tick_Tick(System::Object^ sender, System::EventArgs^ e)
|
||||
{
|
||||
if (!PlotsReady) return;
|
||||
PlotsReady = false;
|
||||
|
||||
for (int a = 0; a < chart_Graph->Series->Count; a++)
|
||||
{
|
||||
chart_Graph->Series[a]->Points->AddY((double)PlotsData[a]);
|
||||
while (chart_Graph->Series[a]->Points->Count > numericUpDown_Track->Value) chart_Graph->Series[a]->Points->RemoveAt(0);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user