-
Notifications
You must be signed in to change notification settings - Fork 4
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
3 changed files
with
31 additions
and
3 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,24 @@ | ||
From 30541d27551a9d08f445a3c27adee705a3533eb2 Mon Sep 17 00:00:00 2001 | ||
From: Dustin Spicuzza <dustin@virtualroadside.com> | ||
Date: Thu, 27 Feb 2020 02:00:32 -0500 | ||
Subject: [PATCH] Fix C++ simulation | ||
|
||
--- | ||
roborio/c++/navx_frc_cpp/src/SimIO.cpp | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/roborio/c++/navx_frc_cpp/src/SimIO.cpp b/roborio/c++/navx_frc_cpp/src/SimIO.cpp | ||
index 7f7a235..53d5596 100644 | ||
--- a/roborio/c++/navx_frc_cpp/src/SimIO.cpp | ||
+++ b/roborio/c++/navx_frc_cpp/src/SimIO.cpp | ||
@@ -19,6 +19,7 @@ SimIO::SimIO( uint8_t update_rate_hz, | ||
this->stop = false; | ||
this->start_seconds = 0.0; | ||
this->is_connected = false; | ||
+ this->sim_device = sim_device; | ||
|
||
raw_data_update = {}; | ||
ahrs_update = {}; | ||
-- | ||
2.24.1 | ||
|
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