I finally figured out why my OpenCV code didn't work: there was a transpose in one matrix and I didn't understand how OpenCV lays out memory (it pads each column so that it's a multiple of 4 bytes). In general, indexing in OpenCV involves a painful cast; this is the most helpful summary of how to do that.
I still can't get two XBee modems to communicate; I'm not sure what I'm doing wrong. I just found a nice
howto and a
tutorial which looks like the right things to try.
Plans for today:
E-mail / admin
- Derive dynamics for the quad-rotor
- Work on a list of reviewers for my P&T application
- Start deriving continuum dynamics
Order breadboards, PICKit2s, mini-Bullys, etc.
- Prepare for meeting with Jimmy, TJ
Work on recruiting Summer Bridge helpers