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
50fc009d
Commit
50fc009d
authored
3 years ago
by
C-Glick
Browse files
Options
Downloads
Patches
Plain Diff
Added small comments to structs
parent
af9bf373
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
crazyflie_software/crazyflie-firmware-2021.06/src/modules/interface/stabilizer_types.h
+10
-4
10 additions, 4 deletions
...firmware-2021.06/src/modules/interface/stabilizer_types.h
with
10 additions
and
4 deletions
crazyflie_software/crazyflie-firmware-2021.06/src/modules/interface/stabilizer_types.h
+
10
−
4
View file @
50fc009d
...
...
@@ -160,11 +160,14 @@ typedef struct sensorData_s {
}
sensorData_t
;
typedef
struct
state_s
{
attitude_t
attitude
;
// deg (legacy CF2 body coordinate system, where pitch is inverted)
attitude_t
attitude
;
// deg (legacy CF2 body
// coordinate system,
// where pitch is inverted)
quaternion_t
attitudeQuaternion
;
point_t
position
;
// m
velocity_t
velocity
;
// m/s
acc_t
acc
;
// Gs (but acc.z without considering gravity)
acc_t
acc
;
// Gs (but acc.z without
// considering gravity)
}
state_t
;
typedef
struct
control_s
{
...
...
@@ -186,11 +189,14 @@ typedef struct setpoint_s {
attitude_t
attitude
;
// deg
attitude_t
attitudeRate
;
// deg/s
quaternion_t
attitudeQuaternion
;
float
thrust
;
float
thrust
;
// 0 - 60,000
point_t
position
;
// m
velocity_t
velocity
;
// m/s
acc_t
acceleration
;
// m/s^2
bool
velocity_body
;
// true if velocity is given in body frame; false if velocity is given in world frame
bool
velocity_body
;
// true if velocity
//is given in body frame;
// false if velocity is
// given in world frame
struct
{
stab_mode_t
x
;
...
...
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