Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-gps
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-gps
Commits
733e7776
Commit
733e7776
authored
Nov 17, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tries to create logs/ for remote access
parent
7c963d18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
read_imu_log.php
src/read_imu_log.php
+8
-2
No files found.
src/read_imu_log.php
View file @
733e7776
...
...
@@ -32,8 +32,8 @@ Command line usage examples:
\033[1;37m~$ php thisscript.php logfile > logfile.csv\033[0m
* With a filter, IMU records only:
\033[1;37m~~$ php thisscript.php logfile 0x010 > logfile.csv\033[0m
* With a filter, GPS NMEA GPRMC
records on
y:
\033[1;37m~~$ php thisscript.php logfile 0x0
01
> logfile.csv\033[0m
* With a filter, GPS NMEA GPRMC
,GPGGA & IMU records onl
y:
\033[1;37m~~$ php thisscript.php logfile 0x0
13
> logfile.csv\033[0m
* Filter bits:
External trigger source:
0x200
...
...
@@ -62,6 +62,12 @@ $thisname = basename($_SERVER['SCRIPT_NAME']);
$remoteaccess
=
(
$_SERVER
[
'REMOTE_ADDR'
]
!=
$_SERVER
[
'SERVER_ADDR'
]);
$hardcodeddir
=
"logs"
;
if
(
$remoteaccess
){
if
(
!
is_dir
(
$hardcodeddir
))
{
mkdir
(
$hardcodeddir
);
}
}
if
(
isset
(
$_GET
[
'format'
])){
$format
=
$_GET
[
'format'
];
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment