Commit Graph

23 Commits

Author SHA1 Message Date
Peli de Halleux
bc4b71e0d6
Pulling updates from master (#951)
* show ports on start

* don't run show ports automatically

* polarity in synched motor (#945)

* account for polarity

* more comments

* handle dual motor in runtime

* invert steer

* don't use firmware polarity

* add block to stop program (#943)

* add block to stop program

* renaming

* fix translation
2019-10-18 22:53:30 -07:00
Peli de Halleux
56bbcde299
Support for smooth acceleration/deceleration in run (#900)
* removed logging

* removing more logging

* always use step for single/multiple motors

* refactored schedule

* account for accel ramp up and down

* added default acc/decel

* rounding speed/angle

* remove hack

* use acceleration time in run too

* handle missing case

* adding notes on motors

* adding sample

* fixed ramp simulation

* clear defaults

* some docs, more later

* adding basic examples

* remove debug msg

* clean json

* added move schedule

* docs

* basic docs
2019-09-02 20:57:23 -07:00
Peli de Halleux
277c9903bb
Tank fixes (#892)
* fixing turnration computation

* updated tank computation

* fix rendering glitch

* restore tank computation

* rounding errors
2019-08-30 05:40:51 -07:00
Peli de Halleux
a302bbfc2b
Single tank (#891)
* add note about dual blocks

* fix simulator to match hardware

* updated wording
2019-08-29 13:11:01 -07:00
Peli de Halleux
21025b5f83 better handling end of integration step 2018-06-20 22:03:48 -07:00
Peli de Halleux
e05e147d6a fix for motor driver (#716) 2018-06-20 16:45:02 -07:00
Sam El-Husseini
7974f36c31
Fix tank and steer blocks in the simulator, making them ignore polarity just like labview (#713) 2018-06-20 16:10:59 -07:00
Peli de Halleux
7e58b9b699
Motor angle (#559)
* control angle with slider

* called changed state

* remove logging
2018-05-02 22:04:29 -07:00
Peli de Halleux
9fadf49b0e
Support for multiple motors in "used" logic. (#238)
* handle registerion of dual / single motors

* updated puppy
2018-01-15 23:57:21 -08:00
Sam El-Husseini
751ea1494b motor slider fixes and fix motor output in vm 2018-01-12 13:33:25 -08:00
Peli de Halleux
0dd5ab9bde appliying manual speed 2018-01-10 14:08:50 -08:00
Sam El-Husseini
8357372fb5 Update to make it more like a crank 2018-01-10 13:47:39 -08:00
Sam El-Husseini
aa8635c4e7 Always use the motor slider control 2018-01-10 10:00:48 -08:00
Sam El-Husseini
4e4f5495da Merge branch 'master' into motorslider 2018-01-10 09:56:59 -08:00
Peli de Halleux
ce3383f1b7
Turn ratio field editor (#225)
* Turn ratio field editor (initial draft)

* Add field turn ratio editor

* Fix arrow rotation

* Fix left and right direction, remove unnecessary SVG circles.

* Update UI a little. add marker.

* updated math for turnratio angle

* slightly cuter

* cleanup

* consistent naming

* more cleanup

* fixing motor node issue

* updated package version
2018-01-09 22:05:26 -08:00
Peli de Halleux
9ae6482f28
fixing isReady query on motors (#197) 2018-01-06 00:00:04 -08:00
Sam El-Husseini
50f6b04ed4 Re-implement Math.sign so it works on IE 11 (not supported). Square shaped corners for Flyout 2018-01-05 17:35:25 -08:00
Peli de Halleux
aa06fd344a
store synched motor info always (#187) 2018-01-05 08:40:49 -08:00
Sam El-Husseini
5aef77ccc6 Generalizing motorView for both medium and large motor views. Initial work towards synced motor views. Adding sync label for controller motor. 2018-01-04 14:03:50 -08:00
Peli de Halleux
4d223374b5
Differential drive (#164)
* clear sync speed cmd

* differential drive model

* use cm/s

* fixed aggressive clearing of motor sync command

* better computation of turn artio

* improved robot dimensions

* moving block up

* hanbdle infinite case

* correct handling of inifinte time/step

* better stop handling
2018-01-03 00:27:05 -08:00
Peli de Halleux
c35dbdd38f
Motor sync support in simulator (#159)
* parse sync motor command

* better sim support

* sync support

* fixing tank
2018-01-02 16:20:00 -08:00
Sam El-Husseini
cbe68b3199 Add motor slider control 2017-12-28 13:23:30 -08:00
Peli de Halleux
01f7fe633c
Motorworks2 (#141)
* fixing polarity

* allocate motor on motorUsed only

* perform sub-step integration step for better precision
2017-12-28 09:07:57 -08:00