Start VREP simulator

I use these two lines of code in the Jupyter notebook

from poppy.creatures import PoppyErgoJr jr = PoppyErgoJr(simulated='vrep')

But always such an error:
SerialException: could not open port ‘/dev/ttyAMA0’: FileNotFoundError(2, ‘系统找不到指定的路径。’, None, 3)

what reason?

You should write simulator='vrep'.

https://docs.poppy-project.org/en/programming/python.html#
well,It seems that the document was wrong

Good catch, thank you, this is fixed now.

1 Like