You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-ai/capture-data/capture-sync.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -709,7 +709,7 @@ The following components and services support data capture and cloud sync:
709
709
## Considerations
710
710
711
711
-**Capturing too much data**: You can [use filtering to collect and sync only certain images](/data-ai/capture-data/filter-before-sync/) to capture data selectively.
712
-
-**Rentention policy**: Set a `retention_policy` attribute in your [data capture configuration](#configure-data-capture) to avoid keeping data stored in the Viam Cloud longer than a specified number of days.
712
+
-**Retention policy**: Set a `retention_policy` attribute in your [data capture configuration](#configure-data-capture) to avoid keeping data stored in the Viam Cloud longer than a specified number of days.
713
713
-**Pausing sync**: You can pause cloud sync at any time by navigating to your machine's **CONFIGURE** tab and disabling **Syncing** for your data management service.
714
714
715
715
If you have captured data that you do not want to sync, delete the data on the machine before resuming cloud sync.
Copy file name to clipboardExpand all lines: docs/operate/reference/viam-micro-server/viam-micro-server-setup.md
+10-12
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,11 @@ For more `micro-rdk-installer` CLI usage options, see [GitHub](https://github.co
15
15
16
16
For code examples and more information on `viam-micro-server`, see [GitHub](https://github.com/viamrobotics/micro-rdk).
17
17
18
-
## SDK usage recommendation
18
+
## Unstable connection
19
19
20
-
If you run [control code](/dev/reference/sdks/) to control your `viam-micro-server` machine, you may experience instability.
21
-
If the connection to the ESP32 with an SDK is unstable, we recommend the following changes to the default settings in your connection code.
22
-
This will disable the SDK background task that monitors the connection to `viam-micro-server`, saving bandwidth.
20
+
Because microcontrollers are more resource-constrained than single-board computers or other computers, when you run [control code](/dev/reference/sdks/) to control your `viam-micro-server` machine, you may experience instability.
21
+
If your connection is unstable, we recommend changing the default settings by making the following changes to your connection code.
22
+
This code will disable the SDK background task that monitors the connection to `viam-micro-server`, reducing processing demands and improving the reliability of connection establishment.
23
23
24
24
{{< tabs >}}
25
25
{{% tab name="Python" %}}
@@ -35,9 +35,9 @@ async def connect():
35
35
check_connection_interval=0,
36
36
# Same for Attempting to reconnect
37
37
attempt_reconnect_interval=0,
38
-
disable_sessions=True,
39
38
# viam-micro-server doesn't support sessions
40
39
# so it is safe to disable them
40
+
disable_sessions=True,
41
41
dial_options=DialOptions.with_api_key(
42
42
# Replace "<API-KEY-ID>" (including brackets)
43
43
# with your machine's api key id
@@ -81,25 +81,23 @@ if err != nil {
81
81
{{% /tab %}}
82
82
{{% /tabs %}}
83
83
84
-
## Troubleshooting
85
-
86
-
### Error: IceTransportClosed
84
+
## Error: IceTransportClosed
87
85
88
86
If you are trying to connect to an ESP32 and the connection is unstable with the repeating error `E (412486) micro_rdk::common::webrtc::ice: closing ice agent with error IceTransportClosed`, you have opened too many connections to the ESP32, which has a maximum of 3 connections by default.
89
87
Make sure you only have one tab with your machine's page open to limit the number of connections to your ESP32.
90
88
91
-
###Linux port permissions
89
+
## Linux port permissions
92
90
93
91
If a "Permission Denied" or similar port error occurs, first check the connection of the ESP32 to the machine's USB port.
94
92
If connected and the error persists, run `sudo usermod -a -G dialout $USER` to add the current user to the `dialout` group, restart your terminal, and try again.
95
93
96
-
###MacOS executable permissions
94
+
## MacOS executable permissions
97
95
98
96
When using a machine running a version of MacOS, the user is blocked from running the executable by default.
99
97
To fix this, **Control+Click** the binary in Finder and then, in the following two prompts select **Open**.
100
98
Close whatever terminal window this opens to be able to run the installer.
101
99
102
-
###Error: FlashConnect
100
+
## Error: FlashConnect
103
101
104
102
This may occur because the serial port chosen if/when prompted is incorrect.
105
103
However, if the correct port has been selected, try the following:
@@ -117,7 +115,7 @@ You can find additional assistance in the [Troubleshooting section](/manage/trou
117
115
118
116
{{< snippet "social.md" >}}
119
117
120
-
###Ubuntu not recognizing the microcontroller
118
+
## Ubuntu not recognizing the microcontroller
121
119
122
120
If you’re trying to connect a microcontroller using serial port to an Ubuntu system and the computer doesn’t seem to be recognizing the microcontroller, check if the `brltty` service or its secondary service `brltty-udev` are active (`brltty` is a service installed by default that provides access to a braille display):
0 commit comments