Search found 29 matches

by headamage
Thu Mar 22, 2018 8:50 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code (now with actual code!!)

Network issue solved!! I don't know what was wrong, but i rewrote the /etc/network/interfaces file and now it works like a sharm! I can run graph, manual and cam at the same time. GREAT work! I get some error on read and error on write from cloud. Do you know how to debug that more? Do you know how...
by headamage
Thu Mar 22, 2018 8:40 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code (now with actual code!!)

The pixel lib, is it something done just for the spirit or is it a common lib? Spirit-pixel.py is just a front-end to send commands to the pgpixelserver via the network. pgpixelserver processes the received commands and the actual pixel operations are in PixAnimation.py PixAnimation.py uses the rpi...
by headamage
Wed Mar 21, 2018 10:37 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code (now with actual code!!)

ok since you definitely have pi3, i advise you do not use any of the pixel functions. Especially the navlights.py Every time i start navlights.py on the pi3 it corrupts the file system. There seems to be a conflict between the supplied python libraries for pixels and the way the pi3 accesses the sd ...
by headamage
Wed Mar 21, 2018 7:14 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code (now with actual code!!)

are you on pi3 or pi2? I just discovered a major problem with pi3 on mine. Pi3 for some reason loses access to the file system when using the pixels. It's a catastrophic failure since the device crashes completely. It may also simply be a case that your network cannot handle the camera traffic on to...
by headamage
Tue Mar 20, 2018 11:41 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code (now with actual code!!)

rangefinder accuracy is a bit sketchy from what I have seen also but this is not meant to be a high precision sensor. For the rover's purposes, it does the job very well. Occasionally you will get some fluctuations but also keep in mind, the graphs have auto scale, so what looks like a huge jump or ...
by headamage
Sun Mar 18, 2018 9:34 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code (now with actual code!!)

You are very welcome. Yes, it might be related to pi losing power during shutdown. Just take out the SD card from the Pi and flash it with your PC/laptop (assuming you have a card reader). I am using the latest raspbian image and flash it directly on the card so I don't have to use NOOBs after to ac...
by headamage
Sun Mar 18, 2018 7:14 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code

Early Christmas present :lol:
All code can be found below.


The documentation is very basic but then again so is my code. If you have any questions let me know.
by headamage
Sun Mar 18, 2018 5:54 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code

https://photos.app.goo.gl/Kr3jwNGYrb5MYcTL2 This is an early stage video before I implemented the rangefinder into python. All 'intelligence' functions are running on my PC and the rover simply sends sensor data and receives motor instructions over WiFi. At the moment it can also use the rangefinde...
by headamage
Sun Mar 18, 2018 5:22 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 65866

Re: Cloud robotics demo code

i'm on the same boat here. I am a network engineer so programming is not my strength at all. I am not new to arduino and python but my code is always very simple and straight forward. There are probably 100 different ways to do my code better. In fact I have ideas on how to improve it but don't know...