Skip to content

Commit 1f88c87

Browse files
Vishakh KumarVishakh Kumar
authored andcommitted
Minor changes
1 parent eb27b85 commit 1f88c87

File tree

2 files changed

+163
-54
lines changed

2 files changed

+163
-54
lines changed

.dir-locals.el

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,36 @@
22
(org . (
33
;; Set custom org-mode headline tags
44
(setq org-todo-keywords '(
5-
(type "Vi-TODO"
6-
"Dharsh-TODO"
7-
"ASK-Trey"
8-
9-
"Vi-CURRENT(!)"
10-
"Dharsh-CURRENT(!)"
5+
(type "Vi-TODO"
6+
"Dharsh-TODO"
7+
"ASK-Trey"
118

12-
"|"
9+
"Vi-CURRENT(!)"
10+
"Dharsh-CURRENT(!)"
11+
12+
"|"
1313

1414
"Vi-Owner(!)"
1515
"Dharsh-Owner(!)")
1616
)
1717
)
18+
;; Set colors for headline tags
19+
(setq org-todo-keyword-faces
20+
'(
21+
;; Todo Items
22+
("Vi-TODO" . (:foreground "white" :background "blue" ) )
23+
("Dharsh-TODO" . (:foreground "black" :background "yellow" ) )
24+
("ASK-Trey" . (:foreground "red" :weight bold ) )
25+
26+
;; In-progress Items
27+
("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
28+
("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
1829

30+
;; Finished items that are owned by
31+
("Vi-Owner" . (:foreground "Green" :weight bold ) )
32+
("Dharsh-Owner" . (:foreground "Green" :weight bold ) )
33+
)
34+
)
1935
)
2036
)
2137
)

index.org

Lines changed: 140 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#+TITLE: Pyrant Documentation
22
#+AUTHOR: Dharshan Rammohan & Vishakh Kumar
33

4+
#+TODO: Vi-TODO Dharsh-TODO ASK-Trey | Vi-Owner Dharsh-Owner
45

56
* Custom org-mode features for this file
6-
Mainly to put custom TODO types so that everyone can use them.
7+
Vi uses spacemacs a lot and railroaded Dharsh into using it so that he could organize things in org-mode.
8+
9+
Main feature added is to create custom TODO types to assign work to people.
710

811
#+NAME: startup
912
#+BEGIN_SRC emacs-lisp :tangle .dir-locals.el :noweb yes :results silent
10-
1113
(
1214
(org . (
1315
<<set_org_todo_keywords>>
@@ -17,70 +19,102 @@ Mainly to put custom TODO types so that everyone can use them.
1719
)
1820
#+END_SRC
1921

22+
2023
** Set custom Org-mode headline tags
2124
#+NAME: set_org_todo_keywords
2225
#+BEGIN_SRC emacs-lisp
23-
;; Set custom org-mode headline tags
24-
(setq org-todo-keywords '(
25-
(type "Vi-TODO"
26-
"Dharsh-TODO"
27-
"ASK-Trey"
28-
29-
"Vi-CURRENT(!)"
30-
"Dharsh-CURRENT(!)"
31-
32-
"|"
33-
34-
"Vi-Owner(!)"
35-
"Dharsh-Owner(!)")
36-
)
37-
)
26+
;; Set custom org-mode headline tags
27+
(setq org-todo-keywords '(
28+
(type "Vi-TODO"
29+
"Dharsh-TODO"
30+
"ASK-Trey"
31+
32+
"Vi-CURRENT(!)"
33+
"Dharsh-CURRENT(!)"
34+
35+
"|"
36+
37+
"Vi-Owner(!)"
38+
"Dharsh-Owner(!)")
39+
)
40+
)
3841
#+END_SRC
3942

