assisi / playground

Extensions to the Enki simulator for the ASSISI|bf project.
Other
2 stars 3 forks source link

calibratePeltier.cpp does not compile #57

Closed dmiklic closed 8 years ago

dmiklic commented 8 years ago

The calibratePeltier.cpp that's currently in the master branch does not compile. The error is:

/home/damjan/devel/assisi/playground/playground/calibratePeltier.cpp:18:40: error: no matching function for call to ‘Enki::Casu::Casu(Enki::WorldExt*&, double&)’
  Casu *casu = new Casu (world, env_temp);
                                        ^
/home/damjan/devel/assisi/playground/playground/calibratePeltier.cpp:18:40: note: candidates are:
In file included from /home/damjan/devel/assisi/playground/playground/calibratePeltier.cpp:5:0:
/home/damjan/devel/assisi/playground/robots/Casu.h:79:9: note: Enki::Casu::Casu(Enki::Vector, double, Enki::ExtendedWorld*, double, int)
         Casu (Vector pos, double yaw, ExtendedWorld* world, double ambientTemperature, int bridgeMask = 0);
         ^
/home/damjan/devel/assisi/playground/robots/Casu.h:79:9: note:   candidate expects 5 arguments, 2 provided
/home/damjan/devel/assisi/playground/robots/Casu.h:28:11: note: Enki::Casu::Casu(const Enki::Casu&)
     class Casu : public ExtendedRobot
           ^
/home/damjan/devel/assisi/playground/robots/Casu.h:28:11: note:   candidate expects 1 argument, 2 provided

@plsm Please fix.

rmm-fcul commented 8 years ago

As a temporary workaround it is possible to get the playground to compile with: make assisi_playground rather than the implicit make all

plsm commented 8 years ago

I have removed the calibratePeltier program. I have created a pull request for this.

dmiklic commented 8 years ago

I guess this got lost somewhere among all the pull requests of last week :) @plsm please sync with the master branch, fix this and make another pull request.

dmiklic commented 8 years ago

@plsm can you please take care of this?

plsm commented 8 years ago

I have created a pull request.

dmiklic commented 8 years ago

Closed by 13bf673