Changeset 221 in flair-src for trunk/lib


Ignore:
Timestamp:
02/22/18 15:38:55 (4 years ago)
Author:
Sanahuja Guillaume
Message:

add us plot

Location:
trunk/lib
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/RangeFinderPlot.cpp

    r214 r221  
    3535    : SendData(position, name, "RangeFinderPlot", 200) {
    3636  this->datas = datas;
    37 Warn("RangeFinderPlot::CopyDatas needs to be written\n");
     37
    3838  SetSendSize(datas->GetDataType().GetSize());
    3939
     
    5858
    5959void RangeFinderPlot::CopyDatas(char *buf) const {
    60   //datas->CopyDatas(buf);
     60  datas->CopyDatas(buf);
    6161}
    6262
  • trunk/lib/FlairSensorActuator/src/SimuUs.cpp

    r214 r221  
    3232namespace sensor {
    3333
     34//control part
    3435SimuUs::SimuUs(string name, uint32_t modelId,uint32_t deviceId,
    3536               uint8_t priority)
     
    4344}
    4445
     46//simulation part
    4547SimuUs::SimuUs(const IODevice *parent, string name,uint32_t modelId,uint32_t deviceId)
    4648    : Thread(parent, name, 0), UsRangeFinder(parent,name) {
  • trunk/lib/FlairSensorActuator/src/UsRangeFinder.cpp

    r214 r221  
    7373Tab *UsRangeFinder::GetPlotTab(void) const { return plot_tab; }
    7474
     75TabWidget *UsRangeFinder::GetTabWidget(void) const { return tab; }
     76
    7577void UsRangeFinder::UseDefaultPlot(void) {
    7678  if (tab == NULL) {
  • trunk/lib/FlairSensorActuator/src/UsRangeFinder.h

    r214 r221  
    105105  */
    106106  gui::Tab *GetPlotTab(void) const;
     107 
     108  /*!
     109  * \brief Tab widget
     110  *
     111  * \return tab widget
     112  */
     113  gui::TabWidget *GetTabWidget(void) const;
    107114
    108115  /*!
Note: See TracChangeset for help on using the changeset viewer.