Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
humanoides
bioloid_stm32_fw
Commits
4426c4ba
Commit
4426c4ba
authored
Feb 20, 2016
by
Sergi Hernandez
Browse files
Solved problems with the generation and execution of actions files in the bioloid robot.
parent
a0da87d8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/action.c
View file @
4426c4ba
...
...
@@ -123,7 +123,7 @@ void action_load_next_step(void)
}
}
// compute trajectory
action_pause_time
=
((
action_current_page
.
steps
[
action_current_step_index
].
pause
<<
14
)
/
action_current_page
.
header
.
speed
);
action_pause_time
=
((
action_current_page
.
steps
[
action_current_step_index
].
pause
<<
14
)
*
action_current_page
.
header
.
speed
);
action_step_time
=
((
action_current_page
.
steps
[
action_current_step_index
].
time
<<
14
)
/
action_current_page
.
header
.
speed
);
if
(
action_step_time
<
action_period
)
action_step_time
=
action_period
;
// 0.078 in 16|16 format
...
...
src/motion_pages.c
View file @
4426c4ba
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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