Revision 6d13138a src/server/motion_generator.cpp

View differences:

src/server/motion_generator.cpp
29 29
#include "humotion/server/motion_generator.h"
30 30

  
31 31
using humotion::server::MotionGenerator;
32
using humotion::server::Config;
32 33

  
33 34
//! constructor
34
MotionGenerator::MotionGenerator(JointInterface *j) {
35
MotionGenerator::MotionGenerator(JointInterface *j, Config *cfg) {
36
    config = cfg;
35 37
    joint_interface_ = j;
36 38
    last_mouth_target_update_ = boost::posix_time::ptime(boost::posix_time::min_date_time);
37 39
    last_gaze_target_update_  = boost::posix_time::ptime(boost::posix_time::min_date_time);

Also available in: Unified diff