Home | Trees | Indices | Help |
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | event_simulator.EventSimulator --+ | FakeHuman
Simulating the perceptual data we would get from a human
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Starts the simulator.
|
Called repeatedly from the EventSimulator thread. Moves the Rviz human towards various locations in small increments. Locations, speed, and move times are taken from self.motionSchedule, which was passed into the start() method. Example schedule is the following dict (keys are fractional seconds): motionSchedule[2] = None; motionSchedule[5] = {target: [2,-1], speed: [0.1,0.03]}; motionSchedule[10] = None; motionSchedule[12] = {target: [4,-2], speed: [.1,.055]}; motionSchedule[16] = None; motionSchedule[20] = {target: [0.6,.5], speed: [.08,.1]}; motionSchedule[27] = None;
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 2 16:55:57 2013 | http://epydoc.sourceforge.net |