Modified file on the robot is not overwritten by make upload
#98
-
After editing a file directly on the robot (e.g. via SSH to the onboard Raspberry Pi), the file does not get updated by subsequent |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Using
A particularity of Consider the following scenario:
In this case, the
Then the changes to |
Beta Was this translation helpful? Give feedback.
Using
make upload
to upload a consistent build to the robot will in turn callrsync
:A particularity of
rsync
is that a remote file will only be updated if the local file is more recent. Otherwise, the remote file (that is, on the robot) is assumed more up-to-date, and left as is.Consider the following scenario:
config.gin
, in the local (dev) repositorymake upload
config.gin
on the robot, change some parametersmake upload
againIn this case, the
make upload
from step 5 will not overwrite the remoteconfig.gin