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
50ae506d
Commit
50ae506d
authored
7 years ago
by
bbartels
Browse files
Options
Downloads
Patches
Plain Diff
quad: remove breaking include in hw_iface, update virt_quad
parent
5e84d9fd
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/src/quad_app/hw_iface.h
+0
-2
0 additions, 2 deletions
quad/src/quad_app/hw_iface.h
quad/src/virt_quad/main.c
+4
-4
4 additions, 4 deletions
quad/src/virt_quad/main.c
with
4 additions
and
6 deletions
quad/src/quad_app/hw_iface.h
+
0
−
2
View file @
50ae506d
#ifndef HW_IFACE_H
#define HW_IFACE_H
#include
"xbasic_types.h"
/**
* Hardware Interfaces
*
...
...
This diff is collapsed.
Click to expand it.
quad/src/virt_quad/main.c
+
4
−
4
View file @
50ae506d
...
...
@@ -31,7 +31,7 @@ void help_sub_command(char *argv[]);
* Implement each of the hardware interfaces.
*/
int
setup_hardware
(
hardware_t
*
hardware
)
{
hardware
->
i2c
=
create_unix_i2c
();
hardware
->
i2c
_0
=
create_unix_i2c
();
hardware
->
rc_receiver
=
create_unix_rc_receiver
();
hardware
->
motors
=
create_unix_motors
();
hardware
->
uart
=
create_unix_uart
();
...
...
@@ -39,9 +39,9 @@ int setup_hardware(hardware_t *hardware) {
hardware
->
axi_timer
=
create_unix_axi_timer
();
hardware
->
mio7_led
=
create_unix_mio7_led
();
hardware
->
sys
=
create_unix_system
();
hardware
->
imu
=
create_unix_imu
(
&
hardware
->
i2c
);
hardware
->
lidar
=
create_unix_lidar
(
&
hardware
->
i2c
);
hardware
->
of
=
create_unix_optical_flow
(
&
hardware
->
i2c
);
hardware
->
imu
=
create_unix_imu
(
&
hardware
->
i2c
_0
);
hardware
->
lidar
=
create_unix_lidar
(
&
hardware
->
i2c
_0
);
hardware
->
of
=
create_unix_optical_flow
(
&
hardware
->
i2c
_0
);
return
0
;
}
...
...
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