Description

the following code results in only diode 1 set to full current
    diode.setDiodeState(1,True)
    diode.setDiodeState(2,True)
    diode.setDiodeState(3,True)
    diode.setDiodeCurrent(1, 0.7)
    diode.setDiodeCurrent(2, 0.7)
    diode.setDiodeCurrent(3, 0.7)

This is the log from diode server
2012-12-14 14:32:29.378621 NOTICE TaN aoibis:5927.b574db70 argos DiodeSourceDSQ3K.cpp:144 void argos::diodesource::DiodeSourceDSQ3K::turnOn(int, bool) [Turning diode 3ON]
2012-12-14 14:32:29.378852 NOTICE TaN aoibis:5927.b574db70 argos DiodeSourceDSQ3K.cpp:119 void argos::diodesource::DiodeSourceDSQ3K::setCurrent(int, float) [Setting diode 1 current to 0.7 ampere]
2012-12-14 14:32:29.379397 NOTICE TaN aoibis:5927.b4f4cb70 argos DiodeSourceDSQ3K.cpp:119 void argos::diodesource::DiodeSourceDSQ3K::setCurrent(int, float) [Setting diode 2 current to 0.7 ampere]
2012-12-14 14:32:29.379551 NOTICE TaN aoibis:5927.b574db70 argos DiodeSourceDSQ3K.cpp:119 void argos::diodesource::DiodeSourceDSQ3K::setCurrent(int, float) [Setting diode 3 current to 0.7 ampere]
2012-12-14 14:32:29.569361 WARNING DIODESOURCE1 aoibis:5927.b25feb70 argos DeviceDiodeSource.cpp:314 void argos::diodesource::DeviceDiodeSource::logSystemErrorProperty(std::string) [-100, command error]
2012-12-14 14:32:31.794727 WARNING DIODESOURCE1 aoibis:5927.b25feb70 argos DeviceDiodeSource.cpp:314 void argos::diodesource::DeviceDiodeSource::logSystemErrorProperty(std::string) [-100, command error]
2012-12-14 14:32:34.015312 NOTICE DIODESOURCE1 aoibis:5927.b25feb70 argos DeviceDiodeSource.cpp:306 void argos::diodesource::DeviceDiodeSource::logSystemErrorProperty(std::string) [0, no error]

BugsInfoForm edit

Title 2 commands in a raw are skipped?
DevicesInvolved LedSources
Tag
FirstSeenOn 14 Dec 2012
Status Open
Topic revision: r7 - 15 May 2013, LorenzoBusoni
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback