Ignore:
Timestamp:
Nov 28, 2019, 5:08:04 PM (2 years ago)
Author:
Sanahuja Guillaume
Message:

add servos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/Camera.cpp

    r338 r340  
    5151}
    5252
    53 //This contructor must only be called for a simulated device.
    54 Camera::Camera(const IODevice *parent, std::string name)
    55     : IODevice(parent, name) {
    56   plot_tab = NULL;
    57   main_tab = NULL;
    58   tab = NULL;
    59   sensor_tab = NULL;
    60   setup_groupbox = NULL;
    61 
    62   output = NULL;
    63         logFormat=LogFormat::NONE;
    64 }
    65 
    6653Camera::~Camera() {
    67   if (main_tab != NULL)
    68     delete main_tab;
     54  delete main_tab;
    6955}
    7056
     
    9480
    9581void Camera::UseDefaultPlot(const core::Image *image) {
    96   if (tab == NULL) {
    97     Err("not applicable for simulation part.\n");
    98     return;
    99   }
    100 
    10182  plot_tab = new Tab(tab, "Picture");
    10283  Picture *plot = new Picture(plot_tab->NewRow(), ObjectName(), image);
Note: See TracChangeset for help on using the changeset viewer.