View Single Post
  #14   Spotlight this post!  
Unread 25-07-2005, 12:34
mpob's Avatar
mpob mpob is offline
Registered User
AKA: Mike OBrien
#1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Rochester, NY
Posts: 50
mpob will become famous soon enoughmpob will become famous soon enough
Re: If you could write the default code...

I was new to the code this year, and noticed that the basic architecture is scan loops and ISR's.

Would it be useful to have an advanced version of the default code that contained an RTOS (Real Time Operating System).

With an RTOS the application code could be designed as indepently executing threads. I know it would add a layer of complexity as the programmers of this type of code kit would need to understand:
- what a semaphore is
- task priorities, and priority inversion
- designing and debugging multi-threaded code
- concepts like task switching, mutual exclusion, and race conditions
- Memory management
- Stack allocation, and management

a lot of complex things to understand, but a lot to be gained also,
which is why I was thinking in terms of offering this as a optional "advanced" code kit.

I have always been very comfortable working with real-time embedded code, and RTOS's. But it is an area of interest for me

But I am wondering what others think of this???

Is an RTOS to far out, and complex to be used in a FIRST Robot ?


--Mike O'Brien
__________________
Roll Strong!
Mentor Team 1511 - Rolling Thunder!