This is for svn rev 1257.
It looks like there were some changes to import statements that didn't get
propagated all the way through the code.
The following changes must be applied to the NERO mod:
diff build/dist/NERO/client.py build3/dist/NERO/client.py
144c144
< sim_context.setObjectRotation(modify_object_id['rot'], Vector3f(0, 0,
-math.degrees(angle)))
---
> sim_context.setObjectRotation(modify_object_id['rot'],
OpenNero.Vector3f(0, 0, -math.degrees(angle)))
diff build/dist/NERO/module.py build3/dist/NERO/module.py
117c117
< get_ai("rtneat").save_population(str(location))
---
> OpenNero.get_ai("rtneat").save_population(str(location))
125,126c125,126
< rtneat = RTNEAT(str(location), "data/ai/neat-params.dat", pop_size,
get_environment().agent_info.reward)
< set_ai("rtneat",rtneat)
---
> rtneat = OpenNero.RTNEAT(str(location), "data/ai/neat-params.dat",
constants.pop_size, OpenNero.get_environment().agent_info.reward)
> OpenNero.set_ai("rtneat",rtneat)
Original issue reported on code.google.com by jroes...@gmail.com on 1 Nov 2011 at 11:20
Original issue reported on code.google.com by
jroes...@gmail.com
on 1 Nov 2011 at 11:20