Search found 31 matches

by sm7tix
Thu Mar 22, 2018 3:46 am
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

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

There are some issues with the socket lib also I think. When cloud code is started it is ok to connect to the rover through a new ssh connection, but when i start the graph on my desktop the network on the rover gets unreachable until I close the graph again. Maybe the ip get bind by socket but it s...
by sm7tix
Thu Mar 22, 2018 3:23 am
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

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 sm7tix
Wed Mar 21, 2018 7:33 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

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

Ok. I think it is the pi3 since it have wifi onboard.
I will try to figure out what causing this strange things but for now i have no clue where to start.
by sm7tix
Wed Mar 21, 2018 11:17 am
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

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

If i start the clouddemo on the pi and provergraph on the pc all works nice. BUT if i then access the cam through a webpage the rover get unresponsive! Have to be rebooted to access it again. I have been reading and trying now for several hours but i don't know more things to try now. Someone? I hav...
by sm7tix
Wed Mar 21, 2018 5:57 am
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

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 sm7tix
Tue Mar 20, 2018 6:47 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

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

First try with the sensors demo. sensorsrover.png The rangefinder sometimes have a "heart beat" even it it looks into a wall. Still a very nice work! I will continue to try it out. A suggestion is to make a config-file for the code there we could put in the ipadresses needed and a requirem...
by sm7tix
Tue Mar 20, 2018 6:06 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

Re: Cloud robotics demo code

Early Christmas present :lol: All code can be found below. https://github.com/headamage/cloud-robotics-spirit-rover.git The documentation is very basic but then again so is my code. If you have any questions let me know. I am starting to use your code. First notice: Keybouard mistake in line two in...
by sm7tix
Sun Mar 18, 2018 4:53 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

Re: Cloud robotics demo code

This is quite strange. i had a similar problem with my rangefinder but i managed to get values after I initialised it in arduino. Here is what my arduino script looks like (i am using the PiControl base sketch) */ #include "Hardware.h" void setup(){ // ************ THE SETUP ITEMS BELOW S...
by sm7tix
Sun Mar 18, 2018 2:22 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

Re: Cloud robotics demo code

https://photos.app.goo.gl/hx9gXN5FmgjjyN6h2 This is the final design of the sensor GUI. It seems to be working fine. The screenshot is with the rover sitting on my desk. Unless I am missing something, this should cover every environment sensor on the rover. Does anyone know if there are additional ...
by sm7tix
Sat Mar 17, 2018 4:53 pm
Forum: Spirit Technical Discussion
Topic: Cloud robotics demo code (now with actual code and links to BBC and FT)
Replies: 49
Views: 68576

Re: Cloud robotics demo code

i recommend this for pi camera streaming https://www.linux-projects.org/uv4l/installation/ I then put this in /etc/rc.local uv4l --auto-video_nr --driver raspicam --encoding mjpeg --custom-sensor-config 5 --framerate 49 --vflip yes --exposure fixedfps --video-denoise no --server-option '--port=9000...