- Berkeleytime - great site for getting details on the popularity of classes, including how fast they fill up
- Rate My Professors - site for figuring out which professors are better
- Schedule Builder - tool you should use for putting together an actual schedule, avoiding conflict, making sure you're not walking all the way across campus, and such
This file contains 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
left = '47242536251659126000890' | |
right = '47257303962492263297599' | |
down = '47254280750988421370725' | |
up = '47257525192632122028127' | |
def autonomous_setup(): | |
Robot.run(test_limits) | |
def drive_up(): | |
Robot.set_value(up, "duty_cycle", 0.5) |
This file contains 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
"""Code to just run the motors. | |
This code requires no gamepad and will only attempt to make the | |
motors spin. Useful for debugging hardware issues on robots. | |
""" | |
# Update motor values below | |
left_motor = "" | |
right_motor = "" |
This file contains 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
# Update motor values below | |
left_motor = "47245533815105973122875" | |
right_motor = "47254280750988421370725" | |
def autonomous_setup(): | |
print("Autonomous mode has started!") | |
def autonomous_main(): | |
pass |
#How to use Python:
This assumes that you've already installed Python (which most of you have). If you haven't, download the python 2.7 installer from here
-
Open up "IDLE (Python GUI)". You'll probably be able to find it by searching with the Windows Button
-
Create a new file with File > New File.
-
In the window that popped up (not the previous window with ">>>"), type
print("Hello world!")
This file contains 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
""" | |
The MIT License (MIT) | |
Copyright (c) 2015 Mat Leonard | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |