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 )
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
Milestone: | MS3: Input device and slot car track support → MS4: Driving agent support |
---|
comment:2 Changed 16 years ago by
Priority: | minor → major |
---|
comment:3 Changed 16 years ago by
Owner: | changed from somebody to nobody |
---|
comment:4 Changed 16 years ago by
Component: | project → controller |
---|---|
Description: | modified (diff) |
Summary: | Brainstorm and discuss the driving agent support → Create basic driving agent support |
Type: | task → feature |
comment:5 Changed 16 years ago by
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
Owner: | changed from nobody to Henrik Heimbuerger |
---|---|
Status: | new → assigned |
comment:7 Changed 16 years ago by
comment:8 Changed 16 years ago by
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
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
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Batch reassigned all tickets owned by the virtual user 'somebody' to the virtual user 'nobody'.