Carleton University - Canada’s Capital University Carleton University - Canada’s Capital University Sitemap
Contact SCS
Campus Map
Computer Science Search:
Powered by Google
News & Seminars Future Students Current Students SCS Research People Tech Support
Undergraduate Honours Projects

Carleton University - School of Computer Science
Undergraduate Honours Project

Fall 2012
Robot Simulator

Darryl Hill



ABSTRACT

The robot programming class, comp4807, gives students the opportunity to use actual robots. Unfortunately, using real robots comes at a price, both literally and figuratively. There are a limited number of real robots. As a result you can only program them during lab time, and the lab time is partitioned so that everyone can have access. Also the robots that are in use in comp4807 use a custom language, Spin, that only only runs on robot hardware (specifically the Parallax processor). So time spent developing code in an environment where you can get actual feedback is at a premium. The robot simulator project seeks to address this issue, by using robot simulated in java code that behaves as an actual robot would (or tolerably close). The behaviour of this simulated robot is programmable in Spin code, which means it comes with a custom lexer/parser/compiler in order to translate Spin commands into java commands that the simulated robot can understand. It seeks to be identical behaviour-wise to an actual robot running the same Spin code.