mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-13 21:11:59 +00:00
Merge branch 'main' into user/michel-aractingi/2025_06_30_dataset_v3
Signed-off-by: Francesco Capuano <74058581+fracapuano@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|||||||
|
|
||||||
# Install system dependencies and uv (as root)
|
# Install system dependencies and uv (as root)
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
build-essential git curl libglib2.0-0 libegl1-mesa ffmpeg \
|
build-essential git curl libglib2.0-0 libegl1-mesa-dev ffmpeg \
|
||||||
libusb-1.0-0-dev speech-dispatcher libgeos-dev portaudio19-dev \
|
libusb-1.0-0-dev speech-dispatcher libgeos-dev portaudio19-dev \
|
||||||
&& curl -LsSf https://astral.sh/uv/install.sh | sh \
|
&& curl -LsSf https://astral.sh/uv/install.sh | sh \
|
||||||
&& mv /root/.local/bin/uv /usr/local/bin/uv \
|
&& mv /root/.local/bin/uv /usr/local/bin/uv \
|
||||||
|
|||||||
@@ -107,6 +107,8 @@ X_SERIES_ENCODINGS_TABLE = {
|
|||||||
"Goal_PWM": X_SERIES_CONTROL_TABLE["Goal_PWM"][1],
|
"Goal_PWM": X_SERIES_CONTROL_TABLE["Goal_PWM"][1],
|
||||||
"Goal_Current": X_SERIES_CONTROL_TABLE["Goal_Current"][1],
|
"Goal_Current": X_SERIES_CONTROL_TABLE["Goal_Current"][1],
|
||||||
"Goal_Velocity": X_SERIES_CONTROL_TABLE["Goal_Velocity"][1],
|
"Goal_Velocity": X_SERIES_CONTROL_TABLE["Goal_Velocity"][1],
|
||||||
|
"Goal_Position": X_SERIES_CONTROL_TABLE["Goal_Position"][1],
|
||||||
|
"Present_Position": X_SERIES_CONTROL_TABLE["Present_Position"][1],
|
||||||
"Present_PWM": X_SERIES_CONTROL_TABLE["Present_PWM"][1],
|
"Present_PWM": X_SERIES_CONTROL_TABLE["Present_PWM"][1],
|
||||||
"Present_Current": X_SERIES_CONTROL_TABLE["Present_Current"][1],
|
"Present_Current": X_SERIES_CONTROL_TABLE["Present_Current"][1],
|
||||||
"Present_Velocity": X_SERIES_CONTROL_TABLE["Present_Velocity"][1],
|
"Present_Velocity": X_SERIES_CONTROL_TABLE["Present_Velocity"][1],
|
||||||
|
|||||||
@@ -302,11 +302,6 @@ class RobotClient:
|
|||||||
|
|
||||||
self.logger.debug(f"Current latest action: {latest_action}")
|
self.logger.debug(f"Current latest action: {latest_action}")
|
||||||
|
|
||||||
# Get queue state before changes
|
|
||||||
old_size, old_timesteps = self._inspect_action_queue()
|
|
||||||
if not old_timesteps:
|
|
||||||
old_timesteps = [latest_action] # queue was empty
|
|
||||||
|
|
||||||
# Get queue state before changes
|
# Get queue state before changes
|
||||||
old_size, old_timesteps = self._inspect_action_queue()
|
old_size, old_timesteps = self._inspect_action_queue()
|
||||||
if not old_timesteps:
|
if not old_timesteps:
|
||||||
|
|||||||
Reference in New Issue
Block a user