Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
12c9d3cd
Commit
12c9d3cd
authored
Jul 16, 2021
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set transition time unit to ms
parent
e2df7d44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/motor-control/src/client.c
src/motor-control/src/client.c
+2
-2
No files found.
src/motor-control/src/client.c
View file @
12c9d3cd
...
@@ -238,9 +238,9 @@ static void *packet_sending_thread(void *p) {
...
@@ -238,9 +238,9 @@ static void *packet_sending_thread(void *p) {
next_increment
=
0
;
next_increment
=
0
;
if
(
i_t
<
i_s
)
if
(
i_t
<
i_s
)
end_t
=
(
main_params
.
transition_time
*
USEC_PER_SEC
*
USEC_PER_SEC
*
(
i_c
-
i_t
))
/
(
100
*
MOTOR_STEPS
*
i_t
*
i_c
);
end_t
=
(
main_params
.
transition_time
*
USEC_PER_SEC
*
USEC_PER_SEC
*
(
i_c
-
i_t
))
/
(
100
0
*
MOTOR_STEPS
*
i_t
*
i_c
);
else
else
end_t
=
(
main_params
.
transition_time
*
USEC_PER_SEC
*
USEC_PER_SEC
*
(
i_t
-
i_c
))
/
(
100
*
MOTOR_STEPS
*
i_t
*
i_c
);
end_t
=
(
main_params
.
transition_time
*
USEC_PER_SEC
*
USEC_PER_SEC
*
(
i_t
-
i_c
))
/
(
100
0
*
MOTOR_STEPS
*
i_t
*
i_c
);
}
}
...
...
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