Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingJonas committed Jan 8, 2018
1 parent 77dca78 commit d153d2c
Show file tree
Hide file tree
Showing 62 changed files with 64 additions and 63 deletions.
4 changes: 2 additions & 2 deletions .torcs.rc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TORCS_BASE = /home/jonas/torcs-1.3.7
MAKE_DEFAULT = /home/jonas/torcs-1.3.7/Make-default.mk
TORCS_BASE = /home/jonas/torcs/torcs-1.3.7
MAKE_DEFAULT = /home/jonas/torcs/torcs-1.3.7/Make-default.mk
2 changes: 1 addition & 1 deletion export/include/3D/Basic.h
2 changes: 1 addition & 1 deletion export/include/3D/Matrix.h
2 changes: 1 addition & 1 deletion export/include/3D/Point.h
2 changes: 1 addition & 1 deletion export/include/3D/Quaternion.h
2 changes: 1 addition & 1 deletion export/include/3D/Tuple3.h
2 changes: 1 addition & 1 deletion export/include/3D/Tuple4.h
2 changes: 1 addition & 1 deletion export/include/3D/Vector.h
2 changes: 1 addition & 1 deletion export/include/SOLID/solid.h
2 changes: 1 addition & 1 deletion export/include/car.h
2 changes: 1 addition & 1 deletion export/include/client.h
2 changes: 1 addition & 1 deletion export/include/controlconfig.h
2 changes: 1 addition & 1 deletion export/include/driverconfig.h
2 changes: 1 addition & 1 deletion export/include/exitmenu.h
2 changes: 1 addition & 1 deletion export/include/glfeatures.h
2 changes: 1 addition & 1 deletion export/include/graphconfig.h
2 changes: 1 addition & 1 deletion export/include/graphic.h
2 changes: 1 addition & 1 deletion export/include/joystickconfig.h
2 changes: 1 addition & 1 deletion export/include/learning/ANN.h
2 changes: 1 addition & 1 deletion export/include/learning/Distribution.h
2 changes: 1 addition & 1 deletion export/include/learning/List.h
2 changes: 1 addition & 1 deletion export/include/learning/MathFunctions.h
2 changes: 1 addition & 1 deletion export/include/learning/ann_policy.h
2 changes: 1 addition & 1 deletion export/include/learning/learn_debug.h
2 changes: 1 addition & 1 deletion export/include/learning/policy.h
2 changes: 1 addition & 1 deletion export/include/learning/real.h
2 changes: 1 addition & 1 deletion export/include/learning/string_utils.h
2 changes: 1 addition & 1 deletion export/include/mouseconfig.h
2 changes: 1 addition & 1 deletion export/include/musicplayer/OggSoundStream.h
2 changes: 1 addition & 1 deletion export/include/musicplayer/OpenALMusicPlayer.h
2 changes: 1 addition & 1 deletion export/include/musicplayer/SoundStream.h
2 changes: 1 addition & 1 deletion export/include/musicplayer/musicplayer.h
2 changes: 1 addition & 1 deletion export/include/openglconfig.h
2 changes: 1 addition & 1 deletion export/include/os.h
2 changes: 1 addition & 1 deletion export/include/osspec.h
2 changes: 1 addition & 1 deletion export/include/playerpref.h
2 changes: 1 addition & 1 deletion export/include/portability.h
2 changes: 1 addition & 1 deletion export/include/raceinit.h
2 changes: 1 addition & 1 deletion export/include/raceman.h
2 changes: 1 addition & 1 deletion export/include/racescreens.h
2 changes: 1 addition & 1 deletion export/include/replay.h
2 changes: 1 addition & 1 deletion export/include/robot.h
2 changes: 1 addition & 1 deletion export/include/robottools.h
2 changes: 1 addition & 1 deletion export/include/screen_properties.h
2 changes: 1 addition & 1 deletion export/include/simu.h
2 changes: 1 addition & 1 deletion export/include/simuconfig.h
2 changes: 1 addition & 1 deletion export/include/singleplayer.h
2 changes: 1 addition & 1 deletion export/include/soundconfig.h
2 changes: 1 addition & 1 deletion export/include/telemetry.h
2 changes: 1 addition & 1 deletion export/include/tgf.h
2 changes: 1 addition & 1 deletion export/include/tgfclient.h
2 changes: 1 addition & 1 deletion export/include/tmath/linalg_t.h
2 changes: 1 addition & 1 deletion export/include/tmath/straight2_t.h
2 changes: 1 addition & 1 deletion export/include/tmath/v2_t.h
2 changes: 1 addition & 1 deletion export/include/tmath/v3_t.h
2 changes: 1 addition & 1 deletion export/include/tmath/v4_t.h
2 changes: 1 addition & 1 deletion export/include/track.h
2 changes: 1 addition & 1 deletion export/include/xml.h
2 changes: 1 addition & 1 deletion export/include/xmlparse.h
2 changes: 1 addition & 1 deletion export/lib/libsolid.a
5 changes: 3 additions & 2 deletions src/drivers/pid_driver/driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ void Driver::drive(tCarElt *car, tSituation *s) {
// std::cout << "SpeedY " << i << ": " << getSpeed() << std::endl;
// std::cout << "SpeedDiffX " << i << ": " << getOpponentSpeedDiffX(opponent[i]) << std::endl;
// std::cout << "SpeedDiffY " << i << ": " << getOpponentSpeedDiffY(opponent[i]) << std::endl;
std::cout << "DistanceY " << i << ": " << getOpponentDistanceY(opponent[i]) << std::endl;
std::cout << "DistanceX " << i << ": " << getOpponentDistanceX(opponent[i]) << std::endl;
// std::cout << "DistanceY " << i << ": " << getOpponentDistanceY(opponent[i]) << std::endl;
// std::cout << "DistanceX " << i << ": " << getOpponentDistanceX(opponent[i]) << std::endl;
std::cout << getOpponentDistanceX(opponent[i]) << ", " << getOpponentDistanceY(opponent[i]) << std::endl;
}

// std::cout << "AI car ----" << std::endl;
Expand Down
Binary file modified src/libs/txml/gennmtab/gennmtab
Binary file not shown.

0 comments on commit d153d2c

Please sign in to comment.