Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
segway_head
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
labrobotica
drivers
segway_head
Commits
b4a2cbc3
Commit
b4a2cbc3
authored
9 years ago
by
Fernando Herrero
Browse files
Options
Downloads
Patches
Plain Diff
segway_head: function turn_off_all() is now public
parent
3e6ef31e
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
src/segway_head.h
+1
-1
1 addition, 1 deletion
src/segway_head.h
with
1 addition
and
1 deletion
src/segway_head.h
+
1
−
1
View file @
b4a2cbc3
...
@@ -60,7 +60,6 @@ class CSegwayHead : public CDynamixelMotorGroup
...
@@ -60,7 +60,6 @@ class CSegwayHead : public CDynamixelMotorGroup
CDynamixel
*
lights
;
CDynamixel
*
lights
;
protected:
protected:
void
turn_on_all
(
void
);
void
turn_on_all
(
void
);
void
turn_off_all
(
void
);
public:
public:
CSegwayHead
(
std
::
string
&
head_id
,
CDynamixelServerFTDI
*
dyn_server
);
CSegwayHead
(
std
::
string
&
head_id
,
CDynamixelServerFTDI
*
dyn_server
);
CSegwayHead
(
std
::
string
&
head_id
,
CDynamixelServerFTDI
*
dyn_server
,
std
::
vector
<
unsigned
char
>
&
ids
);
CSegwayHead
(
std
::
string
&
head_id
,
CDynamixelServerFTDI
*
dyn_server
,
std
::
vector
<
unsigned
char
>
&
ids
);
...
@@ -88,6 +87,7 @@ class CSegwayHead : public CDynamixelMotorGroup
...
@@ -88,6 +87,7 @@ class CSegwayHead : public CDynamixelMotorGroup
void
set_lights_id
(
unsigned
char
id
);
void
set_lights_id
(
unsigned
char
id
);
void
set_brightness
(
float
brightness
);
void
set_brightness
(
float
brightness
);
float
get_brightness
(
void
);
float
get_brightness
(
void
);
void
turn_off_all
(
void
);
void
turn_on_segment
(
segment_id
id
);
void
turn_on_segment
(
segment_id
id
);
void
turn_off_segment
(
segment_id
id
);
void
turn_off_segment
(
segment_id
id
);
bool
is_segment_on
(
segment_id
id
);
bool
is_segment_on
(
segment_id
id
);
...
...
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