Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tet * Add color correction * rename * rename * Add credit * remove comment * Lint * Color correction * 6 shaves * revert * fix * always queue rgb * color correct * Add arg * Add arg * lint * remove loginfo * 🙃 * Tuned static power global * Added RectInfo.msg * Tuned static power global * Switched usb_camera to bottom * Added blue rectangle detector * Added blue rectangle detector to sensors.launch * Fixed move_to_cv_obj * Added blue rectangle to CV interface * Modified prequal task code * Added prequal task to task runner * Deleted rospy.loginfo statements from blue rectangle detector * Added rect info subscriber to cv interface * Modified prequal code * Decreased angular tolerance * Added depth to state interface * Added blue rect touching top and touching bottom and outlier filtering to cv interface * Updated prequal task * Improved code to compute blue rectangle angle * Final prequal code * Added enable controls to controls interface * Removed outlier filtering from blue rectangle in cv interface and added rect angle publisher * Add maxsize and blocking * Added gate style task * First draft of buoy detector with conotour matching * Changed usb camera channel back to 0 * Completed barrel roll task * Removed unnecessary code * Added IMU to state interface * Added HSV filtering to buoy detector * Improved buoy detector * Added bbox filtering * Completed buoy detector * Buoy contour image * Removed print * Added buoy detector to sensors.launch * First draft of buoy task * Added buoy to cv interface * Switched task runner to buoy task * Added bbox related things to geometry_utils * launch arg * compile serial * refactor to use open/close * removed ros layer * refactored arduino, launch * constant message length * updated docs, adds serial.launch alias * Tightened HSV values for buoy detector and commented out filtering code * Completed buoy task * Copy models * Add ros-yolov7 * Add ros-image-transport * Patch bugs in ros-yolov7 * Add ros-yolov7 deps * Add weights and labels * Color based on class * Add paths and tweak params * Upload best.pt * Changed cuda to cpu for yolov7 * Increased yolov7 confidence threshold to 0.90 * Corrected yolov7 labels order * Reversed channel order in np_img_orig in yolov7 * Tuned PID * Increased angular tolerance * Added orig IMU to state interface * Added gate detections to cv interface * Added initial submerge, coin flip, and gate task to task runner with input * Added initial submerge, coin flip, and gate task * Tuned static power * Separated angular tolerance into roll, pitch, yaw tolerances * Added orig_state to state interface * Updated CV with accurate gate image height and to use only object width for distance computation * Added coin flip and gate style task to task runner * Added keep_level to move to pos local * Updates to gate tasks * Updated thruster arduino config * Removed stereo vision from spatial detection to improve detection rate Co-authored-by: Maxwell Lin <maxwellmlin@users.noreply.github.com> Co-authored-by: Vedarsh Shah <vedarshshah@users.noreply.github.com> * Spatial detection fov increase, color fixes, switched to gate model * add 5 and 10 shave count * Reverted to ROS thrusters, added xyz calculation in depthai spatial detection, improvements to comp tasks * Switched gate model to 5 shave * Improved buoy detections * Fixed depthai camera connect * Publish rgb detections after filtering them * Increase pitch tolerance to 0.2 * Added buoy distance computation * Added buoy task to task runner * Comp tasks updates * Refactoring started Co-authored-by: Maxwell Lin <maxwellmlin@users.noreply.github.com> Co-authored-by: Rico Zhu <ricohasgithub@users.noreply.github.com> Co-authored-by: Mathew Chu <chugames0414@gmail.com> Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> Co-authored-by: Raul Galvez <RaulGalvez288@users.noreply.github.com> Co-authored-by: Nathan Yang <Knicey@users.noreply.github.com> * continue reading from USB camera upon failure * Refactoring 2 Co-authored-by: Maxwell Lin <maxwellmlin@users.noreply.github.com> Co-authored-by: Rico Zhu <ricohasgithub@users.noreply.github.com> Co-authored-by: Mathew Chu <chugames0414@gmail.com> Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> Co-authored-by: Raul Galvez <RaulGalvez288@users.noreply.github.com> Co-authored-by: Nathan Yang <Knicey@users.noreply.github.com> Co-authored-by: Amir Ergashev <amirergashev@users.noreply.github.com> Co-authored-by: Hung Le <viethungle-vt1401@users.noreply.github.com> Co-authored-by: Mathew Chu <mc866@duke.edu> * launch files * clean up from refactoring * Implement yaw_to_cv_object Co-authored-by: Nathan Yang <Knicey@users.noreply.github.com> Co-authored-by: Amir Ergashev <amirergashev@users.noreply.github.com> Co-authored-by: Raul Galvez <RaulGalvez288@users.noreply.github.com> * feat(yaw_to_cv_object): rotate if no new cv detections * Vedarsh's changes. Committing before starting 8/4 night pool test. * USB camera Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> Co-authored-by: Mathew Chu <mc866@duke.edu> Co-authored-by: Rico Zhu <ricohasgithub@users.noreply.github.com> * Checkout enable_recording node from pool-test-apr-27 * fix: use -l instead of -p (mac bug) * Update pool-test.sh * most maximum efficiency tmux script * Progress with bin detector Co-authored-by: Mathew Chu <mc866@duke.edu> Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> * Bin task first try * blue bin hsv vals attempt 1 Co-authored-by: Mathew Chu <chugames0414@gmail.com> * changes * Revert "blue bin hsv vals attempt 1" This reverts commit 716c8fe. * Delete docker pool test since pool test now runs docker container * Bin task v1 * Don't automatically start fg-ws * minor * launch files * clean up from refactoring * USB camera Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> Co-authored-by: Mathew Chu <mc866@duke.edu> Co-authored-by: Rico Zhu <ricohasgithub@users.noreply.github.com> * Progress with bin detector Co-authored-by: Mathew Chu <mc866@duke.edu> Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> * changes * Bin task first try * blue bin hsv vals attempt 1 Co-authored-by: Mathew Chu <chugames0414@gmail.com> * Revert "blue bin hsv vals attempt 1" This reverts commit 716c8fe. * Bin task v1 * minor * 8/5 changes * Hung's usb camera changes * Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> * Git corruption recovery * initial refactoring of bins task * new values for colors * Bin testing * Increase t tuning * Revert gate_style_task * Remove color correction from depthai_simulate_detection * Copy depthai_spatial_detection * Add focal_length, sensor_size, and img_size to usb_cameras constants * depthai_mono_detection runs spatial detection on the front mono camera feed * Add launch file (TODO:need to add default arg to feed_path) * Changes from 8/6 morning practice run * Use front camera as default in depthai_mono_detection * Add comp-wifi special subcommand, 2nd arg specifies SSH address * Added udev rules for usb cameras and updated usb camera scripts to use symlinked paths * path marker detector * yaw calculation, hsv filter adjustments * change cam topic * added area filtering Co-authored-by: Mathew Chu <mathewchukc@gmail.com> * Fix bugs in depthai_mono_detection * Changes before 3rd practice run 8/6 * Make bagfile dir if not exists already * fix * Decrease buoy detection size threshold * value adjustments wrt 17.85gb Woollett bag file Co-authored-by: Mathew Chu <mathewchukc@gmail.com> * wip but idk if it works? Co-authored-by: Mathew Chu <mathewchukc@gmail.com> * Always kill docker first * Remove depthai_mono_detection from sensors.launch. MUST BE LAUNCHED SEPARATELY. * Add mono dai script separately * Add new extra panel * hung change * init commit * Tmux from inside robot now * Deleted unnecessary function and increased tolerances * Added path marker to cv interface * Use 1/0 instead of True/False * Lowered buoy area threshold * pool test aug 7 night -- ask michael * Added pink bins detector * Various changes * Octagon first draft * Pink bins detector and octagon task improvements * remove error message from ping1d * bug fix * contour score threshold * decreased yaw tolerance to 0.10 * new path marker and modified bin algorithm (yaw at higher height) * launch two pink bin camera nodes * added loginfo to USB camera fail * crucial bin detection bug fix * i don't know how to name this commit * committing to current bins * start fg-ws * comp.sh is UNTETHERED -- test.sh is TETHERED * Added camera based pink bins masks * Added untethered capability to task runner * Changed octagon task * 8/10 morning * Final code changes for third chance Co-authored-by: Hung Le <viethungle-vt1401@users.noreply.github.com> * Last minute changes for third chance * final commit to comp-2024 * Nathanael + Mathew commenting in cv package co-authored-by: Mathew Chu <mc866@duke.edu> * Nathanael + Mathew commenting v2 cv package co-authored-by: Mathew Chu <mc866@duke,.edu> Fr this time last one * Fix doc * Delete unused depthai models * Revert correct.py params * Remove pool-test-legacy * Delete commented code * Remove unused packages * Update docs * Add comment * Clean up depthai_mono_detection * Clean up depthai_spatial_detection * Fix flake8 problems * Add record_bag.launch to blocklist * Delete depthai_save_video.launch * Exclude system_utils.launch * Removed sonar code to save files * Comments for future task planning refactoring * lint --------- Co-authored-by: Lab Computer <drc@drc.com> Co-authored-by: Oogway <bot@duke-robotics.com> Co-authored-by: mbryant2025 <mbryant2025@gmail.com> Co-authored-by: Vedarsh Shah <vedarshshah@users.noreply.github.com> Co-authored-by: Vedarsh Shah <vedarsh.shah@gmail.com> Co-authored-by: Maxwell Lin <maxwellmlin@users.noreply.github.com> Co-authored-by: Rico Zhu <ricohasgithub@users.noreply.github.com> Co-authored-by: Mathew Chu <chugames0414@gmail.com> Co-authored-by: Nathanael Ren <nathanaelren@users.noreply.github.com> Co-authored-by: Raul Galvez <RaulGalvez288@users.noreply.github.com> Co-authored-by: Nathan Yang <Knicey@users.noreply.github.com> Co-authored-by: viethungle-vt1401 <brandon.viethungRI2001@gmail.com> Co-authored-by: Amir Ergashev <amirergashev@users.noreply.github.com> Co-authored-by: Hung Le <viethungle-vt1401@users.noreply.github.com> Co-authored-by: Mathew Chu <mc866@duke.edu> Co-authored-by: DRC Lenovo Laptop <hello@duke-robotics.com> Co-authored-by: nathanaelren <nren2013@gmail.com> Co-authored-by: Mathew Chu <mathewchukc@gmail.com>
- Loading branch information