morse-simulator / morse

The Modular OpenRobots Simulation Engine
http://morse-simulator.github.io/
Other
350 stars 155 forks source link

issue of morse run #810

Open AustinJia opened 5 years ago

AustinJia commented 5 years ago

Thanks for taking the time to fill an issue with MORSE!

[Describe here your issue] Unable to run the morse

Minimal builder file to reproduce the issue:

from morse.builder import *

## Paste here a (minimal) Builder script that triggers the issue

robot = ...

...

# if your issue is not related to a specfic middleware,
# you can use the socket interface to ease the testing.
robot.add_default_interface('socket')

# if your issue is independant of the environment,
# you can use the default one (in fast mode).
env = Environment('sandbox', fastmode = True)
env.set_camera_location([-18.0, -6.7, 10.8])
env.set_camera_rotation([1.09, 0, -1.14])

[if necessary, also attach add the .blend file used]


Result of morse check

images: screenshot from 2019-01-04 03-46-40

adegroote commented 5 years ago

It seems you do not start morse run on the right script. You must call on the morse-scene, not on the client one. The client one can be invoked using standard python, once Morse is properly launched.