Buy an Axon, Axon II, or Axon Mote and build a great robot, while helping to support SoR.
0 Members and 1 Guest are viewing this topic.
This topology has been used a lot in robotics. ROS has significant support for this topology, for example. [..]
Another option I have considered is using a multi-core processor. I read some on the Propeller Parallax and that looks very promising. That way you can have really separate task that run truly parallel.
Excellent!I started reading more on the propeller and I (still) have some questions about it. Like how big a program can you load into each cog. From what I understand it runs from (cog) RAM!? I was also wondering if you could leave out the Spin interpreter from ROM and stuff some of your own code down there...? What is a good way to extend the memory? I saw it has I2C pins and saw some 'talk' of an external (E)EPROM.Now I will check out your links. Thanx.
template<unsigned char Size> class CharArray {public: CharArray() { memset(data_, 0, Size); } unsigned char &operator[](unsigned char ix) { assert(ix < Size); return data_[ix]; } unsigned char operator[](unsigned char ix) const { assert(ix < Size); return data_[ix]; }private: unsigned char data_[Size];};CharArray<10> myFirstArray;CharArray<20> mySecondArray;
will all code of a template be duplicated for each unique template parameter? Or just the methods that use the template parameter?