4 ms·
"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
by Animats 7y ago
"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.
- Kinrany 7y agoA similar interesting approach is to write notes in Git commit messages. The author of the Spiral language does it: https://github.com/mrakgr/The-Spiral-Language/commits/master https://github.com/mrakgr/The-Spiral-Language/commits/master
- letientai299 7y agoI hope that he won't write commit message like that for project that involve many people. Such log is no helpful (for anyone but him, I guess).
- jsight 7y agoIMO, these are still useful, but should be rebased away before a PR in a large project.
- Animats 7y agoThis is different from commit messages. Commit messages are about the past. Notes are about the near future.
- fennecfoxen 7y agoIf you are working with others, I've found full-time pair programming shops are extremely resilient against interruptions. Sometimes the person who is not driving may explicitly maintain notes on the state of the task, but even besides this, any lost state information from an interruption is far easier to recover.