Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue of morse run #810

Open
AustinJia opened this issue Jan 3, 2019 · 1 comment
Open

issue of morse run #810

AustinJia opened this issue Jan 3, 2019 · 1 comment

Comments

@AustinJia
Copy link

AustinJia commented Jan 3, 2019

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]


  • MORSE version: [add the output of 'morse --version']
  • Blender version: [check the output of 'morse check']
  • Python version: [check the output of 'morse check']
  • Checking up your environment...

Result of morse check

  • Running on Linux. Alright.

  • Found MORSE libraries in '/usr/lib/python3/dist-packages/morse/blender'. Alright.

  • Trying to figure out a prefix from the script location...

  • Default scene found. The prefix seems ok. Using it.

  • Setting $MORSE_ROOT environment variable to default prefix [/usr/]

  • Checking version of /usr/bin/blender... Found v.2.76.0

  • Found Blender in your PATH
    (/usr/bin/blender, v.2.76.0).
    Alright, using it.

  • Checking version of Python within Blender /usr/bin/blender... Found v.3.5.2

  • Blender and Morse are using Python 3.5.2. Alright.

  • Your environment is correctly setup to run MORSE.

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

@adegroote
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants