Search the web
Sign In
New User? Sign Up
tekkotsu_dev · Tekkotsu Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Posture Editor   Message List  
Reply | Forward Message #1951 of 2001 |
Re: [tekkotsu_dev] Re: Posture Editor


> Although my project builds, I notice that it gives me a warning that
> WalkMC is a noop because my target does not have legs. However, I
> define that the target has legs in my KHR2Info.h file, which is
> included in the RobotInfo files, which is included in Config.h,
> which is included in WalkMC. WalkMC seems to be the only walk
> command that has a problem with this.
>

There are some #define flags which declare basic capabilities, for
instance TGT_HAS_LEGS. So if that is not defined by your Info.h file,
then things like WalkMC will be #ifdef'd out.

See Shared/CommonERSInfo.h for an extended example. Note the #define
TGT_HAS_* list is itself wrapped by a #ifdef TGT_XXX to make sure the
flags are only set if the corresponding robot model is targeted. (see
also http://tekkotsu.org/porting.html )

BTW, I'd encourage you to upgrade in CVS, there's a new walk engine
XWalkMC which may be a little more flexible, or at least is getting
active development. This will probably replace the old WalkMC someday
(should already do so except haven't created walk parameter files for
the Aibos which use WalkMC...)

-Ethan






Tue Jul 7, 2009 5:10 pm

ethan_tirath...
Offline Offline
Send Email Send Email

Forward
Message #1951 of 2001 |
Expand Messages Author Sort by Date

Hi, I have been working on integrating the Kondo KHR-2 into Tekkotsu. I have completed the .kin file and have created all of the Info.h files. My short-term...
jtennys
Offline Send Email
Jun 29, 2009
9:54 pm

... Great! Sounds like an interesting project :) ... You may have compiled for the aibo target? Assuming for the moment that your target name is KHR2, then in...
Ethan Tira-Thompson
ethan_tirath...
Offline Send Email
Jun 29, 2009
10:15 pm

My project built successfully after modifying the RobotInfo files. However, when I go to run the executable, this is what happens: ...
jtennys
Offline Send Email
Jul 1, 2009
3:48 pm

The most common cause is that one of the Num* values doesn't match the values in *Names (e.g. NumOutputs vs. outputNames). Unfortunately, C/C ++ is kind of...
Ethan Tira-Thompson
ethan_tirath...
Offline Send Email
Jul 1, 2009
4:26 pm

Thanks, I got to looking at that today and found the mismatched values. The ControllerGUI now runs fine and with my joint names....
jtennys
Offline Send Email
Jul 7, 2009
3:35 pm

Although my project builds, I notice that it gives me a warning that WalkMC is a noop because my target does not have legs. However, I define that the target...
jtennys
Offline Send Email
Jul 7, 2009
4:58 pm

... There are some #define flags which declare basic capabilities, for instance TGT_HAS_LEGS. So if that is not defined by your Info.h file, then things like...
Ethan Tira-Thompson
ethan_tirath...
Offline Send Email
Jul 7, 2009
6:39 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help