Search found 5 matches

by Apollo22
Mon Aug 21, 2017 10:07 am
Forum: Technical Discussion
Topic: RuntimeError: maximum recursion depth exceeded
Replies: 4
Views: 101

Re: RuntimeError: maximum recursion depth exceeded

Is there a way for future implementation to increase the maximum recursion depth ?

For information, this is my current import tree. I manage to do with the current recursion depth, but it would be easier if it was bigger.
Import Tree.jpg
Import Tree.jpg (131.18 KiB) Viewed 25 times
by Apollo22
Fri Aug 11, 2017 8:51 am
Forum: Technical Discussion
Topic: Keyboard input
Replies: 3
Views: 89

Re: Keyboard input

You could implement I2C or CAN and change you settings by receiving info from them.

Or change a config file while the program is running.
by Apollo22
Fri Aug 11, 2017 8:49 am
Forum: Technical Discussion
Topic: RuntimeError: maximum recursion depth exceeded
Replies: 4
Views: 101

Re: RuntimeError: maximum recursion depth exceeded

I found a workaround. Previously I only had in File 0 : " import File 1 " Then File 1 imported File 2, File 2 imported File3, File 3 imported File 4 and File 4 import File 5. And it printed " RuntimeError: maximum recursion depth exceeded " The workaround is to import files that import less than 5 l...
by Apollo22
Fri Aug 11, 2017 5:30 am
Forum: Project Discussion
Topic: CAN communication between OPenMV M7 and AT90CAN128 (Atmel family)
Replies: 3
Views: 173

Re: CAN communication between OPenMV M7 and AT90CAN128 (Atmel family)

Here's an exemple working (don't forget to add a transceiver on an external PCB or protoboard). Init import pyb can = pyb.CAN(2) #The bus 2(PB12, PB13) is the only can bus on the Open MVCam can.init(pyb.CAN.NORMAL, extframe=False, prescaler=18, sjw=1, bs1=8, bs2=3) #250kb/s # APB1 = 54MHz, Prescaler...
by Apollo22
Fri Aug 11, 2017 5:20 am
Forum: Technical Discussion
Topic: RuntimeError: maximum recursion depth exceeded
Replies: 4
Views: 101

RuntimeError: maximum recursion depth exceeded

Hello, I encountered the following error : RuntimeError: maximum recursion depth exceeded File "<stdin>", line 3, in <module> File "fsm.py", line 4, in <module> File "can.py", line 7, in <module> File "can_motion_commands.py", line 3, in <module> File "cam_analysing.py", line 8, in <module> RuntimeE...

Go to advanced search