Skip to content

Commit 616a026

Browse files
committed
Merge remote-tracking branch 'upstream/main' into coordinates
2 parents 43bad9f + 99feb90 commit 616a026

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

source/docs/software/advanced-controls/system-identification/creating-routine.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ To be able to run the tests, SysIdRoutine exposes test "factories", or functions
6565
.. code-block:: java
6666
6767
public Command sysIdQuasistatic(SysIdRoutine.Direction direction) {
68-
return m_sysIdRoutine.quasistatic(direction);
68+
return routine.quasistatic(direction);
6969
}
7070
7171
public Command sysIdDynamic(SysIdRoutine.Direction direction) {
72-
return m_sysIdRoutine.dynamic(direction);
72+
return routine.dynamic(direction);
7373
}
7474
75-
Either bind the factory methods to either controller buttons or an create an autonomous routine with them. It is recommended to bind them to buttons that the user must hold down for the duration of the test so that the user can stop the routine quickly if it exceeds safe limits.
75+
Either bind the factory methods to either controller buttons or create an autonomous routine with them. It is recommended to bind them to buttons that the user must hold down for the duration of the test so that the user can stop the routine quickly if it exceeds safe limits.

source/docs/software/networktables/tables-and-topics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ Having a Topic object or handle does not mean the topic exists or is of the corr
9999
100100
# get a type-specific topic from a generic Topic
101101
genericTopic = inst.getTopic("/datatable/X")
102-
dblTopic = new DoubleTopic(genericTopic)
102+
dblTopic = ntcore.DoubleTopic(genericTopic)

source/docs/software/roborio-info/roborio-ssh.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ roboRIO User Accounts
1111
---------------------
1212
The roboRIO image contains a number of user accounts, but there are two of primary interest for FRC.
1313

14-
Admin
14+
admin
1515
^^^^^
1616
The "admin" account has root access to the system and can be used to manipulate OS files or settings. Teams should take caution when using this account as it allows for the modification of settings and files that may corrupt the operating system of the roboRIO. The credentials for this account are:
1717

@@ -21,11 +21,11 @@ The "admin" account has root access to the system and can be used to manipulate
2121

2222
.. note:: The password is intentionally blank.
2323

24-
Lvuser
24+
lvuser
2525
^^^^^^
2626
The "lvuser" account is the account used to run user code for all three languages. The credentials for this account should not be changed. Teams may wish to use this account (via ssh or sftp) when working with the roboRIO to ensure that any files or settings changes are being made on the same account as their code will run under.
2727

28-
.. danger:: Changing the default ssh passwords for either "lvuser" or "admin" will prevent C++ and Java teams from uploading code.
28+
.. danger:: Changing the default ssh passwords for either "lvuser" or "admin" will prevent C++, Java, and Python teams from uploading code.
2929

3030
SSH
3131
---

source/docs/yearly-overview/known-issues.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ On Linux/macOS execute the following:
3131
3232
After running those, you’ll need to refresh Java intellisense in VS Code for it to pick up the new files. You can do so by running the ``Clean Java Language Server Workspace`` command in VS Code.
3333

34+
Driver Station Reports Less Free RAM then is Available
35+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36+
37+
**Issue:** The Driver Station diagnostic screen reports free RAM that is misleadingly low. This is due to Linux's use of memory caches. Linux will cache data in memory, but then relinquish when the robot programs requests more memory. The Driver Station only reports memory that isn't used by caches.
38+
39+
**Workaround:** The true memory available to the robot program is available in the file ``/proc/meminfo``. :doc:`Use ssh to connect to the robot </docs/software/roborio-info/roborio-ssh>`, and run ``cat /proc/meminfo``.
40+
41+
.. code-block:: text
42+
43+
MemTotal: 250152 kB
44+
MemFree: 46484 kB
45+
MemAvailable: 126956 kB
46+
47+
The proper value to look is as MemAvailable, rather then MemFree (which is what the driver station is reporting).
48+
3449
Driver Station Reporting No Code
3550
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3651

0 commit comments

Comments
 (0)