Skip to content

Commit

Permalink
Sources
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyucesoy committed Mar 5, 2019
1 parent aabf2af commit 33aed74
Show file tree
Hide file tree
Showing 43 changed files with 1,494 additions and 0 deletions.
Binary file added Nesne Tabanlı Programlama I - Proje.VC.db
Binary file not shown.
28 changes: 28 additions & 0 deletions Nesne Tabanlı Programlama I - Proje.sln
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
43 changes: 43 additions & 0 deletions Nesne Tabanlı Programlama I - Proje/LaserSensor.cpp
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()
{
}
20 changes: 20 additions & 0 deletions Nesne Tabanlı Programlama I - Proje/LaserSensor.h
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();

};

Loading

0 comments on commit 33aed74

Please sign in to comment.