sphero-inc / sphero-sdk-raspberrypi-python

Sphero RVR SDK to run on Raspberry Pi using Python
Other
78 stars 52 forks source link

Raspberry Pi 4 8GB + Sphero Modal RV01 [RV-507E] Not working #25

Open gildardoperez opened 2 months ago

gildardoperez commented 2 months ago

I'm unable to run any of the getting_started examples on my Modal RV01.

I have tried:

1. Different RX and TX serial cables:

image

2. Both using ttyAMA0 and ttyS0 (By default, the RVR SDK uses the UART on /dev/ttys0 to communicate with RVR.)

sudo vim /boot/config.txt add: ...

dtoverlay=pi3-disable-bt

core_freq_min=500 enable_uart=1

3. Updating to Current firmware version

Current firmware version: 9.1.462, 9.2.482 MAC Address: 00-00-00-00-00-00 Manufacturing Date: 2019/9/14 Hardware Revision: 5

4. Install Sphero SDK GitHub repository for Raspberry Pi

git clone https://github.com/sphero-inc/sphero-sdk-raspberrypi-python.git cd sphero-sdk-raspberrypi-python ./first-time-setup.sh

5. Used the "use-tty-symlinks" branch sphero-sdk-raspberrypi-python/sphero_sdk/observer/client/dal/serial_observer_dal.py ... def init(self, port_id='/dev/serial0', baud=115200):

...and still not able to run any of the examples, I only get the "Checking RVR firmware versions..."

/sphero-sdk-raspberrypi-python/getting_started/observer/driving/drive_target_slewing.py

Checking RVR firmware versions... Getting default drive target slew parameters... None Driving to (0,0) at 0 degrees

Any other suggestions will be greatly appreciated. Thank you!

OakAtsume commented 1 month ago

Howdy!
I also had this issue and found a fix for it;
You need to access the Raspberry-PI via a GUI (e.g VNC/HDMI); from there you have to open the "Raspberry Pi configuration" ref1 and enable "Serial Port" and disable "Serial Console" con png

What I'm referring about, this image isn't mine but this is the place you need to look at and change the settings at.

Then simply give it a reboot and it should work now!
Please let me know if it does!