#17 closed feature (fixed)
Create the TDA
| Reported by: | Henrik Heimbuerger | Owned by: | Florian Roth |
|---|---|---|---|
| Priority: | critical | Milestone: | MS1: First release (1.0.0) |
| Component: | racelogic | Version: | pre-1.0 |
| Keywords: | tda | Cc: |
Description
The Track Data Approximator is supposed to take whatever the sensor data the slot car track control technology in use can deliver and extrapolate car positions that can be displayed on the screen.
It is an abstraction layer that hides the fact that not all technologies deliver the same kind of data, e.g. some only have a small set of checkpoints, some deliver acceleration data, etc.
The TDA probably needs to be subclassed for each control technology used.
Change History (30)
comment:1 Changed 18 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 18 years ago by
| Owner: | changed from Henrik Heimbuerger to somebody |
|---|
comment:3 Changed 18 years ago by
| Component: | unspecified → racelogic |
|---|---|
| Priority: | major → critical |
| Type: | enhancement → feature |
comment:4 Changed 18 years ago by
| Owner: | changed from somebody to Henrik Heimbuerger |
|---|---|
| Status: | assigned → accepted |
comment:5 Changed 18 years ago by
comment:6 Changed 18 years ago by
comment:7 Changed 18 years ago by
| Owner: | changed from Henrik Heimbuerger to nobody |
|---|---|
| Status: | accepted → assigned |
comment:8 Changed 18 years ago by
Remember that the TDA also needs to detect whether the car has left the track, f.e. due to speeding.
comment:9 Changed 18 years ago by
New commit by froth (revision [304]):
[Related to ticket #17] integrated the TDA in the SlotCarSystemConnector?
So now every special TDA will be created in the SlotCarSystemFactory? and sticked to an SlotCarSystemConnector? delivered by it to a Player.
I also added stubs for the several TDA's
comment:10 Changed 18 years ago by
New commit by froth (revision [315]):
[Related to ticket #17] changed the intantiation way and moment in application for the TDAs
now every player will get an specified by its DriveConnector? interface TDA in RaceEngine? on start.
So now every TDA instance is persistent during one race. Therefore I added an TDAInjectorFactory.
comment:11 Changed 18 years ago by
comment:12 Changed 18 years ago by
comment:13 Changed 18 years ago by
comment:14 Changed 18 years ago by
comment:15 Changed 18 years ago by
comment:16 Changed 18 years ago by
I am in checking out a basic concept to do in further calculation on physical bits and pieces for general approximation in tda between to known checkpoints.
First step would be check out:
- carculate the way checkponit x to y in steps (how can i do this)
- calculate the current speed in steps per gametick
- calculate the time needed with current speed in gameticks to next checkpoint y
...
to be continued
comment:17 Changed 18 years ago by
| Owner: | changed from nobody to Florian Roth |
|---|
comment:18 Changed 18 years ago by
comment:19 Changed 18 years ago by
comment:20 Changed 18 years ago by
New commit by froth (revision [374]):
[Related to ticket #17] finished first tda with approximated illusion to the real attitude of a car on track
- Added new TDA version
- Fixed an bug in constructor of CheckpointData?
- Changed an step attribute in tiles.xml to recommended value
- Added the new TDA phisical engine to the ExperimentalLib42TDA
Further description about this TDA physics below
comment:21 Changed 18 years ago by
The physics of the current TDA's are not as usual. To get the break effect I did the following because I did not figgure out the acceleration approximation. But Iam happy now to have an speed addicted break effect.
speed = Math.max(Math.min((acceleration * raceTimerInterval) + (friction * raceTimerInterval) + speed, car
.getTopSpeed()), 0);
if(speed > getMaxSpeed(controllerSignal.getSpeed(), car)) {
if(getMaxSpeed(controllerSignal.getSpeed(), car) == 0)
speed--;
else
speed = getMaxSpeed(controllerSignal.getSpeed(), car);
}
comment:22 Changed 18 years ago by
comment:23 Changed 18 years ago by
comment:24 Changed 18 years ago by
Maybe we can do that a car only leafs track in a curve. Maybe we can include in this physics the angel of the curve. ..
comment:25 Changed 18 years ago by
comment:26 Changed 18 years ago by
New commit by froth (revision [384]):
[Related to ticket #17] refactored ControlerSignal? speed to thrust
We discussed this and thrust is better for this
comment:27 Changed 18 years ago by
comment:28 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Lib42TDA v0.1 (c) and SimulationTDA v0.1 (c) released.

New commit by hheimbuerger (revision [233]):
[Partial fix for ticket #17] Created TDA integration and added FeedbackSignal integration.