While Lil’ Joe sports a fairly simple program, Gypsy ended up as one of the more complex programs I’ve written in NXT-G. The program (still named “Nadar”) really needed to handle several different tasks at once. Primarily a photographic platform, it had to be able to operate the camera in both still & video modes, and take interesting pictures while controlling the platform. As a secondary goal, it needed to datalog the numerous environmental sensors hooked up, as well as “engineering data” (like battery voltage, platform angle, motor noise, etc.). On top of this, it needed to monitor and control the payload temperature, critical to keeping the payload alive. And to complicate all of this, the program needed to be as small as possible, leaving as much memory as possible for datalogging. In order to handle the photographic challenge, the program uses the same approach as the original Nadar: following a script . It reads a series of timed commands from a text file (think of it as a “...
The ROBOTMAK3RS Blog brings together news and information related to the LEGO® MINDSTORMS®, SPIKE Prime, WeDo, BOOST and PoweredUp LEGO robotic platforms. It is operated by the ROBOTMAK3RS RLOC. Read more about us at robotmak3rs.com.