Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
a43a8ccf
Commit
a43a8ccf
authored
10 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Tracker: remove servo debug
parent
704a7204
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
AntennaTracker/servos.pde
+0
-12
0 additions, 12 deletions
AntennaTracker/servos.pde
with
0 additions
and
12 deletions
AntennaTracker/servos.pde
+
0
−
12
View file @
a43a8ccf
...
...
@@ -147,18 +147,6 @@ static void update_yaw_position_servo(float yaw)
int32_t
yaw_cd
=
wrap_180_cd
(
yaw
*
100
);
const
int16_t
margin
=
500
;
// 5 degrees slop
static
uint16_t
count
=
0
;
static
uint32_t
last_millis
=
0
;
uint32_t
millis
=
hal
.
scheduler
->
millis
();
if
(
millis
>
last_millis
+
1000
)
{
// hal.uartA->printf("ahrs_yaw_cd %ld yaw_cd %ld\n", ahrs_yaw_cd, yaw_cd);
// hal.uartA->printf("count %d\n", count);
last_millis
=
millis
;
count
=
0
;
}
count
++
;
// Antenna as Ballerina. Use with antenna that do not have continuously rotating servos, ie at some point in rotation
// the servo limits are reached and the servo has to slew 360 degrees to the 'other side' to keep tracking.
//
...
...
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