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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #1950 of 2001 |
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.

Jason

--- In tekkotsu_dev@yahoogroups.com, "jtennys" <jtennys@...> wrote:
>
> Thanks, I got to looking at that today and found the mismatched values. The
ControllerGUI now runs fine and with my joint names.
>
> --- In tekkotsu_dev@yahoogroups.com, Ethan Tira-Thompson <ejt@> wrote:
> >
> > 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 dumb in that it lets you get away with char* names[10] =
> > { "a", "b" }, just supplying NULL for the missing elements.
> >
> > Also, the name arrays *are* supposed to end with a single NULL entry
> > (and thus have size NumXXX+1 to match)... this is used for some
> > generic functions which run through the array and rely on a NULL-
> > termination entry to detect the end of the array values...
> >
> > So, if nothing jumps out at you in the info file, run tekkotsu in gdb
> > and it will catch the crash, then just look at the variable that's
> > being used, hopefully it will make sense.
> >
> > -Ethan
> >
> > On Jul 1, 2009, at 11:48 AM, jtennys wrote:
> >
> > >
> > >
> > > My project built successfully after modifying the RobotInfo files.
> > > However, when I go to run the executable, this is what happens:
> > >
> > > jason@jason-desktop:~/project$ ./tekkotsu-SZ_KHR2
> > > terminate called after throwing an instance of 'std::logic_error'
> > > what(): basic_string::_S_construct NULL not valid
> > > Aborted
> > >
> > > I wasn't sure where to go with this one.
> > >
> > > Jason
> > >
> > >
> > >
> >
>





Tue Jul 7, 2009 4:58 pm

jtennys
Offline Offline
Send Email Send Email

Forward
Message #1950 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