Skip to content
Snippets Groups Projects
Commit 52d0a968 authored by Simon Ottenhaus's avatar Simon Ottenhaus
Browse files

Added init values

parent a6819088
No related branches found
No related tags found
No related merge requests found
......@@ -281,6 +281,7 @@ int AbstractInterface::send(unsigned char id, unsigned int len, unsigned char *d
res = write( buf, 6 + len + 2 );
if ( res < 6 + (int)len + 2 )
{
delete[] buf;
close();
throw TransmissionException("Failed to submit message checksum");
//cerr << "Failed to submit message checksum" << endl;
......
......@@ -38,6 +38,7 @@ SerialInterface::SerialInterface(const char *device, unsigned int bitrate)
{
this->device = device;
this->bitrate = bitrate;
this->fd = -1;
}
SerialInterface::~SerialInterface() {
......
......@@ -6,7 +6,7 @@
using namespace armarx;
WeissHapticSensor::WeissHapticSensor(std::string device)
: device(device)
: device(device), connected(false)
{
sensorTask = new RunningTask<WeissHapticSensor>(this, &WeissHapticSensor::frameAcquisitionTaskLoop);
boost::smatch match;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment