Cloud robotics demo code (now with actual code and links to BBC and FT)

The more technical aspects of Spirit, and carry-over discussion from Kickstarter updates.
User avatar
TomTheWhittler
Posts: 29
Joined: Wed Sep 13, 2017 5:04 am

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

Postby TomTheWhittler » Tue Apr 03, 2018 1:43 am

I tried the demo. Got :
_pi $ python clouddemo.py
Error on Write
Error on Write
Traceback (most recent call last):
File "clouddemo.py", line 21, in <module>
sock.bind(rover_addr)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address

Apparently I did not do something correctly..
Research is the only place in a company where you can continually have failures and still keep your job.
I knew immediately that was where I belonged.

User avatar
TomTheWhittler
Posts: 29
Joined: Wed Sep 13, 2017 5:04 am

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

Postby TomTheWhittler » Tue Apr 03, 2018 2:21 am

Found out I fat fingered the IP address. Fixed that and ran the python script. It did a constant stream of "write error" for the output. Closed the window and then the Raspberry Pi 3 started to act funny. Select shutdown and reboot. Came back with 4 Raspberry's on the top and then it just sits there. Note to self. Clone card with everything setup and working before messing with code. One evening down the drain.
Research is the only place in a company where you can continually have failures and still keep your job.
I knew immediately that was where I belonged.

User avatar
TomTheWhittler
Posts: 29
Joined: Wed Sep 13, 2017 5:04 am

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

Postby TomTheWhittler » Tue Apr 03, 2018 2:30 am

headamage wrote: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 card. Go through my scripts and eliminate all the pixel functions from all of them. i didn't notice any problems with the servos and motors so everything else should be fine.
You should definitely be able to use manual control over the network without the camera.
i just finished moving back to pi2. I wasted the whole day trying to troubleshoot problems with pi3.


I am using the Pi3 that came with my kit. I do not have a Pi2. I am guessing the cloud demo used the pixel functions and therefore crashed the SD file system making my Pi3 a brick again. Bummer. Hope this can be straighten out.
Research is the only place in a company where you can continually have failures and still keep your job.
I knew immediately that was where I belonged.

headamage
Posts: 29
Joined: Mon Dec 04, 2017 5:27 pm

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

Postby headamage » Tue Apr 03, 2018 2:10 pm

There is a fix for that. Have a look in the previous page or in a separate thread related to Pi3 and pixel. I have not tested it myself but it might help you.

headamage
Posts: 29
Joined: Mon Dec 04, 2017 5:27 pm

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

Postby headamage » Sun Apr 08, 2018 3:22 pm

The rover got some air time on BBC and FT as part of the 5G event in London.

Spirit on FT
https://www.ft.com/video/ecce7b44-fd92- ... b7a537fc60

Spirit on BBC
https://www.bbc.co.uk/iplayer/episode/b ... click-om5g

sm7tix
Posts: 31
Joined: Sat Oct 28, 2017 4:21 pm

Re: Cloud robotics demo code (now with actual code and links to BBC and FT)

Postby sm7tix » Sun Apr 08, 2018 10:01 pm

Are you the driver? The clip from BBC only works in UK.
Kind regards

Stefan / SM7TIX

headamage
Posts: 29
Joined: Mon Dec 04, 2017 5:27 pm

Re: Cloud robotics demo code (now with actual code and links to BBC and FT)

Postby headamage » Mon Apr 09, 2018 10:51 am

rover was on manual control for the video. wifi was too congested to run the AI reliably. I was able to run it with the AI when fewer people were around at the start/end of the event.

Kevin
Posts: 179
Joined: Tue Jul 28, 2015 12:56 am

Re: Cloud robotics demo code (now with actual code and links to BBC and FT)

Postby Kevin » Mon Apr 09, 2018 4:35 pm

Hey everyone! I know I'm way late in this thread but I wanted to say I love what you all are doing. Sorry I haven't had more time on the forum here, but you all are doing an outstanding job running with this. Love it!

Thanks!
-Kevin

marckarasek
Posts: 23
Joined: Sun Jan 14, 2018 1:59 pm

Re: Cloud robotics demo code (now with actual code and links to BBC and FT)

Postby marckarasek » Tue Apr 24, 2018 12:49 pm

Are you still planning on posting your code?

I can offer my github repo as a landing place if you want. I have started some similar projects for the Rover. One of which is to drive it via a android app.

Marc

headamage
Posts: 29
Joined: Mon Dec 04, 2017 5:27 pm

Re: Cloud robotics demo code (now with actual code and links to BBC and FT)

Postby headamage » Tue Apr 24, 2018 3:09 pm

It's on page 2.


Who is online

Users browsing this forum: No registered users and 1 guest