blob: b9e2032898533276b6a07ad48416dbd1d3a840e9 [file] [log] [blame]
/*
* Copyright (c) 2017 Fraunhofer IEM, Eclipse Foundation and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Description:
* HMC588L compass reading and calibration task (x,y plane) with with wiringPi and pThreads
*
* Authors:
* David Schmelter
* <david.schmelter@iem.fraunhofer.de>
*
* Contributors:
*
* Update History:
* 22.03.2017 - initial revision
*
*/
#ifndef COMPASS_SENSOR_TASK_H_
#define COMPASS_SENSOR_TASK_H_
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <ctime>
#include <wiringPi.h>
#include <wiringPiI2C.h>
#include <unistd.h>
#include "../api/basic_psys_rover.h"
#include "../interfaces.h"
#include "../timing/timing.h"
#include <pthread.h>
#include <math.h>
#include <fstream>
#include <iostream>
#include "../pthread_monitoring/collect_thread_name.h"
#include "../RaspberryTest.h"
using namespace std;
void *CompassSensor_Task(void * arg);
#endif /* COMPASS_SENSOR_TASK_H_ */