Search found 58 matches

by esba1ley
Fri Feb 02, 2018 9:25 pm
Forum: Spirit Technical Discussion
Topic: Tilt servo unresponsive when power low?
Replies: 5
Views: 10628

Re: Tilt servo unresponsive when power low?

I've noticed similar intermittent issues with the servos when commanding them over i2c from the Pi. They'll freeze up and it takes a system power cycle to bring them back. Most of the work I'm doing is static, with direct power and using HDMI for a monitor on the Pi... but I find that something happ...
by esba1ley
Fri Feb 02, 2018 3:22 am
Forum: Spirit Technical Discussion
Topic: Gripper assembly and positioning?
Replies: 1
Views: 7925

Re: Gripper assembly and positioning?

I actually broke the servo and had to replace it following the directions. Once I put in a new one, I ran the servo cal routine and watched how the servo moved... then, I installed the grippers so that they wouldn’t hit either limit during the cal routine. I found that I can now command to an open l...
by esba1ley
Thu Feb 01, 2018 12:32 am
Forum: Spirit Technical Discussion
Topic: How to.... interface the RPi with spirit board
Replies: 12
Views: 21608

Re: How to.... interface the RPi with spirit board

Yeah, I found that too... as you point out, it doesn’t say what the corresponding GPIO pins are on the RasPi... I guess we could attempt to buzz them out...
by esba1ley
Wed Jan 31, 2018 8:17 pm
Forum: Spirit Technical Discussion
Topic: How to.... interface the RPi with spirit board
Replies: 12
Views: 21608

Re: How to.... interface the RPi with spirit board

Yup. I talk directly over the i2c. I haven’t quite figured out the SPI pins that talk to the Arduino yet... do you know them? That way we can get a serial comm going and not worry about messages stomping on each other. That’s precisely why the WriteByte() method has a try: statement in it that in ex...
by esba1ley
Wed Jan 31, 2018 8:47 am
Forum: Spirit Technical Discussion
Topic: Spirit Machine Vision Discussion
Replies: 12
Views: 24750

Re: Spirit Machine Vision Discussion

More OpenCV goodness on the Raspberry Pi 3 in the Spirit Rover! Check out my blog post here: https://eriksbailey.wordpress.com/2018/01/31/opencv-on-spiritrover/ I successfully implemented and tested using the pan/tilt head to move the camera, took some images, and stitched them together using exampl...
by esba1ley
Wed Jan 31, 2018 7:22 am
Forum: Spirit Technical Discussion
Topic: Spontaneous power off?
Replies: 1
Views: 7523

Re: Spontaneous power off?

I'm seeing this, too. In my case, I had the following going on: OpenCV was streaming the camera to a window, while I was commanding the pan/tilt head to sweep the full range of its motion in 15 command step increments. I was also plugged in via the USB cable to charge the battery pack... so I though...
by esba1ley
Wed Jan 31, 2018 6:12 am
Forum: Spirit Technical Discussion
Topic: Camera mirror over RealVNC
Replies: 1
Views: 7758

Re: Camera mirror over RealVNC

This is another reason I use OpenCV. The OpenCV windows display the camera contents (stills AND video) over VNC. I believe it does this by doing what you did, but behind the scenes as part of their package. In Python I use the picamera and cv2 packages for anything relating to the camera... because ...
by esba1ley
Wed Jan 31, 2018 6:07 am
Forum: Spirit Technical Discussion
Topic: Camera upside down?
Replies: 1
Views: 7945

Re: Camera upside down?

if you're using raspivid or raspistill, use -vflip -hflip options.

I use OpenCV 3.4, and I have to send equivalent flip commands via my python scripts.
by esba1ley
Mon Jan 29, 2018 8:34 am
Forum: Spirit Technical Discussion
Topic: How to.... interface the RPi with spirit board
Replies: 12
Views: 21608

Re: How to.... interface the RPi with spirit board

Hey all: You might like this more object-oriented, user-friendly version of commanding Pan/Tilt from the Raspberry Pi using Python: ''' This program is to explore the i2c bus on the SpiritRover Kit. Original Source: http://forum.plumgeek.com/viewtopic.php?f=18&t=6575 The SpiritRover i2c bus look...