4043
** Set colors for headline tags
44+
#+NAME: set_org_keyword_faces
4145
#+BEGIN_SRC emacs-lisp :results silent
42-
;; Set colors for headline tags
43-
(setq org-todo-keyword-faces
44-
'(
45-
;; Todo Items
46-
("Vi-TODO" . (:foreground "white" :background "blue" ) )
47-
("Dharsh-TODO" . (:foreground "black" :background "yellow" ) )
48-
("ASK-Trey" . (:foreground "red" :weight bold ) )
49-
50-
;; In-progress Items
51-
("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
52-
("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
53-
54-
;; Finished items that are owned by
55-
("Vi-Owner" . (:foreground "Green" :weight bold ) )
56-
("Dharsh-Owner" . (:foreground "Green" :weight bold ) )
57-
)
58-
)
46+
;; Set colors for headline tags
47+
(setq org-todo-keyword-faces
48+
'(
49+
;; Todo Items
50+
("Vi-TODO" . (:foreground "white" :background "blue" ) )
51+
("Dharsh-TODO" . (:foreground "black" :background "yellow" ) )
52+
("ASK-Trey" . (:foreground "red" :weight bold ) )
53+
54+
;; In-progress Items
55+
("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
56+
("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
57+
58+
;; Finished items that are owned by
59+
("Vi-Owner" . (:foreground "Green" :weight bold ) )
60+
("Dharsh-Owner" . (:foreground "Green" :weight bold ) )
61+
)
62+
)
5963
#+END_SRC
6064

6165

6266
* Tasks
6367

6468
** Hardware
6569
*** Vi-TODO Flight Logic Controller
66-
**** Vi-TODO Connect the arduino pins to raspberry pi pins for SPI interface
70+
**** Vi-Owner Connect the arduino pins to raspberry pi pins for SPI interface
6771
**** Vi-TODO Arduino
6872
***** Vi-TODO Place two motor controller, one arduino mini & one IMU unit on a prototyping board
69-
***** Vi-TODO Solder into place and use cables for pin management
70-
***** Vi-TODO IMU unit
73+
***** Vi-Owner Solder into place and use cables for pin management
74+
***** Vi-Owner IMU unit
7175
****** Vi-Owner Connect header pins to IMU unit
7276
****** Vi-Owner Connect IMU pins to Arduino pins through I2C interface
7377
**** Vi-TODO Raspberry Pi
74-
***** Vi-TODO Connect cameras to board
78+
***** Vi-Owner Connect cameras to board
79+
*** Vi-TODO Batteries
80+
**** Vi-TODO Research Lipo-cell regulators for more than one battery
81+
***** Vi-TODO Take into account adding extra batteries and a regulator increase weights, cost, and time spent in development for a marginal increase in flight time.
82+
*** Dharsh-TODO Propellors
83+
**** Dharsh-TODO Pick up propellors from amazon
84+
**** Dharsh-TODO Check if propellors fit the shaft.
85+
86+
Troubleshooting in advance.
87+
88+
Measure motor shaft thickness and update inventory. When propellors arrive, check for cavity thickness
89+
90+
When Vi goes to Microcenter next time, he will measure the motor shaft thickness and check for propellors that fit (along with a list of costs.) This will serve as the backup option should the propellors from Amazon be inadequete.
91+
92+
93+
94+
1) Motor Shaft is bigger but just a bit too big.
95+
Use a drill bit that fits the width of the propellor cavity. Borrow one from the woodshop and use the drill press.
96+
97+
2) Motor Shaft is smaller but just a bit too small.
98+
Use glue to make up for the difference and ensure that the propellors are aligned properly.
99+
Let the glue set when the motor is running.
100+
101+
3) Propellors are absolutely screwed.
102+
103+
1) Buy from MicroCenter over the weekend OR
104+
2) 3D print propellors using the SLS printer.
105+
106+
**** Dharsh-TODO Connect propellors to motors and try dc powered test.
107+
***** Vi-TODO Check for number of motors required for drone configuration
108+
75109
** Dharsh-TODO Simulink
76110
*** Vi-Owner Added RASPlib library
77111
*** Vi-Owner Implemented feedback-input comparator
78112
*** Vi-Owner mux-ed and demux-d input and made subsystem
79-
*** Dharsh-OWNER Integrate Motor controllers
113+
*** Dharsh-Owner Integrate Motor controllers
80114
n**** Dharsh-TODO Add .c files to Matlab
81-
**** Dharsh-TODO Add motor controller blocks to a subsystem and define input/output
115+
**** Dharsh-Owner Add motor controller blocks to a subsystem and define input/output
82116
Note: Making this a seperate subsystem will make it easier to switch to a hexacopter motor control.
83-
**** ASK-Trey Make a PID subsystem that accepts position based input.
117+
**** Dharsh-Owner Make a PID subsystem that accepts position based input.
84118
*** Vi-TODO Building process
85119
**** Vi-TODO Build c files and avr to arduino mini.
86120
**** Vi-TODO Document in a bash script for easy use.
@@ -92,18 +126,77 @@ n**** Dharsh-TODO Add .c files to Matlab
92126
*** Dharsh-Owner Implement gyrometer, accelerometer & magnetometer PID controller
93127
Note: Philip (IEEE) mentioned that it would take far too long for the drones to come to a stop and hover and would not be appropiate for a swarm of controller
94128
Recommends switching to a position based PID controller
95-
*** ASK -[DONE]-Trey Ask Trey about position based controller
96-
**** Dharsh-TODO Implement position based controller in Simulink
129+
**** Dharsh-Owner Implement position based controller in Simulink
97130
Note: Pretend that the Raspberry Pi is sending signals but actually use the keyboard for mocking.
131+
*** ASK-TreyTune the PID controllers for the drones
132+
Note: Begin with the innermost loop first and work your way out
98133
** Vi-TODO OpenCV Software
99134
*** Vi-TODO Implement the video combination thing and connect to Simulink
100135
*** Vi-TODO Make simulink block that outputs velocity
136+
*** Vi-TODO Create recognizable and easy to print rectangular squares for opencv to detect
137+
**** Vi-TODO Camera lens distortion is an issue, pls fix
138+
*** Vi-TODO Release OpenCV application as a statically linked package for MAtlab to use
139+
Note: Remember uploading pything functions earlier with numpy? Didn't go well.
140+
101141
** Vi-TODO Drone Frame
102-
*** Vi-TODO Place components on plywood
142+
143+
The place where everything comes together! Design requirements below to aid design process.
144+
145+
Basic Requirements:
146+
147+
- [ ] Plywood body for drone.
148+
- [ ] Fix components into drone body using screws
149+
- [ ] Follow secondary requirements as much as possible.
150+
151+
Secondary Requirements:
152+
153+
- Battery
154+
-[ ] Have space for drone cell or multiple cells if possible.
155+
- Have easy access to charging battery with a usb port (possibly the one used by Android phones pre-2017)
156+
- Camera
157+
- [ ] Forward facing
158+
- [ ] Rest in static vertical position using a small slot in frame.
159+
- Motor & Propellors
160+
- [ ] Ensure that there is adequete space for propellors and motors to prevent collision
161+
- [ ] Since plywood isn't appropiate for 3d structures, use ABS to make a small motor housing.
162+
- IMUs
163+
- [ ] Ensure that the IMU is fixed with reference to the drone body
164+
- [ ] Ensure that the code taken in by matlab doesn't have differnt orientations than real-life
165+
- General Electronics safety requirements
166+
- [ ] Ensure that electrical components are seperated from each other by air whenever possible.
167+
- [ ] Use glue on any extruding wires to minimize chance of electrical shortage
168+
169+
Tertiary Requirements
170+
171+
- Style
172+
- [ ] Add a brief description of the project with atleast the following: Name, Github Link, Authors.
173+
- [ ] Use printing tape for any engraved designed.
174+
- [ ] Stick to easy to engrave designs
175+
- Payload
176+
- IR Emitter
177+
- [ ] Place the IR emitter and stop moving drone if too close to the wall.
178+
- LEDs
179+
- [ ]Add LEDs to demonstrate extra power consumption
180+
181+
182+
183+
*** Vi-Owner Place components on plywood/paper for rough mockup
184+
Effectively, ensure that you have a general shape for the drone before you CAD stuff up. Remember to adhere to the Design Requirements. If possible, consult with Dharsh & Trey to ensure that the design isn't blatenty stupid.
185+
**** Vi-Todo Scan drawings for future reference.
186+
Use that fancy paper and markers from ME 1770. Note from Vi: This is the third time I've use it outside that class. Expectations pleasently shattered.
187+
103188
*** Vi-TODO Design drone shape
104-
**** Vi-TODO Try to make thin frames with multiple overlays
105-
Effectively, make it thin and increase strength on thin frames by two planks. Go Deformable Bodies!
106-
*** Vi-TODO Laser-cut at the invention studio
189+
**** Vi-TODO Design phase for drone frame
190+
***** Vi-Owner Try to make thin frames with multiple overlays
191+
Effectively, make it thin and increase strength on thin frames by two planks. Go Deformable Bodies!
192+
***** Vi-TODO Separate arduino & raspberry pi to prevent electrical shortages
193+
***** Vi-TODO Add super glue to any extruding electrical components to minimize electrial shortages
194+
**** Vi-TODO Solidworks phase
195+
***** Vi-TODO Create mutilayer drone shape in SLD
196+
***** Vi-TODO split using the split body function and check for excessive angles ruining final product.
197+
Note: Also make sure it looks great.
198+
**** Vi-TODO Invention studio
199+
***** 3D print house casing for motors instead of using plywood.
107200

108201

109202
* Inventory

0 commit comments

Comments
 (0)