Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ before_install:
- sudo apt-get install -y swig

# how to build
script: cmake . && make -j && sudo make install && make test
script:
- cmake . && make -j && sudo make install
- make test
- cd skeleton-subsystem
- cmake . && make && sudo make install

notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion skeleton-subsystem/SkeletonSubsystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class CSkeletonSubsystem : public CSubsystem
{
public:
CSkeletonSubsystem(const string& strName);
CSkeletonSubsystem(const std::string& strName);

};

6 changes: 4 additions & 2 deletions skeleton-subsystem/SkeletonSubsystemObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@

#define base CFormattedSubsystemObject

using std::string;

CSkeletonSubsystemObject::CSkeletonSubsystemObject(
const string& strMappingValue,
CInstanceConfigurableElement* pInstanceConfigurableElement,
Expand Down Expand Up @@ -105,7 +107,7 @@ bool CSkeletonSubsystemObject::sendToHW(string& strError)
blackboardRead(pvValue, _uiScalarSize);

// Send here the value
cout << "Sending to HW: " << _strMessage << endl;
std::cout << "Sending to HW: " << _strMessage << std::endl;
}

return true;
Expand All @@ -122,7 +124,7 @@ bool CSkeletonSubsystemObject::receiveFromHW(string& strError)
for (uiIndex = 0 ; uiIndex < _uiArraySize ; uiIndex++) {

// Retreive here the value
cout << "Retreive from HW: " << _strMessage << endl;
std::cout << "Retreive from HW: " << _strMessage << std::endl;

// Write Value in Blackboard
blackboardWrite(pvValue, _uiScalarSize);
Expand Down