Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make darwin walk #10

Closed
GoogleCodeExporter opened this issue Apr 17, 2015 · 3 comments
Closed

Make darwin walk #10

GoogleCodeExporter opened this issue Apr 17, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

User story:
Darwin needs to go places

Purpose of code to be implemented or task to be completed:
   * take a look at the framework and locate the code to make darwin walk

Original issue reported on code.google.com by gina.c.c...@gmail.com on 5 Mar 2012 at 2:16

@GoogleCodeExporter
Copy link
Author

Original comment by gina.c.c...@gmail.com on 5 Mar 2012 at 2:35

  • Changed state: Fixed
  • Added labels: Milestone-Hackathon

@GoogleCodeExporter
Copy link
Author


ebb8cef453b44d40626cde717bcdd455496fa8df


 MotionManager::GetInstance()->AddModule((MotionModule*)Walking::GetInstance());
 LinuxMotionTimer::Initialize(MotionManager::GetInstance()); 

 Walking::GetInstance()->m_Joint.SetEnableBodyWithoutHead(true, true);
 MotionManager::GetInstance()->SetEnable(true);

 //Set a point in 2D space
 Point2D walkTo(-1, -1);


 //Use the Ball_Follower class to walk Darwin to that point
 BallFollower follower = BallFollower();
 follower.Process(walkTo);

 //OR try making him walk 
 //Walking::GetInstance()->X_MOVE_AMPLITUDE = 0.0;
 //Walking::GetInstance()->A_MOVE_AMPLITUDE = 20.0;
 //Walking::GetInstance()->Start();

Original comment by gina.c.c...@gmail.com on 10 Mar 2012 at 5:49

@GoogleCodeExporter
Copy link
Author

fixed in this commit: 
http://code.google.com/p/roogle-darwin/source/diff?spec=svna9498b20507c5a12cbcf3
dbe3af250ca83ed0147&r=a9498b20507c5a12cbcf3dbe3af250ca83ed0147&format=side&path=
/main.cpp

see also the Walking Tutorial http://darwin-op.springnote.com/pages/7216713

Original comment by gina.c.c...@gmail.com on 10 Mar 2012 at 5:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant