Skip to content

Commit

Permalink
Updated to fix yaw issue
Browse files Browse the repository at this point in the history
  • Loading branch information
smclemo committed Oct 22, 2012
1 parent 46e924f commit 0d7ac30
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified Final/jni/fly
Binary file not shown.
2 changes: 1 addition & 1 deletion Final/jni/native.cpp
Expand Up @@ -148,7 +148,7 @@ void* native_thread_main(void* data)
received_location.x = command.packet.transform[0];
received_location.y = command.packet.transform[1];
received_location.z = command.packet.transform[2];
received_location.yaw = command.packet.transform[3];
received_location.yaw = command.packet.transform[4];

if(filter_pose(&received_location))
{
Expand Down
2 changes: 1 addition & 1 deletion Final/main.cpp
Expand Up @@ -116,7 +116,7 @@ int main()
yaw.f = 0.0f;

pose goal_location, waypoint_1, waypoint_2, waypoint_3, waypoint_4, current_location, correction;
waypoint_1.x = 0.0; //right of kinect positive x
waypoint_1.x = 0.0; //right of kinect positive x
waypoint_1.y = -0.3; //below kinect positive y
waypoint_1.z = 0.0; //in front of kinect positive z
waypoint_1.yaw = 0.0; //turning left of kinect positive yaw
Expand Down

0 comments on commit 0d7ac30

Please sign in to comment.