Giter VIP home page Giter VIP logo

Comments (6)

vitorshaft avatar vitorshaft commented on June 11, 2024

I had exactly the same problem. It stops somwhere before 45°
radar_pygame

from radar-simulation.

tursunbaevshakhboz avatar tursunbaevshakhboz commented on June 11, 2024

I had exactly the same problem. It stops somwhere before 45°
radar_pygame

hi! were you able to solve this problem?

from radar-simulation.

tursunbaevshakhboz avatar tursunbaevshakhboz commented on June 11, 2024

Hi
Nice project!!!
I solved the cv2 and ALSA errors on my Pi4 (I had my sound card turned off with another project)
Now my problem is that program starts, doing 0-180 degrees rotation, turning back and around half way stops and exits the program. I see that on the scope is drawed what is sensed but program exits with this message:
dictionary changed size during iteration
Some advice please?
Thank you

were you able to solve this problem?

from radar-simulation.

petike779 avatar petike779 commented on June 11, 2024

Hi
Nope...did not found a solution.
I suspect that the del at the end is the problem. The variable should not be deleted.
Also the pi is busy doing other stuff this is the reason that working not smoothly. I will try to do it with an arduino soon.
Anyway if somebody solved this issue please share with us.
Thanks and good luck

from radar-simulation.

vitorshaft avatar vitorshaft commented on June 11, 2024

I had exactly the same problem. It stops somwhere before 45°
radar_pygame

hi! were you able to solve this problem?

Unfortunately no,
I have just abandoned pygame and I am trying to work with opencv cv2 as well. It works fine for static image generation, but it does not look like a "RADAR".

Hope you find a solution!

from radar-simulation.

SathvikHegde avatar SathvikHegde commented on June 11, 2024

Hey, this error does not come if its ran using python2. If you are using python3 then changing line 78 in display.py to for angle in list(targets) fixed it.

from radar-simulation.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.