Skip to main content

A package to simplify the wave rover serial communication

Project description

Wave Rover Serial

wave_rover_serial is a Python package designed for controlling and interacting with the Wave Rover robotic systems via serial communication. It offers a comprehensive set of functionalities to command various aspects of the robot, including movement, servo control, sensor data acquisition, and wireless communication management.

References

https://www.waveshare.com/wiki/WAVE_ROVER

Features

  • Control motor speeds, servo angles, and other robotic components.
  • Read sensor data and system information from the Wave Rover.
  • Manage wireless connections, including WiFi scanning and connection.
  • Simplified interface for robust serial communication with the robot.

Installation

To install wave_rover_serial, use the following pip command:

pip install wave_rover_serial

Dependencies

  • pyserial: This is required for handling serial communication with the robot.

Usage

Here's a quick example of how to use the wave_rover_serial package:

from wave_rover_serial import Robot

# Initialize the Robot with the appropriate serial port and baud rate
robot = Robot('/dev/ttyUSB0')

# Connect to the robot
robot.connect()

# Send a command to set motor speeds
robot.speed_input(left_speed=100, right_speed=100)

# Send a command to get the IMU information and read the response
data = robot.imu_info()
print(data)

# Safely disconnect when done
robot.disconnect()

You can also use the with statement to automatically connect and disconnect from the robot:

from wave_rover_serial import Robot

# Initialize the Robot with the appropriate serial port and baud rate
with Robot('/dev/ttyUSB0') as robot:
    # Send a command to set motor speeds
    robot.speed_input(left_speed=100, right_speed=100)

    # Send a command to get the IMU information and read the response
    data = robot.imu_info()
    print(data)

Documentation

Each method within the Robot class is designed to interact with specific functionalities of the Wave Rover robotic system. Detailed descriptions and usage instructions for each method can be found in the module's documentation.

Contributing

We welcome contributions to the wave_rover_serial package. Feel free to submit pull requests, report bugs, or propose new features.

License

wave_rover_serial is distributed under the MIT License.

Issues

For inquiries or support regarding wave_rover_serial, please file an issue on this repo.

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

wave_rover_serial-0.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

wave_rover_serial-0.5-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file wave_rover_serial-0.5.tar.gz.

File metadata

  • Download URL: wave_rover_serial-0.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for wave_rover_serial-0.5.tar.gz
Algorithm Hash digest
SHA256 1317c17c7ba04bbb9039d51763c46e960fbfed43065a18105a4fe1d5fb9ef02e
MD5 01e15da8a6f0ae15ef5ada991da2a741
BLAKE2b-256 7f1f06093572b0ce65d55e910485ab875a14b29330e3fec6944e826d21f67357

See more details on using hashes here.

File details

Details for the file wave_rover_serial-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for wave_rover_serial-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 93e02e8c27af0cb4c6e4ed17834c1bea045d0eef5df01b74476dcb4e96098a43
MD5 7361e5726a20ff3475ebb76acc053871
BLAKE2b-256 e8f7cfddf1010f5feaf0dec2f63bc6caa2ff4afec90710e8cdc65ac3f599b7cd

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