Andrzej Kapolka
|
f04e45b7c1
|
Use quaternions for rotation estimates.
|
2013-06-06 12:07:34 -07:00 |
|
Andrzej Kapolka
|
14f331b07d
|
Scratch that; need to do this in a branch.
|
2013-06-06 12:05:52 -07:00 |
|
Andrzej Kapolka
|
a851499684
|
Rework rotation estimation bits to use quaternions.
|
2013-06-06 12:03:50 -07:00 |
|
Philip Rosedale
|
61d4ac2675
|
Fixes per code review.
|
2013-06-06 09:52:39 -07:00 |
|
Philip Rosedale
|
24dcd14371
|
Added sensor fusion for more stable gyro roll, pitch.
|
2013-06-05 23:53:01 -07:00 |
|
Philip Rosedale
|
69ec109585
|
Refactor/Cleanup serial interface to use vectors, correct rotation axes. Added translation estimation for the head.
|
2013-05-31 15:28:15 -07:00 |
|
Philip Rosedale
|
17c898c151
|
Long term averaging of the gyros for better stability
|
2013-05-24 11:33:00 -07:00 |
|
Stephen Birarda
|
d7a1cc6ea8
|
correct the sign for yaw and roll for invensense serial data
|
2013-05-22 19:38:17 -07:00 |
|
Philip Rosedale
|
1b039c3755
|
Transmitter V2 drives the hand, and rendering levels with 'l' shows the hand transmitter data. Physics will need to be tuned.
|
2013-05-16 00:10:10 -06:00 |
|
Philip Rosedale
|
6b85d93aee
|
Simplified serial port init to not use baud.
|
2013-05-13 18:52:43 -07:00 |
|
Philip Rosedale
|
87dfbf9f4f
|
Improved Invensense stability by adding average of first few samples to better eliminate DC bias/drift
|
2013-05-13 18:04:21 -07:00 |
|
Philip Rosedale
|
dd33cedf8d
|
Removed old serial code for Maple ADC
|
2013-05-09 14:01:22 -07:00 |
|
Philip Rosedale
|
dbdd4160cc
|
Added acceleration reading, gravity baseline, and line displays to invensense
|
2013-05-09 13:29:09 -07:00 |
|
Stephen Birarda
|
1c073c1c71
|
correct the accelerometer sensitivity
|
2013-05-09 10:38:02 -07:00 |
|
Stephen Birarda
|
f95ba24f21
|
also read accelerometer data from invensense boards
|
2013-05-09 10:34:40 -07:00 |
|
Philip Rosedale
|
a9882d054f
|
Invensense gyros now correctly controlling head motion, code cleanups.
|
2013-05-08 14:39:41 -07:00 |
|
Philip Rosedale
|
131377aaf9
|
Converted gyro values to floats and converted to exact degrees/second per docs.
|
2013-05-08 11:22:49 -07:00 |
|
Stephen Birarda
|
75ba88923f
|
remove the serial interface close in destructor, incorrect solution
|
2013-05-07 17:09:49 -07:00 |
|
Stephen Birarda
|
f424b75e7b
|
some spacing repairs after merging Philip's levels pull
|
2013-05-06 17:50:44 -07:00 |
|
Philip Rosedale
|
3b3e6ae075
|
Merge remote-tracking branch 'upstream/master'
|
2013-05-06 13:42:23 -07:00 |
|
Stephen Birarda
|
784fa5882a
|
closing of serial interface should be conditional on __APPLE__
|
2013-05-06 13:36:58 -07:00 |
|
Stephen Birarda
|
250df35bc1
|
resolve conflicts on merge with upstream master
|
2013-05-06 13:31:50 -07:00 |
|
Philip Rosedale
|
eedbb98c32
|
Merge remote-tracking branch 'upstream/master'
|
2013-05-06 13:29:34 -07:00 |
|
Philip Rosedale
|
f39fa3549b
|
invensense horizontal lines for RT indicator
|
2013-05-06 13:29:02 -07:00 |
|
Stephen Birarda
|
6666229d83
|
close the serial file descriptor in destructor
|
2013-05-06 13:25:49 -07:00 |
|
Stephen Birarda
|
49042046de
|
remove duplicated constructor after merge
|
2013-05-06 13:20:13 -07:00 |
|
Stephen Birarda
|
0b810fa4c2
|
if we fail to open SerialInterface twice then don't keep trying
|
2013-05-06 13:09:15 -07:00 |
|
Philip Rosedale
|
e85e44456b
|
Tweaking level indicators for new Invensense
|
2013-05-06 13:05:45 -07:00 |
|
Stephen Birarda
|
37f1360542
|
fix spacing for gravity vector
|
2013-05-06 10:39:36 -07:00 |
|
Stephen Birarda
|
9e3b862c67
|
hook up the invensense via existing SerialInterface class
|
2013-05-02 12:26:12 -07:00 |
|
Philip Rosedale
|
d9099b5f5a
|
removed 2 unneeded debug lines
|
2013-04-18 13:34:37 -07:00 |
|
Philip Rosedale
|
a834c52b40
|
Quick attpemt to fix logging code
|
2013-04-18 07:48:57 -07:00 |
|
tosh
|
1e6352593a
|
Merge branch 'master' of git://github.com/worklist/hifi into 19262
Conflicts:
interface/src/Head.cpp
interface/src/Util.cpp
interface/src/main.cpp
libraries/avatars/src/Orientation.cpp
|
2013-04-18 12:38:35 +02:00 |
|
tosh
|
349e89aaa6
|
integrates logging for interface
|
2013-04-17 19:04:10 +02:00 |
|
Philip Rosedale
|
5e5a7e0a0c
|
Improved SerialInterface: Added gravity vector get function, closer to coding standards, better rendering of levels.
|
2013-04-15 20:52:18 -07:00 |
|
Kees van Prooijen
|
9ae11ffe77
|
more windows port
|
2013-03-20 12:13:14 -07:00 |
|
Stephen Birarda
|
c7213d6593
|
conditionally include winsock2.h instead of UNIX socket stuff
|
2013-03-19 11:46:53 -07:00 |
|
Stephen Birarda
|
8ef885aaaf
|
remove extra tokens after endif for WIN32 conditionals
|
2013-03-19 11:10:42 -07:00 |
|
Kees van Prooijen
|
cd27c74a2d
|
prelimanary changes for windows port
|
2013-03-19 11:01:08 -07:00 |
|
Stephen Birarda
|
5b8541eaa4
|
fix conditional implementation of SerialInterface
|
2013-03-18 16:29:06 -07:00 |
|
Stephen Birarda
|
158270f20d
|
only use SerialInterface if on UNIX machine
|
2013-03-18 15:36:26 -07:00 |
|
Stephen Birarda
|
9774dd5874
|
don't kill serial when polling too quickly
|
2013-02-18 10:37:00 -08:00 |
|
Stephen Birarda
|
8e4e5d049b
|
fix bad conditional serial pairing
|
2013-02-15 15:08:05 -08:00 |
|
Stephen Birarda
|
660630e981
|
discard initial garbage reads, reset properly on disconnect
|
2013-02-15 15:06:09 -08:00 |
|
Stephen Birarda
|
d0203158c8
|
initial setup of polling for newly connected headset
|
2013-02-15 14:58:07 -08:00 |
|
Philip Rosedale
|
12e4e15b21
|
It's entirely possible that the serialInterface reader is a tiny bit better, but I'm really not sure. :) Fixed bug with reading from middle of serial string on startup causing hang.
|
2013-02-13 20:40:00 -08:00 |
|
Stephen Birarda
|
1111e4837e
|
intial restructuring for CMake setup
|
2013-02-06 18:07:36 -08:00 |
|