-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,494 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.25420.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Nesne Tabanlı Programlama I - Proje", "Nesne Tabanlı Programlama I - Proje\Nesne Tabanlı Programlama I - Proje.vcxproj", "{70BF864F-193A-4D0B-B337-3AF969661238}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Debug|x64.ActiveCfg = Debug|x64 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Debug|x64.Build.0 = Debug|x64 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Debug|x86.ActiveCfg = Debug|Win32 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Debug|x86.Build.0 = Debug|Win32 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Release|x64.ActiveCfg = Release|x64 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Release|x64.Build.0 = Release|x64 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Release|x86.ActiveCfg = Release|Win32 | ||
{70BF864F-193A-4D0B-B337-3AF969661238}.Release|x86.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#include "LaserSensor.h" | ||
|
||
|
||
|
||
LaserSensor::LaserSensor() | ||
{ | ||
} | ||
|
||
float LaserSensor::getRange(int index) | ||
{ | ||
return 0; | ||
} | ||
|
||
void LaserSensor::setRange(float range[]) | ||
{ | ||
|
||
} | ||
|
||
void LaserSensor::updateSensor(float ranges[]) | ||
{ | ||
|
||
} | ||
|
||
float LaserSensor::getMax() | ||
{ | ||
return this->max; | ||
} | ||
|
||
float LaserSensor::getMin() | ||
{ | ||
return this -> min; | ||
} | ||
|
||
float LaserSensor::operator[](int i) | ||
{ | ||
return 0.0f; | ||
} | ||
|
||
|
||
|
||
LaserSensor::~LaserSensor() | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
#include "RangeSensor.h" | ||
//Eklenen Birþey Varsa burasý düzeltilecek açýklama yok getRange diye birþey almamýz mümkün deðil | ||
class LaserSensor : public RangeSensor | ||
{ | ||
float min; | ||
float max; | ||
string type; | ||
public: | ||
LaserSensor(); | ||
float getRange(int index); | ||
void setRange(float range[]); | ||
void updateSensor(float ranges[]); | ||
float getMax(); | ||
float getMin(); | ||
float operator[](int i); | ||
~LaserSensor(); | ||
|
||
}; | ||
|
Oops, something went wrong.