FRC1076 / FRC1076/2019-Competition

Create local version of sonarSensor (directly connected from Rio to Sonar unit).

Open
#89 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Create a localSonar sensor implementation that provides the same interface as the remote version. Have it wrap the ultraSonic and get it's range data (in cm) from there.

https://robotpy.readthedocs.io/projects/wpilib/en/latest/wpilib/Ultrasonic.html

You may work from the code in the sonar_and_vision_william branch if you want to see the reference interface to the remote version (sonar over UDP).

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the remote sonar interface in the sonar_and_vision_william branch with the existing sensor code, then read the WPILib Ultrasonic documentation linked in the issue. Implement localSonar around the ultrasonic sensor so it exposes the same interface and reports range data in centimeters; done means callers can use it like the remote version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
robotics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.