View Single Post
  #15   Spotlight this post!  
Unread 27-12-2012, 15:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Sasquatch Robot Controller powered by Arduino

Quote:
Originally Posted by ajlapp View Post
We do have a strategy to keep loop timing consistent. It involves an internal interrupt used as a "heartbeat." Our lead software engineer is better suited to elaborate. He can jump in on this discussion.
I'd be interested in that.

I wrote a preemptive rate-monotonic kernel for an Atmega μC in C and assembly 5 years ago back when I was consulting for an automotive smart actuator project. Single stack to conserve memory, and extremely low interrupt latency and context switch overhead. I think it's in production now.


Reply With Quote