-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef __DEFS__ | ||
#define __DEFS__ | ||
|
||
// SDK | ||
#include "scssdk_telemetry.h" | ||
#include "eurotrucks2/scssdk_eut2.h" | ||
#include "eurotrucks2/scssdk_telemetry_eut2.h" | ||
#include "amtrucks/scssdk_ats.h" | ||
#include "amtrucks/scssdk_telemetry_ats.h" | ||
|
||
const char shm_name[] = "/ets2radiolinux"; | ||
const int NUM_PAGES = 1; | ||
|
||
typedef struct telemetry_state_t | ||
{ | ||
scs_value_dplacement_t world_position; | ||
scs_value_bool_t electricity; | ||
} telemetry_state_t; | ||
|
||
#endif /* __DEFS__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters