"Maintain context outside of your head at all times"
Yes. I currently keep a text document, "NOTES.md", open for whatever project I'm working on. This isn't a bug list; it's just things that I'll need to come back to and deal with. If there's something that has to be dealt with, and it's not in comments in the code, it goes here. This is in the code directory and is checked in with Git, but it's just for my own use.
Some excerpts for a large C++ program:
Added logging to viewer. Turn off FSEnableLogThrottle debug switch
when in use to catch all log messages.
Logged a short road trip and a short boat trip. Huge Z velocity noise on road, low noise on water.
2020-03-24
Trying various forms of filtering. Current approach:
- Low-pass filter linear velocity and angular velocity.
- Difference with instantaneous velocity and angular velocity
- Get magnitudes of differences.
- Time limit for each is allowed error / magnitude of difference
- Use lowest time limit to limit extrapolation time
Simple analysis of the data indicates this might work
Problems:
- Filtering data with varying time deltas needs work.
Test uses the assumption that updates come in at a rougly uniform rate.
- Need to convert linear velocity to object coords before filtering so smooth turns work.
2020-03-31
Adding files to Firestorm:
Add .cpp and .h files to appropriate sections of
indra/newview/CMakeLists.txt
New files go in
indra/newview
Then ?
Run autobuild again?
Script
sh installnewfiles.sh
copies the new files to the newview directory.
Our version is maintained with git in the firestorm-mods repository
2020-04-02
Extrapolator is running. Results not too good:
- Seems to be be overrunning extrapolation limit. Not sure.
- Extrapolation limit is calculated before the last object updates have arrived.
So last-second changes in the velocity are not caught.
- Working. Good tuning values are filter, 10 secs,
angle err, 20 degrees, position error, 0.25m.