Category Archives: Projects

Interesting bugs

Over the last few months, I have been sending to my software group at work a puzzle/quiz in the form of a bug I have found in my robot code. They seem to get a kick out of especialy since … Continue reading

Posted in AVC, Personal, Software | 4 Comments

Data collection. 1 of n

Today I took my robot to my test area. I collected two battery packs worth of data. I am now begging the long process of analyzing 15 megabytes of binary log files. Oh Joy! No sarcasm here. I love data. … Continue reading

Posted in AVC | Leave a comment

Long time no post

It has been a while since I last posted. A lot and a little has happened in the meantime. I went on vacation to London and had a great time, but I have not made a huge amount of progress … Continue reading

Posted in ARM, AVC, Uncategorized | Leave a comment

Major milestones fall!

Today I was able to check out a few major milestones today. The first is that I determined that I can indeed control the steering servo and ESC via the ARM processor. I was a bit worried that they would … Continue reading

Posted in AVC | Leave a comment

LSM303 bug fixed!

After several very frustrating days, I have found the root cause of my bad readings. It was not in the sensor or in its setup. It was in fact the the TWI/I2C driver code that I took from the ATMEL … Continue reading

Posted in ARM, AVC, Pololu 9DOF IMU | Leave a comment

Woes with a LSM303DLHC

I have a Pololu 9 DOF IMU (version 2) that uses an LSM303DLLC for the magnetometer and accelerometer. With these two sensors you can create a tilt compensated compass. It was my plan to do exactly that to get heading … Continue reading

Posted in ARM, AVC, Pololu 9DOF IMU | Leave a comment

Agoraphobic robot

I have been frustrated by a problem with my robot. Each time I would go outside to test, the robot’s processor would hang. I tried various tactics in getting to the bottom of the problem. The real bummer was that … Continue reading

Posted in ARM, AVC | Leave a comment

Slight pause in the development

The problem with being an embedded software engineer by day and doing prety much the same think at home is that you can get burned out. Not normaly an issue when work is slow or boring. But when you work … Continue reading

Posted in AVC, Uncategorized | Leave a comment

Writing to FLASH

You would think that writing to FLASH would not be such a big thing. But it took several┬ádays to accomplish. The first issue is that your reprogram code can’t live in the same FLASH as you want to program. With … Continue reading

Posted in ARM, AVC | Leave a comment

What is wrong with this code?

So I spend a few frustrating hours tracking down a bug in this seemingly simple idiot proof code: long labs(long val) { long retval; if (val < 0) { retval = -val; } else { retval = val; } return … Continue reading

Posted in Software | Leave a comment