joschu / trajopt

Trajectory Optimization
http://rll.berkeley.edu/trajopt
Other
367 stars 159 forks source link

drc_walk example fails unless BUILD_HUMANOIDS is set #9

Closed rdeits closed 10 years ago

rdeits commented 10 years ago

I was playing around with the drc_walk.py example, and I noticed that it will only run properly if BUILD_HUMANOIDS is set at compile time. It might be a good idea to put a note in the file about this to save future confusion. It's particularly confusing because drc_walk.py imports humanoidspy but never explicitly calls it, even though it will segfault if the import is not present.

rdeits commented 10 years ago

Ah, I just found the section in the docs which mentions exactly this. Perhaps I should have looked there first ;-)