Revision 2f3e64c4
components/Odometry.cpp | ||
---|---|---|
16 | 16 |
|
17 | 17 |
|
18 | 18 |
Odometry::Odometry(MotorIncrements* mi, L3G4200D* gyroscope) |
19 |
: BaseStaticThread<512>(),
|
|
19 |
: BaseStaticThread<1024>(),
|
|
20 | 20 |
motorIncrements(mi), |
21 | 21 |
gyro(gyroscope), |
22 | 22 |
eventSource(), |
devices/PowerManagement/userthread.cpp | ||
---|---|---|
2 | 2 |
|
3 | 3 |
#include "global.hpp" |
4 | 4 |
#include <array> |
5 |
#include <chprintf.h> |
|
5 | 6 |
|
6 | 7 |
using namespace amiro; |
7 | 8 |
|
include/amiro/Odometry.h | ||
---|---|---|
8 | 8 |
|
9 | 9 |
namespace amiro { |
10 | 10 |
|
11 |
class Odometry : public chibios_rt::BaseStaticThread<512> {
|
|
11 |
class Odometry : public chibios_rt::BaseStaticThread<1024> {
|
|
12 | 12 |
public: |
13 | 13 |
/** |
14 | 14 |
* Constructor |
Also available in: Unified diff