Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MicroCART
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Distributed Autonomous Networked Control Lab
MicroCART
Commits
52736f11
Commit
52736f11
authored
8 years ago
by
dawehr
Browse files
Options
Downloads
Patches
Plain Diff
Upped the baud rate and moved the loop time to 5ms
parent
07d93c16
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
quad/sw/imu_logger/src/initialize_components.c
+1
-1
1 addition, 1 deletion
quad/sw/imu_logger/src/initialize_components.c
quad/sw/imu_logger/src/timer.h
+1
-1
1 addition, 1 deletion
quad/sw/imu_logger/src/timer.h
with
2 additions
and
2 deletions
quad/sw/imu_logger/src/initialize_components.c
+
1
−
1
View file @
52736f11
...
...
@@ -100,7 +100,7 @@ int initializeAllComponents(user_input_t * user_input_struct, log_t * log_struct
//Xil_AssertWait = FALSE;
// Initialize UART0 (Bluetooth)
if
(
!
uart0_init
(
XPAR_PS7_UART_0_DEVICE_ID
,
1152
00
))
if
(
!
uart0_init
(
XPAR_PS7_UART_0_DEVICE_ID
,
9216
00
))
return
-
1
;
uart0_clearFIFOs
();
...
...
This diff is collapsed.
Click to expand it.
quad/sw/imu_logger/src/timer.h
+
1
−
1
View file @
52736f11
...
...
@@ -19,7 +19,7 @@ extern double LOOP_TIME;
extern
double
time_stamp
;
// desired loop time is not guaranteed (its possible that the loop may take longer than desired)
#define DESIRED_USEC_PER_LOOP
6
000 // gives 5ms loops
#define DESIRED_USEC_PER_LOOP
5
000 // gives 5ms loops
#define PL_CLK_CNTS_PER_USEC 100
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment