Skip to content

Instantly share code, notes, and snippets.

View Banteel's full-sized avatar

Banteel Banteel

View GitHub Profile
@Banteel
Banteel / simple_dock_with_chargermarker_non_asyncio.py
Last active January 18, 2023 21:00
Non-Asyncio Simple Dock with ChargerMarker: A non-asyncio Simple_Dock with Chargermarker that is Python 3.6 safe for Cozmo robot
#!/usr/bin/env python3
# based on Copyright (c) 2016 Anki, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License in the file LICENSE.txt or at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@Banteel
Banteel / simple_dock_with_chargermarker.py
Last active January 18, 2023 20:58
Simple Dock with ChargerMarker: Creating streamlined tactics to get Cozmo on it's charger using a printed ChargerMarker. (This script requires Python 3.7 to 3.9 to run as it uses an Asyncio Gather running 2 processes at the same time)
#!/usr/bin/env python3
# based on Copyright (c) 2016 Anki, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License in the file LICENSE.txt or at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@Banteel
Banteel / simple_dock.py
Last active May 6, 2024 21:49 — forked from VictorTagayun/cozmo_unleashed.py
SIMPLE_DOCK: Creating a streamlined tactic to efficiently get Cozmo on the dock, No Printout Markers required, just plugin the charger and go, Simple_Dock is Python 3.6 safe for Cozmo robot
#!/usr/bin/env python3
# based on Copyright (c) 2016 Anki, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License in the file LICENSE.txt or at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@Banteel
Banteel / cozmo_unleashed_with_simple_dock.py
Last active April 25, 2024 03:49 — forked from acidzebra/cozmo_unleashed.py
Cozmo Unleashed + Simple Dock: Autonomous Cozmo Script, will find & park on Charger. Also includes configurable Scheduler for 2 time slots for weekdays & 2 time slots for weekends.
#!/usr/bin/env python3
#
# NOTE I HAVE MOVED ON TO USING A CUSTOM MARKER PRINTED OUT AND PASTED ON TOP OF MY CHARGER
# SIZED AT 4CM/SIDE COZMO HAS A MUCH BETTER CHANCE OF FINDING THE CHARGER - SIMILAR TO THE NEW VECTOR ROBOT
# the last "general purpose" version is https://gist.github.com/acidzebra/c02ff8c8ccb0e3a057ae0b48a5082a68/ad4ff9d686f7e2a1b197c4a26c6290d51a7c4380
# if you want to print out your own you can find a version of marker CustomObjectMarkers.Hexagons2 used here
# http://cozmosdk.anki.com/docs/generated/cozmo.objects.html?highlight=hexagons2#cozmo.objects.CustomObjectMarkers.Hexagons2
#
# WHAT THIS PROGRAM DOES
#