Skip to main content

Python package for controlling the LeKiwi robot

Project description

pylekiwi

PyPI version

Python package for controlling the LeKiwi robot.

lekiwi

Quick Start

Web UI

Log into the robot and run the following command:

ssh <your robot ip>
sudo chmod 666 <your_follower_robot_serial_port>
uvx pylekiwi webui --serial-port <your_follower_robot_serial_port>

Then, open a web browser and navigate to http://<your robot ip>:8080 to see the web UI.

web ui

Leader and Follower/Client Nodes

Run the following command to start the follower node (host) on the robot (Respberry Pi):

ssh <your robot ip>
sudo chmod 666 <your_follower_robot_serial_port>
uvx pylekiwi host --serial-port <your_follower_robot_serial_port>

Run the following command to start the leader node (client) on the remote machine:

sudo chmod 666 <your_leader_robot_serial_port>
uvx --from 'pylekiwi[client]' pylekiwi leader --serial-port <your_leader_robot_serial_port>
# Use rerun to view the camera frames
uvx --from 'pylekiwi[client]' pylekiwi leader --serial-port <your_leader_robot_serial_port>

Or use the following command to start the leader node (client) on the remote machine:

sudo chmod 666 <your_leader_robot_serial_port>
uvx pylekiwi client capture --camera base --output photo.jpg
uvx pylekiwi client pose go <name_or_angles>     # preset pose name or "10,20,30,40,50"
uvx pylekiwi client pose save <name>             # save current pose
uvx pylekiwi client pose list                    # list preset poses
uvx pylekiwi client pose delete <name>           # delete preset pose
uvx pylekiwi client grasp                        # grasp object
uvx pylekiwi client release                      # release object

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylekiwi-0.9.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylekiwi-0.9.0-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file pylekiwi-0.9.0.tar.gz.

File metadata

  • Download URL: pylekiwi-0.9.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for pylekiwi-0.9.0.tar.gz
Algorithm Hash digest
SHA256 64d8fbda3e6e946fb7120ab729b0362a1b166f13dad71f42ee85fa8142657866
MD5 c5dd230885782b0319bfc4f38f1807fc
BLAKE2b-256 057de3e82158eb741e91b2247e3f97deca41e14266163914e4cb89306a504c3a

See more details on using hashes here.

File details

Details for the file pylekiwi-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: pylekiwi-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for pylekiwi-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eee9d452bd2ffd95f28f337f7128c20ef5c27b503fcfe7cbafeefc749f057224
MD5 ece6f4d636cf828cad69d3b983eaac13
BLAKE2b-256 c05735eaa726c7ce32785cae8005d7af915d5a7dd3257e6ac9e08a0cf2b309de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page