SZEDER Gábor
e75f7455c4
Dockerfile: generate autogen/version.c only once
...
Since c5720564 (Force version to be regenerated on each compile,
2021-06-01) `autogen/version.c` must be generated during the build
process, but the build instructions in the `Dockerfile` have not been
updated accordingly. Since then two commits [1] on separate branches
updated `Dockerfile` to deal with the missing file, and now
`autogen/version.c` is generated twice during a containerized build.
Remove all redundant commands from `Dockerfile`'s `CMD` instruction to
generate `autogen/version.c` and its subdirectory only once.
[1] 8e9745a6 (Add version.c generation to dockerbuild and actions,
2021-11-02)
7f013d6d (Fixed dockerbuild.sh, now run as user (instead
of root) and fixed the autogeneration of version.c,
2021-09-16)
2022-02-20 20:25:08 +01:00
SZEDER Gábor
22226faef4
Dockerfile: avoid caching issues with apt-get update and install
...
The `Dockerfile` uses separate `RUN` instructions for each `apt-get`
command. Docker's documentation considers this as an anti-pattern,
because it can lead to caching issues [1].
Follow Docker's advice, and combine all `apt-get` invocations into a
single `RUN` instruction with an &&-chaned list of commands. This
makes it rather hard to tell which command produces which output, so
insert a `set -x` at the beginning of the command chain to generate a
trace of the executed commands.
[1] Each `RUN` instruction, including subsequent `RUN apt-get update`
and `RUN apt-get install` instructions create separate layers that
are stored in the Docker cache. If someone were to modify the
list of list of packages to install, then Docker would re-use the
layer created by the prior `RUN apt-get update` instruction,
meaning that `apt-get install` would use an outdate package list.
This can lead to outdated packages to be installed, or a failure
if the outdated version is not present anymore in the package
repository.
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
2022-02-20 19:34:48 +01:00
nick-a-schneider
2ae9e99038
Merge pull request #664 from odriverobotics/feature/can_fix_signal
...
Fix axis_state signal length
2022-02-10 09:27:00 -05:00
Paul Guenette
20f3028dd3
Fix axis_state signal length
2022-02-09 18:11:19 -05:00
Paul Guenette
a9d7d5497a
Merge branch 'master' into devel
2022-02-04 19:06:06 -05:00
Paul Guenette
8ece19f0b9
Fix input mode "Tuning" case in API docs
2022-02-04 19:05:49 -05:00
samuelsadok
a90ee654a4
Merge pull request #661 from odriverobotics/feature/spi_fixes
...
Implement minor fixes for SPI encoders
2022-02-04 10:20:53 +01:00
Samuel Sadok
7e4dbb6c80
implement autopublish for new sphinx docs
2022-02-03 20:04:55 +01:00
Paul Guenette
0aca4911e2
Increase error threshold for SPI encoders
2022-02-02 19:09:46 -05:00
Paul Guenette
ad648dd40a
Reduce SPI slew rate to reduce ringing
2022-02-02 19:09:05 -05:00
Paul Guenette
78ba7884fe
Increase comms speed with encoders to match DRV8301
2022-02-02 19:08:50 -05:00
nick-a-schneider
1884d15497
Merge pull request #656 from odriverobotics/sphinx-docs-update
...
bold table, eqn formatting, homepage, CAN msgs
2022-01-28 14:33:15 -05:00
nick-a-schneider
5d5664cae2
bold table, eqn formatting, homepage, CAN msgs
2022-01-27 15:57:00 -05:00
nick-a-schneider
2510f6c259
Merge pull request #655 from odriverobotics/sphix-docs-update
...
extra space broke hyperlink
2022-01-26 11:48:16 -05:00
nick-a-schneider
ccb3dc6239
extra space broke hyperlink
2022-01-26 11:45:09 -05:00
samuelsadok
8691e883e3
fix memory leak in libfibre
2022-01-26 11:47:14 +01:00
samuelsadok
27aefbbb02
Merge pull request #635 from odriverobotics/endstop_fixes
...
Fix synchronization-related endstop bugs
2022-01-24 13:11:18 +01:00
Paul Guenette
aa255cb9d3
Merge pull request #650 from odriverobotics/sphinx-docs
...
Sphinx docs
2022-01-23 13:43:34 -05:00
nick-a-schneider
150c230bec
included updates from past two months
2022-01-23 11:26:30 -05:00
Paul Guenette
c0af109fae
Ignore docs/reStructuredText/_build/
2022-01-22 17:58:16 -05:00
Paul Guenette
6f3a88592e
Update changelog
2022-01-22 17:53:48 -05:00
Paul Guenette
7402cf8044
Reset trajectory_done_ during homing to fix #634
2022-01-22 17:48:41 -05:00
Paul Guenette
d1bb0049bf
Update endstops before checking for errors
2022-01-22 17:48:41 -05:00
Paul Guenette
d438607d7d
update changelog
2022-01-22 17:48:41 -05:00
Paul Guenette
2de90e01ae
Use new npm install, updates package-lock.json
2022-01-22 17:48:06 -05:00
Paul Guenette
51f4af22de
Merge pull request #653 from odriverobotics/dependabot/npm_and_yarn/GUI/follow-redirects-1.14.7
...
Bump follow-redirects from 1.12.1 to 1.14.7 in /GUI
2022-01-22 17:46:24 -05:00
Paul Guenette
acef60009f
Merge pull request #632 from odriverobotics/dependabot/npm_and_yarn/GUI/electron-11.5.0
...
Bump electron from 9.1.1 to 11.5.0 in /GUI
2022-01-22 17:46:03 -05:00
Paul Guenette
11499bf49d
Merge pull request #654 from odriverobotics/dependabot/bundler/docs/nokogiri-1.13.1
...
Bump nokogiri from 1.11.6 to 1.13.1 in /docs
2022-01-22 17:43:38 -05:00
Paul Guenette
255c77bf57
Merge branch 'master' into devel
2022-01-22 17:41:43 -05:00
dependabot[bot]
32412249b8
Bump electron from 9.1.1 to 11.5.0 in /GUI
...
Bumps [electron](https://github.com/electron/electron ) from 9.1.1 to 11.5.0.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v9.1.1...v11.5.0 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-22 22:39:58 +00:00
dependabot[bot]
c5ca9c2d10
Bump nokogiri from 1.11.6 to 1.13.1 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.11.6 to 1.13.1.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.6...v1.13.1 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-22 22:37:14 +00:00
dependabot[bot]
e2bb53c08f
Bump follow-redirects from 1.12.1 to 1.14.7 in /GUI
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.12.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.12.1...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-15 23:28:13 +00:00
Oskar Weigl
ba861a2a5c
Update getting-started.md
2022-01-14 15:51:45 -08:00
Paul Guenette
654e35ad59
Fix can_helpers link
2021-12-22 21:49:25 -05:00
Paul Guenette
f411be15df
Add brake resistor info to hoverboard guide
2021-12-22 21:44:06 -05:00
samuelsadok
56de67731c
raise limit for ERROR_UNBALANCED_PHASES
...
See #648
2021-12-10 12:19:13 +01:00
nick-a-schneider
275252e196
actually fixed api links and latest _build
2021-12-06 15:31:25 -05:00
nick-a-schneider
33f1e8d0a5
pushed _build folder for review
2021-12-06 15:06:22 -05:00
nick-a-schneider
e17df54652
fixed api links
2021-12-06 14:19:10 -05:00
nick-a-schneider
6d5c2e482b
fixed github links, added contents to most pages
2021-12-06 11:25:23 -05:00
Paul Guenette
16801640ee
Merge pull request #646 from Superchicken/patch-1
...
Update README.md
2021-12-03 15:30:03 -05:00
Deepak
34a7fd84f1
Update README.md
...
add command for running from source (https://discourse.odriverobotics.com/t/odrive-gui-beta-release/5628 )
2021-12-03 12:27:52 -08:00
Oskar Weigl
4dbd2f9fd9
Merge pull request #645 from odriverobotics/autotuning_offsets
...
Add input_xxx to the setpoints for autotuning
2021-12-01 15:37:40 -08:00
Paul Guenette
f04f02aff7
Add input_xxx to the setpoints for autotuning
2021-12-01 17:41:00 -05:00
nick-a-schneider
4f7f798555
opens to getting-started page
2021-11-30 11:44:12 -05:00
nick-a-schneider
34a96d7964
porting docs from markdown to reStructuredText
2021-11-30 11:40:00 -05:00
Paul Guenette
f6394a6c4d
Update endstops.md
...
Remove dependency on cpr in endstop example
2021-11-20 13:55:30 -05:00
Paul Guenette
78ee58873c
Update endstops.md
2021-11-20 13:52:47 -05:00
Paul Guenette
828f14f8a0
Update troubleshooting.md
2021-11-20 13:50:10 -05:00
Paul Guenette
e261943b96
Update troubleshooting.md
2021-11-20 13:46:15 -05:00