We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Spotted by @pierre-rouanet
import time from pypot.creatures import PoppyErgoJr from pypot.primitive.move import MoveRecorder, MovePlayer, Move if __name__ == '__main__': jr = PoppyErgoJr(simulator='poppy-simu') mr = MoveRecorder(jr, 50, jr.motors) mr.start() time.sleep(1) mr.stop() with open('/tmp/bob.json', 'w') as f: mr.move.save(f) with open('/tmp/bob.json') as f: m = Move.load(f) # Fonctionne mp = MovePlayer(jr, mr.move) mp.start() mp.wait_to_stop() print('Everything ok') # Plante mp = MovePlayer(jr, m) mp.start() mp.wait_to_stop()
The text was updated successfully, but these errors were encountered:
Only with 3.6 or with all 3.x ? If I remenber well my issue was about playing a move with python 3 : #218
Sorry, something went wrong.
It is strange, yes it seems to be the same issue but I didn't get this issue for python other python 3 version.
fix bad json deserialisation in python3.6
93fcc74
close #229 #218
8212c5e
No branches or pull requests
Spotted by @pierre-rouanet
The text was updated successfully, but these errors were encountered: