History | View | Annotate | Download (2.07 KB)
Can now add robots through the GUI.
Added replay functionality and command line arguments
-l <filename> log simulation to file [currently make sure file does not exist, overwriting of files not handled well]
-p <filename> run a log file rather than simulation
-w <filename> load in world file
Draws polygons in the environment.
added a sample world, updated main to load the sample world
added update_rangefinders, which should be enough for the demo tomorrow
works with 20 robots! but its incredibly slow and destroys computersalso fixed a bug in the robot creation code (it didn't init robots array to -1 after a resize)
Threading issues worked out better... Ready to add motion.
Refactored simulator, set some stuff up to work with multiple robots.
moved stuff from robot_test into libsim.clibsim now contains the timer (pause/resume) stuff
Also commented andrew's code because it broke the build
Function to free memory added, not sure how to test if its working.
Fixed initialization of simulators struct
Added shared memory setup code to the create_robot function. Need to write the cleanup code still. Exec call is failing but wasn't succeeding before code change either.
Added signal handling code to core simulator
added a robot_test directory which contiains code to run the timer and deal with the robot side signaling. To compile it you need to run gcc robot_test/robot.c -o robot_test/robot. This whole file is temporary. It is just proof of concept until it gets added to the simulator library
Ooops, forgot to commit main method.