ThunderBorg and MonsterBorg

Discussions and queries about ThunderBorg and MonsterBorg.

Import error message

I have been trying to write some python code to manipulate a motor with the PI and ThunderBorg board.
When I try to write an import function to use the ThunderBorg.py file I am met with an error message (see photo attached).
I have expanded the working directory to include the ThunderBorg filepath but this has not made a difference.
I have already gone through the initial installation for Thunder Borg without any problems.

Any suggestions as to how I fix this would be great

Thank you

Drive your MonsterBorg from a smart phone or web browser

I can't connect with smartphone or other device to drive the Monsterborg.

I'm on the same Wifi network, I put the IP address of the Monsterborg as url to connect with smartphone.

I made following point:
Run at startup

Open /etc/rc.local to make an addition using: sudo nano /etc/rc.local Then add this line just above the exit 0 line: sudo /home/pi/monsterborg/monsterWeb.py & Finally press CTRL+O, ENTER to save the file followed by CTRL+X to exit nano. Next time you power up the Raspberry Pi it should start the script for you :)

AttributeError: 'module' object has no attribute 'cv'

I just installed OpenCV (libopencv-dev python-opencv) and monster_self_drive. When running MonsterAuto.py I get the following error:

pi@raspberrypi:~/monster-self-drive $ ./MonsterAuto.py
Libraries loaded
Running script in directory "."
TEST MODE: Skipping board setup
Setup camera input
Traceback (most recent call last):
File "./MonsterAuto.py", line 91, in
Settings.capture.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, Settings.imageWidth);
AttributeError: 'module' object has no attribute 'cv'

MonsterBorg Build Video

Python3 - MonsterWeb (and Ultaborg-web)

Has anybody converted MonsterWeb and Ultraborg-web to run under Python3 ?
I'm aware to use UltraBorg3.py and ThunderBorg3 and also socketserver replacing SocketServer but after lots of hours trying I've been unsuccessful getting the scripts to run from a sudu prompt.

Running monsterjoy.sh from another script

Hello,
How would I run monsterjoy.sh from another python script
Thanks!

Crash Thunderborg / The 5V supply has large fluctuations.

I have problems with the acceleration of the engines that Thunderborg gets stuck.
The motors turn without load. After about 2-15 seconds the crash comes.
Both motors consume approx.2.5A together. I use 18V 5A Lions batteries from Bosch drills.

The motors can no longer be controlled and run at the last speed before the crash.
One suspicion is that it is the cause of the 5V fluctuations. See image.

Connecting a (non official) PS3 controller

Hi

I've been trying (and failing) to connect a PS3 controller to a pi3b+ running Buster. Firstly I can see the controller in the Raspberry Pi Bluetooth connect menu (yay) but when I click it, it asks me to enter a 6 digit code on my controller (which may be a problem....)

Help?

Thanks

Phil

Desktop Power

Hi all,

I've just placed an order a Monsterborg and was just wondering if anybody uses a PSU or something similar while writing and developing code for the robot while it's sitting on a desktop.

Russ

Borg as kids transporter

Hi, I want to build a car that my kids (17kg and 12kg) can sit on and drive around in the apartment. I don't need speed (walking speed is more than enough), but a robust chassis that allows the two of them to sit on top. The robot will need some obstacle-detection capabilities so that it avoids bumping into furniture. I am savvy on the programming side, but newbie with the hardware and wonder which PiBorg is probably the best basis for such an experiment. Any help highly appreciated! Thank you, Ingo

Pages

Subscribe to RSS - ThunderBorg and MonsterBorg