Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
segway_rmp_200
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_rmp_200
Commits
32fc5e9c
Commit
32fc5e9c
authored
14 years ago
by
José Luis Rivero Partida
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo in struct member
parent
a72c2c61
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/segway_rmp200.cpp
+19
-19
19 additions, 19 deletions
src/segway_rmp200.cpp
src/segway_rmp200.h
+1
-1
1 addition, 1 deletion
src/segway_rmp200.h
with
20 additions
and
20 deletions
src/segway_rmp200.cpp
+
19
−
19
View file @
32fc5e9c
...
...
@@ -657,25 +657,25 @@ TSegwayRMP200Status CSegwayRMP200::get_status(void)
{
TSegwayRMP200Status
status
;
status
.
right_wheel_velocity
=
this
->
right_wheel_velocity
;
status
.
left_wheel_velocity
=
this
->
left_wheel_velocity
;
status
.
pitch_angle
=
this
->
pitch_angle
;
status
.
pitch_rate
=
this
->
pitch_rate
;
status
.
roll_angle
=
this
->
roll_angle
;
status
.
roll_rate
=
this
->
roll_rate
;
status
.
yaw_rate
=
this
->
yaw_rate
;
status
.
left_wheel_displ
=
this
->
left_wheel_displ
;
status
.
right_wheel_displ
=
this
->
right_wheel_displ
;
status
.
forward_displ
=
this
->
forward_displ
;
status
.
yaw_displ
=
this
->
yaw_displ
;
status
.
servo_frames
=
this
->
servo_frames
;
status
.
left_torque
=
this
->
left_torque
;
status
.
right_torque
=
this
->
right_torque
;
status
.
ui_battery
=
this
->
ui_battery
;
status
.
powerbase_battery
=
this
->
powerbase_battery
;
op_mode
operation_mode
=
this
->
mode
;
op_mode
hardware_mode
=
this
->
hardware_mode
;
gain
gain_schedule
=
this
->
gain_schedule
;
status
.
right_wheel_velocity
=
this
->
right_wheel_velocity
;
status
.
left_wheel_velocity
=
this
->
left_wheel_velocity
;
status
.
pitch_angle
=
this
->
pitch_angle
;
status
.
pitch_rate
=
this
->
pitch_rate
;
status
.
roll_angle
=
this
->
roll_angle
;
status
.
roll_rate
=
this
->
roll_rate
;
status
.
yaw_rate
=
this
->
yaw_rate
;
status
.
left_wheel_displ
=
this
->
left_wheel_displ
;
status
.
right_wheel_displ
=
this
->
right_wheel_displ
;
status
.
forward_displ
=
this
->
forward_displ
;
status
.
yaw_displ
=
this
->
yaw_displ
;
status
.
servo_frames
=
this
->
servo_frames
;
status
.
left_torque
=
this
->
left_torque
;
status
.
right_torque
=
this
->
right_torque
;
status
.
ui_battery
=
this
->
ui_battery
;
status
.
powerbase_battery
=
this
->
powerbase_battery
;
op_mode
operation_mode
=
this
->
mode
;
op_mode
hardware_mode
=
this
->
hardware_mode
;
gain
gain_schedule
=
this
->
gain_schedule
;
return
status
;
}
...
...
This diff is collapsed.
Click to expand it.
src/segway_rmp200.h
+
1
−
1
View file @
32fc5e9c
...
...
@@ -89,7 +89,7 @@ struct TSegwayRMP200Status
float
right_torque
;
float
ui_battery
;
float
powerbase_battery
;
op_mode
tractor
;
op_mode
operation_mode
;
op_mode
hardware_mode
;
gain
gain_schedule
;
};
...
...
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