Skip to content

Instantly share code, notes, and snippets.

Peng Cheng tribbloid

View GitHub Profile
@tribbloid
tribbloid / questions.ipynb
Last active Apr 21, 2018
2 questions for rigid body dynamics.
View questions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tribbloid
tribbloid / JCETester.scala
Created Jan 17, 2018
Scala JCE Strength tester
View JCETester.scala
import javax.crypto.Cipher;
val maxKeyLen = Cipher.getMaxAllowedKeyLength("AES")
println(maxKeyLen)
@tribbloid
tribbloid / test.py
Created Dec 22, 2016
MAVProxy/Dronekit-python integration test on waypoint download
View test.py
import dronekit
import pexpect
import sys
import time
from dronekit_sitl import SITL
sys.path.append('/home/peng/.spookystuff/pythonpath')
import os
sitl_args = ['--model', 'quad', '--home=-35.363261,149.165230,584,353']
@tribbloid
tribbloid / dronekit-mavproxy-test.py
Created Dec 22, 2016
Usually commands.download() will fail after 4-6 trials. It won't happen without MAVProxy
View dronekit-mavproxy-test.py
import dronekit
import pexpect
import sys
import time
from dronekit_sitl import SITL
sys.path.append('/home/peng/.spookystuff/pythonpath')
import os
sitl_args = ['--model', 'quad', '--home=-35.363261,149.165230,584,353']
View running gradle build on dronekit-android
:init
The build file 'build.gradle' already exists. Skipping build initialization.
:init SKIPPED
BUILD SUCCESSFUL
Total time: 8.814 secs
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html
peng@peng-tribbloids:~/git-drone/dronekit-android$
You can’t perform that action at this time.