[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Fixed
I have fixed a long term bug. The problem is that the carriage would
sometimes move a little in declination at an unexpected time. This would
make stars little vertical streaks. A real pain since the software still
finds stars and no telling what this does to the data.
It turns out that I was turning the motors off at a particular point in the
code. Those writing their own code should never turn the dec drive motor
off while trying to hold a position. It mostly holds if the power is off,
but it has no torque and so anything can move it. A little pressure from
the mount cables, wind, etc..
This is now fixed and I hope to never see the vertical streaks again.
I found this by hanging a weight on a string so that it put a torque on
the declination axis. I thought the problem was backlash. This would
remove it. What I observed was that the mount took a big step after the
first move. I finally found where I was turning the motors off. I little
bit of mystery code marked "this makes it work but I don't know why". I
just removed the part of the ;mystery code that reset the motor drive
current.
My code really needs to be rewritten from scratch. I keep hoping that
someone else will give me nice code that does everything. So I don't have
to do it. OK, it will come some day, but I am not yet ready for it anyway.
But some day. Eventually someone will run their telescope enough to
thoroughly debug the code.
Tom Droege