Opened 16 years ago

Closed 16 years ago

#22 closed feature (fixed)

Create basic driving agent support

Reported by: Henrik Heimbuerger Owned by: Henrik Heimbuerger
Priority: major Milestone: MS2: Driving agent support
Component: controller Version: pre-1.0
Keywords: driving agent Cc:

Description (last modified by Henrik Heimbuerger)

An interface needs to be created that the driving agents can be based upon. They need to be integrated into the player settings dialog and the RaceEngine.

Change History (10)

comment:1 Changed 16 years ago by Henrik Heimbuerger

Milestone: MS3: Input device and slot car track supportMS4: Driving agent support

comment:2 Changed 16 years ago by Henrik Heimbuerger

Priority: minormajor

comment:3 Changed 16 years ago by Henrik Heimbuerger

Owner: changed from somebody to nobody

Batch reassigned all tickets owned by the virtual user 'somebody' to the virtual user 'nobody'.

comment:4 Changed 16 years ago by Henrik Heimbuerger

Component: projectcontroller
Description: modified (diff)
Summary: Brainstorm and discuss the driving agent supportCreate basic driving agent support
Type: taskfeature

comment:5 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [273]):
[Partial fix for ticket #22] Renamed and moved the hookListener() and unhookListener() methods of the DeviceController? up in hierarchy.

The hookListener() and unhookListener() methods of the DeviceController? have been moved up in hierarchy (to the CarController?), so they can be called on driving agents as well. That fixes the exception that was thrown during race start and termination if a driving agent was involved.

They have also been renamed to preRace() and postRace() to be able to use them for more general tasks in the future.

comment:6 Changed 16 years ago by Henrik Heimbuerger

Owner: changed from nobody to Henrik Heimbuerger
Status: newassigned

comment:7 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [322]):
[Partial fix for ticket #22] Created dialog for reviewing recognised driving agent scripts.

comment:8 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [323]):
[Partial fix for ticket #22] Intermediate commit on the way to working driving agent support.

The InputDeviceManager has been renamed to CarControllerManager (and moved in hierarchy) because it also stores the driving agent instances now.

The PlayerSettingsDialog has been adapted to support driving agents. Its UI is broken now, but it needs to be revised anyway.

The TrackWidget is now showing the thrust gauges for all players again (including driving agents).

comment:9 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [324]):
[Fix for tickets #23 and #24, partial fix for ticket #22] Added proof-of-concept support for driving agents in Jython and Groovy.

Also added experimental "save" and "test run" buttons to the agent settings dialog. The implementation is preliminary and needs cleanup.

comment:10 Changed 16 years ago by Henrik Heimbuerger

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.