Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ucbus-stepper
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jake Read
ucbus-stepper
Commits
2e3a727b
Commit
2e3a727b
authored
3 years ago
by
Jake Read
Browse files
Options
Downloads
Patches
Plain Diff
corrects inter-segment delta loss
parent
358fa301
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
firmware/axl-stepper/src/axl
+1
-1
1 addition, 1 deletion
firmware/axl-stepper/src/axl
firmware/axl-stepper/src/main.cpp
+2
-1
2 additions, 1 deletion
firmware/axl-stepper/src/main.cpp
firmware/axl-stepper/src/osape
+1
-1
1 addition, 1 deletion
firmware/axl-stepper/src/osape
with
4 additions
and
3 deletions
axl
@
0aa41982
Compare
911cba7c
...
0aa41982
Subproject commit
911cba7c18d0d232ad7e04856c55e99027b3e9f8
Subproject commit
0aa41982be0a8ec1189ec6e4517e4f1c2b6774cb
This diff is collapsed.
Click to expand it.
firmware/axl-stepper/src/main.cpp
+
2
−
1
View file @
2e3a727b
...
@@ -62,9 +62,10 @@ EP_ONDATA_RESPONSES onStateData(uint8_t* data, uint16_t len){
...
@@ -62,9 +62,10 @@ EP_ONDATA_RESPONSES onStateData(uint8_t* data, uint16_t len){
Endpoint
statesEP
(
&
osap
,
"states"
,
onStateData
);
Endpoint
statesEP
(
&
osap
,
"states"
,
onStateData
);
void
updateStatesEP
(
void
){
void
updateStatesEP
(
void
){
uint8_t
numBytes
=
AXL_NUM_DOF
*
4
*
3
+
1
;
uint8_t
numBytes
=
AXL_NUM_DOF
*
4
*
3
+
2
;
uint8_t
stash
[
numBytes
];
uint16_t
wptr
=
0
;
uint8_t
stash
[
numBytes
];
uint16_t
wptr
=
0
;
stash
[
wptr
++
]
=
axl_getMode
();
stash
[
wptr
++
]
=
axl_getMode
();
axl_isMoving
()
?
stash
[
wptr
++
]
=
1
:
stash
[
wptr
++
]
=
0
;
dofs
temp
=
axl_getPositions
();
dofs
temp
=
axl_getPositions
();
for
(
uint8_t
a
=
0
;
a
<
AXL_NUM_DOF
;
a
++
){
for
(
uint8_t
a
=
0
;
a
<
AXL_NUM_DOF
;
a
++
){
ts_writeFloat32
(
temp
.
axis
[
a
],
stash
,
&
wptr
);
ts_writeFloat32
(
temp
.
axis
[
a
],
stash
,
&
wptr
);
...
...
This diff is collapsed.
Click to expand it.
osape
@
bc18a89d
Compare
4f5c37e6
...
bc18a89d
Subproject commit
4f5c37e60669b7357b29cba0b842014cdda23161
Subproject commit
bc18a89d155622fd8ab959773c0eb967cedd9383
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