|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Dual Cameras - Dual Purposes
Quote:
Quote:
does the gyro provide speed and time? I have never used one so I have no idea. If it does, there may be no reason to call the kinect's accelerometer at all, just use the gyro to help plot the diagram maybe? |
|
#2
|
||||
|
||||
|
Re: Dual Cameras - Dual Purposes
Quote:
If you aren't knowledgeable with calculus, to get position out of acceleration, you have to integrate the graph of the values twice, but that won't be too hard considering how powerful of machines laptops. If you do this for x, y and z, you get orientation in relation to your starting position. A problem we have with our gyro is that it drifts, so it starts climbing at an exponential rate. i have a vivid memory of our gyro climbing at 10 rps (revolutions per SECOND) while testing our motors in the pit to make sure everything was running smoothly. While the gyro climbing isn't the worst thing in the world, it is when you use the gyro for machanuum (spelling?) wheels. I haven't heard of many teams having this problem, but we have it, so it affects what we do. The gyro we have just gives pitch roll and yaw based off our initial orientation, which helps us for machanuum driving but nothing else. I really like the idea of using the accerlometer in the kinect, it's already there, so why not use it, right? |
|
#3
|
||||
|
||||
|
Re: Dual Cameras - Dual Purposes
Quote:
Quote:
Also, i shot you an email because it wouldn't let me PM you, faust. I'll start a new thread pertaining to the position idea here in a few so we stay on the camera idea in this thread! Last edited by Invictus3593 : 27-09-2013 at 12:19. |
|
#4
|
|||
|
|||
|
Re: Dual Cameras - Dual Purposes
See this other post for some code. The code isn't as neat as I would like, but If I remember right, I had it feeding the image to the driverstation. Short version, I compressed the image to JPG, sent it over TCP to the driver station, and decoded it for display on the screen.
http://www.chiefdelphi.com/forums/sh....php?p=1205226 |
|
#5
|
||||
|
||||
|
Re: Dual Cameras - Dual Purposes
Quote:
|
|
#6
|
||||
|
||||
|
Re: Dual Cameras - Dual Purposes
I got the C# program written to get the Kinect depth picture, now i can't figure out how to send the data over tcp to the dashboard, any ideas?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|