Search found 178 matches

by Kevin
Fri Feb 16, 2018 4:40 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 5483

Re: volts.py output problem

I know the I2C bus can be run at different speeds. I wonder if somehow my unit is at a different speed. Does anyone know off hand how to configure this? Also, some of you started setting up your Pi units before I gave my own setup instructions. I wonder if maybe I did something different when instal...
by Kevin
Thu Feb 15, 2018 5:59 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 5483

Re: volts.py output problem

Okay I did some work on this issue this morning. I can't see anything obviously wrong so this is really strange. When you guys run the volts.py script, are you seeing the COM light on the rover blink? This light should blink any time the PIC sees I2C traffic with its address on it. If we get blinks ...
by Kevin
Tue Feb 13, 2018 4:06 pm
Forum: Spirit Technical Discussion
Topic: volts.py output problem
Replies: 49
Views: 5483

Re: volts.py output problem

Is it just the volts.py? Does the rangefinder example return a result? (If the range is greater or less than about a meter, or the angle to the surface is off, it will return 0's). Mainly interested if you get the "wrong register" result again.
by Kevin
Sun Feb 11, 2018 6:44 pm
Forum: Spirit Technical Discussion
Topic: Democode errors
Replies: 8
Views: 1280

Re: Democode errors

The rangefinder and volts scripts talk to the PIC not the Arduino, but the pre-installed demo on the Arduino does kind of flood the I2C bus reading the rangefinder. Putting the other PiControl behavior on the Arduino should clear this up. This "wrong register replied" comes from the spirit...
by Kevin
Sun Feb 11, 2018 6:39 pm
Forum: Spirit Technical Discussion
Topic: Spirit Pi configuration: virtualenv -- necessary?
Replies: 4
Views: 829

Re: Spirit Pi configuration: virtualenv -- necessary?

The reason for the virtualenv is that the code I was using to connect a PS3 game controller via bluetooth only runs in virtualenv. I'm sure it could be used outside it, but not with the limited install experience I've had. Once I get that together we can re-evaluate whether it's really necessary.
by Kevin
Sat Feb 10, 2018 3:08 am
Forum: Spirit Technical Discussion
Topic: Is there an IMU on board?
Replies: 5
Views: 952

Re: Is there an IMU on board?

There is a gyro and an accelerometer on board. Still need to get to documenting them, but here are a few notes to get you started. These are the exact same parts as on our Ringo robot, and we use the same code. Have a look at the Ringo guide book in the navigation section. This is out dated, but wil...
by Kevin
Sat Feb 10, 2018 2:57 am
Forum: Spirit Technical Discussion
Topic: Pi data to Arduino via SPI
Replies: 4
Views: 670

Pi data to Arduino via SPI

Hey all. This has been mentioned a few times so I wanted to post a new thread for it. The Pi does indeed connect directly to the Arduino via a SPI bus, and as far as I can tell, it works as expected. We already have a SPI protocol implemented between the two devices that you can latch on to with you...
by Kevin
Sat Feb 10, 2018 2:43 am
Forum: Spirit Technical Discussion
Topic: Quick Update - Working on Pi Code Today!!
Replies: 14
Views: 2632

Re: Quick Update - Working on Pi Code Today!!

Good question. I'll post it as a separate topic. (Pi to Arduino via SPI that is).
by Kevin
Sat Feb 10, 2018 2:39 am
Forum: Spirit Technical Discussion
Topic: Spirit Raspberry Pi Setup
Replies: 2
Views: 590

Re: Spirit Raspberry Pi Setup

Thanks Nick! I did have an error in the .bashrc section. My code pointed of course to a beta directory I had been using for a while. I fixed it in the book. Thanks! On you first issue, are you sure you did the first step of sudo apt-get install libpython2.7-dev? If so I would think that would have i...
by Kevin
Mon Feb 05, 2018 5:09 pm
Forum: Spirit Technical Discussion
Topic: Quick Update - Working on Pi Code Today!!
Replies: 14
Views: 2632

Re: Quick Update - Working on Pi Code Today!!

That's a good question about the community. I'd be open to whatever suggestions you have. I think git is probably best. We prob want to use whatever method would be most comfortable to the most users. Most of the high level code, sharing, and documentation is beyond what I'm familiar with. I can wri...