Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
6297b451
Commit
6297b451
authored
11 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
sdlog2: Fix indendation to expose length better, cut string lengths for excessive strings
parent
65e2062d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/sdlog2/sdlog2_messages.h
+24
-24
24 additions, 24 deletions
src/modules/sdlog2/sdlog2_messages.h
with
24 additions
and
24 deletions
src/modules/sdlog2/sdlog2_messages.h
+
24
−
24
View file @
6297b451
...
...
@@ -342,30 +342,30 @@ struct log_PARM_s {
/* construct list of all message formats */
static
const
struct
log_format_s
log_formats
[]
=
{
/* business-level messages, ID < 0x80 */
LOG_FORMAT
(
ATT
,
"fffffffff"
,
"Roll,Pitch,Yaw,RollRate,PitchRate,YawRate,GX,GY,GZ"
),
LOG_FORMAT
(
ATSP
,
"ffff"
,
"RollSP,PitchSP,YawSP,ThrustSP"
),
LOG_FORMAT
(
IMU
,
"fffffffff"
,
"AccX,AccY,AccZ,GyroX,GyroY,GyroZ,MagX,MagY,MagZ"
),
LOG_FORMAT
(
SENS
,
"fffff"
,
"BaroPres,BaroAlt,BaroTemp,DiffPres,DiffPresFilt"
),
LOG_FORMAT
(
LPOS
,
"ffffffffLLfBBBB"
,
"X,Y,Z,dist,distr,VX,VY,VZ,RLat,RLon,RAlt,XYFlag,ZFlag,LFlag"
),
LOG_FORMAT
(
LPSP
,
"ffff"
,
"X,Y,Z,Yaw"
),
LOG_FORMAT
(
GPS
,
"QBffLLfffff"
,
"GPSTime,FixType,EPH,EPV,Lat,Lon,Alt,VelN,VelE,VelD,Cog"
),
LOG_FORMAT
(
ATTC
,
"ffff"
,
"Roll,Pitch,Yaw,Thrust"
),
LOG_FORMAT
(
STAT
,
"BBfBB"
,
"MainState,ArmState,BatRem,BatWarn,Landed"
),
LOG_FORMAT
(
RC
,
"ffffffffB"
,
"Ch0,Ch1,Ch2,Ch3,Ch4,Ch5,Ch6,Ch7,Count"
),
LOG_FORMAT
(
OUT0
,
"ffffffff"
,
"Out0,Out1,Out2,Out3,Out4,Out5,Out6,Out7"
),
LOG_FORMAT
(
AIRS
,
"fff"
,
"IndSpeed,TrueSpeed,AirTemp"
),
LOG_FORMAT
(
ARSP
,
"fff"
,
"RollRateSP,PitchRateSP,YawRateSP"
),
LOG_FORMAT
(
FLOW
,
"hhfffBB"
,
"RawX,RawY,CompX,CompY,Dist,Q,SensID"
),
LOG_FORMAT
(
GPOS
,
"LLfffffB"
,
"Lat,Lon,Alt,VelN,VelE,VelD,BaroAlt,Flags"
),
LOG_FORMAT
(
GPSP
,
"BLLffBfbf"
,
"NavState,Lat,Lon,Alt,Yaw,Type,LoitR,LoitDir,PitMin"
),
LOG_FORMAT
(
ESC
,
"HBBBHHHHHHfH"
,
"Counter,Num
ESC,Conn,N,Ver,Adr,Volt,Amp,RPM,Temp,SetP,SetPRAW"
),
LOG_FORMAT
(
GVSP
,
"fff"
,
"VX,VY,VZ"
),
LOG_FORMAT
(
BATT
,
"ffff"
,
"V,VFilt,C,Discharged"
),
LOG_FORMAT
(
DIST
,
"ffB"
,
"Bottom,BottomRate,Flags"
),
LOG_FORMAT
(
TELE
,
"BBBBHHB"
,
"RSSI,RemRSSI,Noise,RemNoise,RXErr,Fixed,TXBuf"
),
LOG_FORMAT
(
ESTM
,
"ffffffffffBBBB"
,
"s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,n
_s
tat,stat
_nan,cov_nan
,k
g
ain
_nan
"
),
LOG_FORMAT
(
PWR
,
"fffBBBBB"
,
"Periph5V,Servo5V,RSSI,UsbOk,BrickOk,ServoOk,PeriphOC,HipwrOC"
),
LOG_FORMAT
(
VICN
,
"ffffff"
,
"X,Y,Z,Roll,Pitch,Yaw"
),
LOG_FORMAT
(
ATT
,
"fffffffff"
,
"Roll,Pitch,Yaw,RollRate,PitchRate,YawRate,GX,GY,GZ"
),
LOG_FORMAT
(
ATSP
,
"ffff"
,
"RollSP,PitchSP,YawSP,ThrustSP"
),
LOG_FORMAT
(
IMU
,
"fffffffff"
,
"AccX,AccY,AccZ,GyroX,GyroY,GyroZ,MagX,MagY,MagZ"
),
LOG_FORMAT
(
SENS
,
"fffff"
,
"BaroPres,BaroAlt,BaroTemp,DiffPres,DiffPresFilt"
),
LOG_FORMAT
(
LPOS
,
"ffffffffLLfBBBB"
,
"X,Y,Z,dist,distr,VX,VY,VZ,RLat,RLon,RAlt,XYFlag,ZFlag,LFlag"
),
LOG_FORMAT
(
LPSP
,
"ffff"
,
"X,Y,Z,Yaw"
),
LOG_FORMAT
(
GPS
,
"QBffLLfffff"
,
"GPSTime,FixType,EPH,EPV,Lat,Lon,Alt,VelN,VelE,VelD,Cog"
),
LOG_FORMAT
(
ATTC
,
"ffff"
,
"Roll,Pitch,Yaw,Thrust"
),
LOG_FORMAT
(
STAT
,
"BBfBB"
,
"MainState,ArmState,BatRem,BatWarn,Landed"
),
LOG_FORMAT
(
RC
,
"ffffffffB"
,
"Ch0,Ch1,Ch2,Ch3,Ch4,Ch5,Ch6,Ch7,Count"
),
LOG_FORMAT
(
OUT0
,
"ffffffff"
,
"Out0,Out1,Out2,Out3,Out4,Out5,Out6,Out7"
),
LOG_FORMAT
(
AIRS
,
"fff"
,
"IndSpeed,TrueSpeed,AirTemp"
),
LOG_FORMAT
(
ARSP
,
"fff"
,
"RollRateSP,PitchRateSP,YawRateSP"
),
LOG_FORMAT
(
FLOW
,
"hhfffBB"
,
"RawX,RawY,CompX,CompY,Dist,Q,SensID"
),
LOG_FORMAT
(
GPOS
,
"LLfffffB"
,
"Lat,Lon,Alt,VelN,VelE,VelD,BaroAlt,Flags"
),
LOG_FORMAT
(
GPSP
,
"BLLffBfbf"
,
"NavState,Lat,Lon,Alt,Yaw,Type,LoitR,LoitDir,PitMin"
),
LOG_FORMAT
(
ESC
,
"HBBBHHHHHHfH"
,
"count,n
ESC,Conn,N,Ver,Adr,Volt,Amp,RPM,Temp,SetP,SetPRAW"
),
LOG_FORMAT
(
GVSP
,
"fff"
,
"VX,VY,VZ"
),
LOG_FORMAT
(
BATT
,
"ffff"
,
"V,VFilt,C,Discharged"
),
LOG_FORMAT
(
DIST
,
"ffB"
,
"Bottom,BottomRate,Flags"
),
LOG_FORMAT
(
TELE
,
"BBBBHHB"
,
"RSSI,RemRSSI,Noise,RemNoise,RXErr,Fixed,TXBuf"
),
LOG_FORMAT
(
ESTM
,
"ffffffffffBBBB"
,
"s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,n
S
tat,stat
NaN,covNaN
,k
G
ain
NaN
"
),
LOG_FORMAT
(
PWR
,
"fffBBBBB"
,
"Periph5V,Servo5V,RSSI,UsbOk,BrickOk,ServoOk,PeriphOC,HipwrOC"
),
LOG_FORMAT
(
VICN
,
"ffffff"
,
"X,Y,Z,Roll,Pitch,Yaw"
),
/* system-level messages, ID >= 0x80 */
/* FMT: don't write format of format message, it's useless */
...
...
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