Death By Docking Computer

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply

Do you use the docking computer?

Poll ended at Wed Oct 05, 2005 12:37 am

Always
1
11%
Mostly
2
22%
Sometimes
0
No votes
Occassionally
1
11%
Only if the phone rings
3
33%
Never
2
22%
 
Total votes: 9

tjwhaynes
Average
Average
Posts: 9
Joined: Wed Sep 28, 2005 12:29 am

Death By Docking Computer

Post by tjwhaynes »

You just can't trust these dodgy deals in the back of the space port.

I go up to this fella, he says "wanna docking computer? Your approach were mighty shakey. Going cheap". So I pays my money and kicks off to the next system. Get my approach all lined up and then remember the new toy - press "D" and the docking computer kicks into life. It wanders around a bit, I get the "Final approach" message. I relax as soothing music plays over my hardened space suit and my Mark III makes its approach. However, it makes a couple of adjustments on the way in and then it MUCKS UP at the last moment and paints me in a molecular thin layer over the outside of the space station. Wow is that going to cost me and the WIFE is going to be mad at me again.

:lol:

So - is this by design? Is the docking computer a cruel joke or is it just a little temperamental? I remember the old Beeb Elite scraping the paintwork a bit a number of times but I don't remember an out-and-out wipeout.

Cheers,
Toby Haynes
User avatar
Murgh
---- E L I T E ----
---- E L I T E ----
Posts: 454
Joined: Fri Sep 03, 2004 6:19 am
Location: Terra Firma

Post by Murgh »

yesterday I too used the DC for the first time in forever. wanted to hear the song and had something else to do.., but the crash gave me quite a shock, before I knew the DC had failed me. I thought I had been very unlucky, but with this report there could be a pattern..

have they recently become a cruel joke?
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

There's a problem in that the docking computer routines are something I wrote quite early in the game. They're not perfect and do the job most of the time, but sometimes the routine triggers a correction to the docking ship's course or pitch inside the docking bay and this causes the collision (larger ships obviously suffer more from this).

I've got some ideas for the solution to this in mind (by keeping track of the angle subtended by the target to measure how close the bay is and reducing the need for course corrections as the angle increases). I'm working on it.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

Docking computers are for wimps. Just make a sharp 90 degree turn about 1km in front of the station to point at it, hit the Witch Space Fuel injectors and shut your eyes!
User avatar
jonnycuba
Deadly
Deadly
Posts: 233
Joined: Fri May 21, 2004 1:04 pm
Location: Witchspace

Post by jonnycuba »

Shift-D anyone?
Team Zorg are Go!
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Well because it's important to get this right, I've overhauled the docking AI code and the docking instructions it gets sent by the stations/carriers.

The revised routines are a little slower, but the docking is a LOT more accurate, and NPC ships now properly match the orientation of the docking slit (making returning to the Behemoth tricky).

There's been a small development that some may find disconcerting though. Many ships have viewports that are above the line passing through the center of the ship. This means aiming above the center of the crosss of orange docking lights if you're docking manually (after the DC's been destroyed by enemy fire frex.)
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Murgh
---- E L I T E ----
---- E L I T E ----
Posts: 454
Joined: Fri Sep 03, 2004 6:19 am
Location: Terra Firma

Post by Murgh »

cool.
they were getting creamed everywhere.
but the Behemoths idle when they receive docking ships, why is this then more difficult?
aegidian wrote:
There's been a small development that some may find disconcerting though. Many ships have viewports that are above the line passing through the center of the ship. This means aiming above the center of the cross of orange docking lights if you're docking manually (after the DC's been destroyed by enemy fire frex.)
so am I understanding this? manual docking from now on has to compensate for a parallax view?
this lesson from the 80s has to be re-learned?
User avatar
Rubinstein
Competent
Competent
Posts: 41
Joined: Thu Jun 30, 2005 1:13 am

Post by Rubinstein »

aegidian wrote:
Well because it's important to get this right, I've overhauled the docking AI code and the docking instructions it gets sent by the stations/carriers.

The revised routines are a little slower, but the docking is a LOT more accurate, and NPC ships now properly match the orientation of the docking slit (making returning to the Behemoth tricky).
I've just compiled Rev 148 and was curious about that changes. I gave it 2 tries: one was indeed pretty slow, but ok. The next time I probably activated the DC too close to the station (just a wild guess, I can't see any other reason). Though the angle was perfect, it suddenly started an infinite "waltz" (pitch, not rolling) in front of the station. After about ten loops and several times switching the DC off and on, I eventually gave up and docked manually... :lol:
Dreams are the true masters of the world
Post Reply