GithubHelp home page GithubHelp logo

computer's Introduction

BFMC - Computer Project

The project contains all the provided code that will run on the PC, and it's made of 4 parts:

  • Demo: The official RPi image starts automatically a communication. You will have to find out the IP of the RPi and insert it into threadRemoteHandlerPC, line 44, and then start the demo.py. From here you can see the messages that the car receives from the Nucleo, the images and, if the simulated devices are running, the messages that it gets from them.
  • Dashboard: A monitoring application for all the systems from the car. Once you start developing you can debug in real-time the info in this application.
  • carsAndSemaphoresStreamSIM: The simulated stream. Sends random, simulated data about the semaphores and the cars on the track, just as our servers at the Bosch location.
  • trafficCommunicationServer: The simulated server of the challenge. The car can get from this server the IP of the localization device and send to it information during the run (Speed, position, rotation and encountered obstacles.)

The documentation is available in more details here:

Documentation

computer's People

Contributors

bfmc-rares-lemnariu avatar margineanteodorb avatar raduf1 avatar

Stargazers

Matheus Moura avatar Theodoros Papafotiou avatar Andreas Baschir avatar Lê Quốc Tuấn avatar

computer's Issues

Multiple `Pillow` versions in `requirements.txt`

Hi!

I noticed that requirements.txt has three different versions of the Pillow dependency, which interfered with the pip install -r requirements.txt command.

By chance, is it possible that only the most recent version of Pillow is required to run the code?

Thanks!

Exception in reset_json function in Dashboard/objects/Table.py

When running Dashboard app there is an exception and the program aborts:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\jrajsic\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner
    self.run()
  File "C:\Users\jrajsic\Documents\bfmc\Computer\Dashboard\GUI\GUI_start.py", line 122, in run
    dashBoard.draw()
  File "C:\Users\jrajsic\Documents\bfmc\Computer\Dashboard\GUI\DashBoard.py", line 268, in draw
    object.draw()
  File "C:\Users\jrajsic\Documents\bfmc\Computer\Dashboard\objects\Table.py", line 407, in draw
    for index, e in enumerate(self.valuesFromPi.keys()):
AttributeError: 'set' object has no attribute 'keys'

In reset_json function in Dashboard/objects/Table.py there is an assignment which converts dict to set in line 597 :
self.valuesFromPi = {+ len(self.dataEnums) + len(self.dataRange)}
I do not understand the semantics of this line. I changed the line to:
self.valuesFromPi = {}
and Dashboard works fine.

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.