Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
It seems even the Internet has trouble finding a solution for this. Here's some from retropie and sixad that actually bypass the default bluetooth toolset and it actually works:
Reference 1(Part: For older versions of RetroPie) Reference 2
Ignore all the tutorials about using bluetoothctl, they won't work as the PS3 controller will keep connecting and disconnecting. You might managed to connect it using bluetoothctl in a Pi but definitely Nano is different.
- Start with sixpair, you'll need to do this usb-pairing first. Connect the PS3 controller via USB, you don't have to press any buttons yet.
wget http://www.pabr.org/sixlinux/sixpair.c
The ArduBerry is obsolete while looks handy I want to give it a try. The official installer only partially work: https://github.com/DexterInd/ArduBerry/blob/master/Script/install.sh It lacks:
- proper up-to-date WiringPi(they use 2.36 which doesn't recognise Pi 4B)
- avrdude and /etc/avrdude.conf needs to be updated.
- Arduino installer on buster, along with programmers.txt configuration
- udev rules not copied to /etc/udev/rules.d/
- does NOT turn off SPI in /boot/config.txt so that avrdude cannot talk to GPIO8 and GPIO9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pin from ESC(TEU-105BK) to radio receiver(TRU-08): | |
| Red = + voltage(from ESC to receiver) | |
| Black = - voltage(from ESC to receiver) | |
| White = driving signal(from receiver to ESC) | |
| ESC(TEU-105BK) driving signal: | |
| PWM frequency: 57.67Hz (Cycle=17.34ms) | |
| Duty cycle(neutral): 1500us _|~~~|______________________________________________ | |
| Duty cycle(full forward): 1100us _|~~|_______________________________________________ | |
| Duty cycle(full reverse): 1900us _|~~~~|_____________________________________________ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from glob import glob | |
| import os.path | |
| import os | |
| import re | |
| import json | |
| import datetime | |
| import shutil | |
| class PhotoEntry: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import os | |
| from pathlib import Path | |
| import argparse | |
| if __name__ == "__main__": | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('directory', metavar='D', help='The working directory') | |
| args = parser.parse_args() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #================================================================= | |
| # Script Variables Settings | |
| wlan='wlx801f02b56d73' | |
| gateway='192.168.0.1' | |
| alias ifup='/sbin/ifup' | |
| alias ifdown='/sbin/ifdown' | |
| alias ifconfig='/sbin/ifconfig' | |
| #================================================================= | |
| date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "unimap_trans.h" | |
| #include "print.h" | |
| enum macro_id { | |
| CPP_POINTER, | |
| CPP_COMMENT, | |
| L3_QUOTE, | |
| L3_MINUS, | |
| L3_LBRACKET, | |
| L3_RBRACKET, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| latest=$(python find_latest_spigot.py) | |
| stored_latest=$(<latest.txt) | |
| echo Last stored Spigot version $stored_latest | |
| if [ $stored_latest == $latest ]; then | |
| echo Latest version $latest remains unchanged, not building. | |
| else | |
| echo Building Spigot version $latest | |
| echo $latest > latest.txt | |
| java -Xmx1024M -jar BuildTools.jar --output-dir ./daily_build/ --rev $latest |
NewerOlder