View: 124|Reply: 5

Mars Rover PiCar-B

[Copy link]

1

Threads

3

Posts

17

Credits

Newbie

Rank: 1

Credits
17
Post time 2019-2-6 04:14:15 | Show all posts |Read mode
Edited by 1548081091 at 2019-2-6 04:17 AM

Hello from Argentina, My name is Mariano, i buy this kit, i tried to install 4 times. and i have a lot of problems, sorry for my English, i do a paper with the instructions, but all who have ### dosent work ...
can anyone help me, tanks a lot

git clone https://github.com/adeept/Adeept_PiCar-B.git
sudo python Adeept_PiCar-B/server/setup.py
sudo passwd root
Tomas2010
Tomas2010
su –
sudo apt-get update
sudo apt-get upgrade
Y
sudo raspi-config
5 Interfacing Options->P5 I2C->Yes->OK->Finish
P5 I2C
YES
Aceptar
Finish
sudo raspi-config
5 Interfacing Options
->P1 Camera
->Yes
->OK
->Finish
->Yes
reboot
su -
Tomas2010

lsmod | grep i2c
sudo apt-get install i2c-tools
sudo pip3 install adafruit-pca968
### sudo pip3 pip setuptools wheel
sudo apt-get install portaudio19-dev python3-all-dev python3-pyaudio
s
sudo pip3 install pyaudio
sudo apt-get install flac
sudo wget https://sourceforge.net/projects ... pha.tar.gz/download -O sphinxbase.tar.gz
sudo wget https://sourceforge.net/projects ... pha.tar.gz/download -O pocketsphinx.tar.gz
sudo tar -xzvf sphinxbase.tar.gz
sudo tar -xzvf pocketsphinx.tar.gz
sudo apt-get install bison libasound2-dev swig
s
sudo apt-get install python3 python3-dev python3-pip build-essential libpulse-dev
s
cd sphinxbase-5prealpha
./configure –enable-fixed
### make
### sudo make install
sudo pip3 install pocketsphinx
cd ../pocketsphinx-5prealpha
./configure
###make
###sudo make install
###sudo pip3 install SpeechRecognition
sudo apt-get install libopencv-dev
s
sudo apt-get install python-opencv
sudo pip3 install imutils
sudo pip3 install opencv-python
sudo apt-get install libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test
s
sudo pip3 install zmq pybase64
sudo pip3 install rpi_ws281x
git clone https://github.com/adeept/Adeept_PiCar-B.git
git clone https://github.com/oblique/create_ap
cd create_ap
sudo make install
sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
sudo nano /home/pi/.config/autostart/car.desktop



#### don´t work :-(

[Desktop Entry]
Name=Car
Comment=Car
Exec=sudo python3 /home/Adeept_PiCar-B/server/server.py
Icon=false
Terminal=false
MutipleArgs=false
Type=Application
Catagories=Application;Development;
StartupNotify=true
Ctrl + X
s
Enter
sudo cp -f /home/Adeept_PiCar-B/server/set.txt /home/pi/set.txt
#####
install Python 3.7.2
https://www.python.org/
en Windows
set path C:\Users\MATABOADA\AppData\Local\Programs\Python\Python37-32\
python -m pip install –-upgrade pip setuptools wheel
set path C:\Users\MATABOADA\AppData\Local\Programs\Python\Python37
python -m pip install SpeechRecognition
python -m pip install PyAudio-0.2.11-cp37-cp37m-win_amd64.whl
python -m pip install pocketsphinx-0.1.15-cp37-cp37m-win_amd64.whl
python -m pip install numpy

#### python -m pip install opencv_python-3.4.5+contrib-cp37-cp37m-win_amd64.whl
python -m pip install opencv_python-3.4.3-cp37-cp37m-win_amd64.whl
### python -m pip install zmq pybase6
### python -m pyzmq-17.1.2-cp37-cp37m-win_amd64.whl
python -m pip install pyzmq
AP-Hotspot’s SSID : AdeeptCar
password : 12345678
client IP.txt 192.168.0.26 grabar
server set.txt 192.168.0.26 grabar
cmd
cd c:\Users\MATABOADA\Documents\Adeept\Adeept_PiCar-B-V1.0\code\Adeept_PiCar-B-master\client\
client.py
192.168.0.26
#### Connect










Reply

Use magic Report

1

Threads

3

Posts

17

Credits

Newbie

Rank: 1

Credits
17
 Author| Post time 2019-2-8 00:39:22 | Show all posts
Edited by 1548081091 at 2019-2-8 12:42 AM

I do all again, wiht a video in youtube, but make some errors, now I connect, don´t have video, and i have an error with server.py :Traceback (most recent call last):   File "/home/pi/adeept_picar-b/server/server.py", line 700, in <module>     strip.begin()   File "/usr/local/lib/python3.5/dist-packages/rpi_ws281x/rpi_ws281x.py", line 124, in begin     raise RuntimeError('ws2811_init failed with code {0} ({1})'.format(resp, str_resp)) RuntimeError: ws2811_init failed with code -5 (mmap() failed)i don´t found a opencv_python-3.4.3+contrib-cp37-cp37m-win_amd64.whl to install in my Pc,  I install a opencv_python-3.4.5-cp37-cp37m-win_amd64.whl and opencv_python-4.0.1-cp37-cp37m-win_amd64.whl

see ya

PD: Work with no video with servertest.py

Reply

Use magic Report

1

Threads

3

Posts

17

Credits

Newbie

Rank: 1

Credits
17
 Author| Post time 2019-2-8 03:55:43 | Show all posts
Good afternoon I bought it in Spain, via Amazon, all good, I arrived and already input failures in the armed and screws, not to mention the installation program after 7 attempts works, only that there is no video. I'm still trying, I'm new to this, but I have some handling. The truth is that I am disappointed.
Nor tell them that Addept do not respond or an email. not even in the forum of Them.
The truth would be good to improve or if a couple more attempts does not work ask for a refund.

regards

PD: Now I'm in Argentina, we'll see how Amazon and Adeept behave
Reply

Use magic Report

0

Threads

3

Posts

23

Credits

Newbie

Rank: 1

Credits
23
Post time 2019-2-12 15:18:03 | Show all posts
the version of openCV and the version of Python installed in your PC should be the same, or you need to uninstall python(and the libraries) and install python 3.7+, then install opencv_python‑4.0.1‑cp37‑cp37m‑win_amd64.whl again( do not install other version of opencv )

for the ws_2812 problems, you may need to install rpi_ws281x in your raspberry pi
sudo pip3 install rpi_ws281x

remember that the ws_2812 leds will not work if you turn your SPI on, try "sudo raspi-config" and turn SPI down(SPI is off by default)

Reply

Use magic Report

0

Threads

1

Posts

4

Credits

Newbie

Rank: 1

Credits
4
Post time 2019-3-6 09:34:59 | Show all posts
One problem I had was that " /home/Adeept_PiCar-B/server/server.py" had to be all lower case.  The instructions were incorrect.  You'll need to rename the folder Adeept_PiCar-B to all lower case and change the reference in the [Desktop Entry]
Reply

Use magic Report

0

Threads

1

Posts

14

Credits

Newbie

Rank: 1

Credits
14
Post time 3 day(s) ago From the mobile phone | Show all posts
Hi guys if someone here want help to setup the Mars Rover PiCar_B I can help. Let me know. I buy one everything works great. I find some errors in the documentation setup. If you want help i’ here to help
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules