Giter VIP home page Giter VIP logo

ironcar's People

Contributors

adizout avatar hugoo avatar mathrb avatar srdadian avatar vhoulbreque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ironcar's Issues

Better handling of the config files

There are 2 files :

  • base_config.json (original configuration)
  • config.json (the modified configuration, which is up-to-date, because modified by the user)

The goal would be to have only one file and a function (on the dashboard) to regenerate the original configuration.

numpy does not import

Hello,

Unfortunately the installation does not work well apparently, since launching python3.5 ironcar_master.py gives the following error message:

File "/usr/local/lib/python3.5/dist-packages/scipy/linalg/blas.py", line 196, in
from scipy.linalg import _fblas
ImportError: numpy.core.multiarray failed to import

It looks like numpy modules are not found.

Could you help?
Many thanks!
Dominique

Deprecation warning from h5py

/home/pi/.local/lib/python3.5/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters

Add some comments

To help people new to the project
To help people new to python/computer science/AI

How do you find the commands defined in `commands.json`?

I would like to know how do you find the commands defined in the json file.
The Adafruit controller can receive 16-bit messages (integers in [0, 4095]).
For exmples, these values can be sent to the steering motor : "left": 310, "right": 490.

But some messages are not interpreted by the gas or the steering motor.
For example, if I send 0 to the steering, nothing happens.
How can I find the complete dictionary {'value:action'} ? (where value is in [0, 4095])

My goal, find a finer set of commands for gas and steering!

Is drive_max really useful now ?

drive_max was used before to be sure that the car would be able to move forward. But now, it's easy to change the commands on the dashboard. So is it useful to stay with this value ?

Switch to Keras 2

It would be great to switch from Keras 1 to Keras 2, and update tensorflow versions accordingly.

Handle webcam when trying this code on laptop

Sometimes, people don't have an available raspi (group projects with only 1 raspi for instance...)
So, they need to test the code on their laptop, but the only camera that is handled is the PiCamera...

Launching ironcar_master.py - Does not find module named socketIO_client

Hello,
After running ./install.sh and launching node car_server.js with no problem, I have the following error message when I run python ironcar_master.py:

ImportError : No module named socketIO_client

It is true that I cannot find any py file with such name.
Did I do something wrong?
Thank you.

KeyError: 'Session is disconnected'

When loading a model for autopilot, there is always this error (captured so it does not break the code):

The model ./models/autopilot_500k.hdf5 has been successfully loaded
Error on request:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/home/pi/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/home/pi/.local/lib/python3.5/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/pi/.local/lib/python3.5/site-packages/flask_socketio/init.py", line 43, in call
start_response)
File "/home/pi/.local/lib/python3.5/site-packages/engineio/middleware.py", line 47, in call
return self.engineio_app.handle_request(environ, start_response)
File "/home/pi/.local/lib/python3.5/site-packages/socketio/server.py", line 360, in handle_request
return self.eio.handle_request(environ, start_response)
File "/home/pi/.local/lib/python3.5/site-packages/engineio/server.py", line 290, in handle_request
socket = self._get_socket(sid)
File "/home/pi/.local/lib/python3.5/site-packages/engineio/server.py", line 421, in _get_socket
raise KeyError('Session is disconnected')
KeyError: 'Session is disconnected'

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.