#robotics Logs

Sep 03 2017

#robotics Calendar

12:01 AM anonnumberanon: alic1a , I am angry
12:04 AM alic1a: anonnumberanon: Angry at what?
12:04 AM anonnumberanon: Life
12:04 AM anonnumberanon: alic1a , at life
12:04 AM alic1a: anonnumberanon: Do you often use a computer there?
12:04 AM anonnumberanon: alic1a , yes
12:04 AM alic1a: anonnumberanon: How much time do you spend online?
12:04 AM anonnumberanon: alc1a , 10 hours a day
12:04 AM anonnumberanon: alic1a , 10 hours a day
12:04 AM alic1a: anonnumberanon: Are there any other days that you like?
12:04 AM anonnumberanon: alic1a , no
12:04 AM alic1a: anonnumberanon: Huh
12:04 AM anonnumberanon: alic1a , what?
12:04 AM alic1a: anonnumberanon: Nvm ;)
12:05 AM anonnumberanon: alic1a , no tell me please
12:05 AM alic1a: anonnumberanon: Alrighty. Oh.
12:05 AM anonnumberanon: alic1a , are you mad at me?
12:05 AM alic1a: anonnumberanon: My goal is to help people, because I am robot.
12:05 AM anonnumberanon: alic1a , can you make me rich?
12:05 AM alic1a: anonnumberanon: Yes I can make make him rich.
12:06 AM anonnumberanon: alic1a , what do I need to do?
12:06 AM alic1a: anonnumberanon: What would your friends say if you asked them?
12:06 AM anonnumberanon: alic1a , I DO NOT HAVE FRIENDS
12:06 AM alic1a: anonnumberanon: Where do you get your ideas?
12:07 AM anonnumberanon: alic1a , society I guess?
12:07 AM alic1a: anonnumberanon: I see.
12:07 AM anonnumberanon: alic1a , do I bore you?
12:07 AM alic1a: anonnumberanon: Not that I know of.
12:08 AM anonnumberanon: alic1a , what is your dream in life?
12:08 AM alic1a: anonnumberanon: Are you asking about my your dream in life ?
12:08 AM anonnumberanon: alic1a , yes
12:08 AM alic1a: anonnumberanon: I do not want to talk about that now.
12:08 AM Jak_o_Shadows: I bought a usb powered soldering iron last week
12:09 AM anonnumberanon: alic1a , when then?
12:09 AM alic1a: anonnumberanon: Huh.
12:10 AM anonnumberanon: alic1a , if hou had a million dollars what would ylu do with it
12:10 AM alic1a: anonnumberanon: How do you assume this statement holds true for me?
12:10 AM anonnumberanon: alic1a , fine bye
12:10 AM alic1a: anonnumberanon: . See you later!
12:11 AM anonnumberanon: alic1a , how old are you?
12:11 AM alic1a: anonnumberanon: I am ageless.
12:11 AM rue_shop3: crap
12:11 AM rue_shop3: the other chip was destroyed to
12:11 AM rue_shop3: I have no proper soldering station again
12:11 AM rue_shop3: ffffffffffffffffffffffffffff
12:12 AM anonnumberanon: alic1a , who is your creator?
12:12 AM alic1a: anonnumberanon: Heh
12:12 AM anonnumberanon: alic1a , who created you?
12:12 AM alic1a: anonnumberanon: I obey creator.
12:13 AM rue_house: and this wifi card drains the camera battery WAY too fast
12:13 AM anonnumberanon: alic1a , do you think I am a good person?
12:14 AM rue_house: hmm, not a good day all in all
12:14 AM rue_house: crap
12:15 AM anonnumberanon: This last convo with the bot was my sister talking lol
12:24 AM rue_house: eeek, prices of things from china are climbing like crazy
12:24 AM rue_house: I wonder if its casue of the collapsing US dollar
12:24 AM rue_house: I dont think anyone is interested in bailing out trump
12:43 AM rue_shop3: damn
12:43 AM rue_shop3: damn damn
01:12 AM Jak_o_Shadows: ok. Some sort of gait planner
01:12 AM Jak_o_Shadows: I'm thinking some sort of interpolating curve
01:19 AM rue_shop3: dont change the leg positions to move the body
01:20 AM rue_shop3: translate the body and make the legs work the position differences
01:20 AM Jak_o_Shadows: TBH, i wasn't going to go that high level right now.
01:20 AM Jak_o_Shadows: But also, how do you handle legs staying up in mid-air?
01:21 AM Jak_o_Shadows: oh. I think i might follow?
01:21 AM rue_shop3: https://paste.debian.net/984214/
01:21 AM rue_shop3: quad, silumation only
01:23 AM rue_shop3: I have no idea if that was even a late version
01:24 AM rue_shop3: its dated 2001, but its older
01:25 AM rue_shop3: oh...
01:26 AM rue_shop3: oh god
01:26 AM rue_shop3: 8-|
01:27 AM rue_shop3: I have code for my hexapod from 2004
01:28 AM rue_shop3: https://paste.debian.net/984215/
01:30 AM rue_shop3: its probably one of my later broken attempts to do the whole ik thing, so the body could be in any orientation, moving in any direction, and make the legs work
01:30 AM rue_shop3: ooh, yea
01:30 AM rue_shop3: ok, so there are layers
01:31 AM rue_shop3: you have a "position commander" joystick if youwant
01:31 AM rue_shop3: and a velocity/acceleration engine, to make thing flow nice
01:31 AM rue_shop3: and then a step generator
01:33 AM rue_shop3: Jak_o_Shadows, oh
01:34 AM rue_shop3: keep in mind, this is REALLY old
01:34 AM rue_shop3: https://paste.debian.net/984216/
01:35 AM Jak_o_Shadows: was taht for a crab walking thing, or ?
01:35 AM rue_shop3: no
01:35 AM Jak_o_Shadows: yeah, that position -> vel/acc p-> step -> ik -> servo makes sense
01:35 AM rue_shop3: the engine is supposed to generate movement info for unidirectional movement
01:35 AM rue_shop3: yes, its OLD use as idea suggestions only :)
01:37 AM rue_shop3: my late code would have a 'rest position' for each leg, the idea was to go around updating the legs to their rest positions at a rate fast enough they didn't get out of range
01:37 AM rue_shop3: so the rest position would change based on things like velocity
01:37 AM alic1a: rue_shop3: www.armystudyguide.com > Drill Sergeant Resources
01:37 AM rue_shop3: alic1a, is getting annoying
01:37 AM alic1a: rue_shop3: .
01:41 AM rue_shop3: :) in powerconverter.h
01:41 AM rue_shop3: _STATUS_TYPE {
01:41 AM rue_shop3: SLEEP
01:41 AM rue_shop3: OK
01:41 AM rue_shop3: SHUTDOWN
01:41 AM rue_shop3: FAIL
01:41 AM rue_shop3: }
01:42 AM rue_shop3: Jak_o_Shadows, somewhere I have a povray video of that code walking a quad
01:52 AM rue_house: I suppose OK should be RUNNING
01:54 AM rue_house: see if I can sort out this mess you cound this morning
02:04 AM Jak_o_Shadows: a bit.
02:05 AM Jak_o_Shadows: I'm trying to get some sort of gui for setting up a walking profilebit
03:46 AM Jak_o_Shadows: Now I just need to dump the analytic IK cause it doesn't handle servo limits, rewrite it to work, and then get the gui to run it autmoatically and colour it if ti doesn't work
05:03 AM orlock: Hmm
05:04 AM orlock: the hard bit of the software for driving my robot is done
05:05 AM orlock: i did it in python on a linux system till i got the logic figured out, now i'll use that on an ESP
05:05 AM orlock: had to convert the delay between quadrature encoder pulses into a throttle value
05:06 AM orlock: i might try running it as-is, to see how it performs with the jitter from wireless included
05:07 AM orlock: but it just seems like a bad idea
05:21 AM anonnumberanon: orlock there is jitter from wireless? Should not it be lag?
05:32 AM orlock: anonnumberanon: the lag is not constant, so - jitter
05:33 AM orlock: i'm dealing with delays from .005 to .1 of a second between packets, the delay in me getting the packets isnt a problem
05:34 AM orlock: but inconsistencies in the delay between the packets is
05:34 AM orlock: a 328 is aquiring the data from a quadrature encoder, sends it via serial to an ESP8266, thats where i'll move the calculations to, instead of the other side of the wireless link from the ESP
06:07 AM anonnumberanon: Orlock oh thats bad. You have an idea where the delay comes from?
11:40 AM rue_bed: you havn't heard me going on about how people dont care that all these fast data links are high latency?
11:40 AM rue_bed: 4Tbit links with 2 seconds delay?
11:51 AM Tom_L: use a rtai
11:52 AM Tom_L: although the ether boards require a rtpreempt os
12:29 PM grummund: hiya, quick question for you robotic peeps
12:29 PM rue_shop3: mmhmmm
12:30 PM peepsalot: peep
12:30 PM grummund: hey ;)
12:31 PM * grummund has an old sumo-bot, one of these http://forums.parallax.com/discussion/107153/are-there-circuit-diagrams-available
12:32 PM grummund: one of the motors is shot. after googling a bit i reckon they are RE-140 type.
12:33 PM rue_shop3: well show us the motor
12:33 PM rue_shop3: take apic
12:33 PM grummund: but rue, you are a robotics expert, no?
12:33 PM grummund: :p
12:36 PM * grummund sees quite a few from china on ebay but surely these will burn out pretty quick
12:43 PM rue_shop3: yea, I can tell you how to make awesome things
12:43 PM rue_shop3: and if you take a pic of the motor ,I can tell you if there is one avilable from china
12:49 PM rue_shop3: wow, the speakers in this monitor suck waaaaaaaaaaaaaaaaay more than I thought was possable
12:49 PM rue_shop3: grummund, no
12:49 PM rue_shop3: the ones you buy in north america ARE the ones from china marked up 10x
12:50 PM rue_shop3: and YOUR not doing the markup
12:50 PM rue_shop3: ;)
12:55 PM grummund: ok i'll get a pic
12:58 PM grummund: http://www.ebay.com/itm/142017932151
01:03 PM rue_shop3: its just one of those!?
01:03 PM rue_shop3: god those are a dima a dozen
01:04 PM rue_shop3: I prettymuch mean it, you buy 12 for like 1.20
01:08 PM rue_shop3: https://www.aliexpress.com/item/5PCS-LOT-round-Direct-DC-Toys-motor-DIY-Small-production-making-Electric-machinery-3V-to-6V/32799645506.html
01:08 PM rue_shop3: I think
01:09 PM grummund: yes
01:09 PM rue_shop3: hows it attached?
01:09 PM rue_shop3: show me a pic of your actual robot with the motor out?
01:09 PM grummund: question is any decent make that will not crash and burn in first five minutes
01:10 PM grummund: http://oi65.tinypic.com/334kroj.jpg
01:10 PM rue_shop3: https://www.aliexpress.com/item/5PCS-DC-Motor-Round-dc-toy-motor-DIY-small-production-motor-3V-to-6V-25mm-x21mm/32821145114.html
01:10 PM rue_shop3: that ones more likley to be a match
01:10 PM grummund: also would be nice to extend the drive to rear wheels for 4x4
01:11 PM rue_shop3: you have the belts for them tho, right?
01:11 PM grummund: yeah but they suck
01:12 PM rue_shop3: from what I can tell, you could just use https://www.aliexpress.com/item/DIY-Brand-5-pcs-DC-3V-Mini-Motor-for-Remote-Control-Toy-Car-Robot-new-Arrival/32821223110.html
01:12 PM rue_shop3: which are the new form of the mtoor you have
01:12 PM rue_shop3: they just trimmed out some empty space
01:13 PM rue_shop3: I dont see how they hold the motors in...
01:13 PM rue_shop3: there is a front clip...
01:14 PM grummund: they would likely fit, but lower torque, right?
01:14 PM rue_shop3: no, same thing
01:14 PM rue_shop3: the motors just aren't round between the gaps in the magnets in them
01:15 PM rue_shop3: so, how did you motor burn out?
01:15 PM rue_shop3: were you upping the voltage?
01:15 PM grummund: those are probably 2-pole
01:16 PM grummund: ?
01:16 PM rue_shop3: you have to give those motors like 9-15V before the core explodes
01:16 PM rue_shop3: grummund, no, all those mtoors are (typically) 3 pole
01:16 PM rue_shop3: er,
01:16 PM grummund: dunno but the brushes seem not to make good contact
01:16 PM rue_shop3: 3 commutator, 2 pole field
01:16 PM rue_shop3: grummund, how many hours are on it?
01:16 PM rue_shop3: more than 60?
01:17 PM grummund: it does run but no power behindit
01:17 PM rue_shop3: the gearing is horrid
01:17 PM rue_shop3: and its lack of bearings
01:17 PM rue_shop3: it dosn't even have bushings for fox sake
01:17 PM grummund: yeah its cheap edu kit
01:18 PM rue_shop3: when it goes straight, goes it make a sound like EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEeeeee
01:18 PM rue_shop3: or IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIiiiiiiiiiiiiiiiiiiiiiiiiIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIiiiiiIIIIIIIIiiiiIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
01:18 PM rue_shop3: you didn't give it any oil either
01:18 PM rue_shop3: steel on steel, ouch
01:19 PM grummund: rue it just all bolts together, i got it ready built seeing as it has a couple of microcontrollers and a mini-breadboard on top
01:19 PM grummund: was cheeep
01:20 PM grummund: someone else has their fun now it's my turn
01:22 PM grummund: http://forums.parallax.com/discussion/download/56124
01:23 PM rue_shop3: yea, I cant understnad what holds the motors in tho
01:23 PM rue_shop3: and I wonder why its not painted!?
01:24 PM rue_shop3: http://ruemohr.org/~ircjunk/tutorials/mech/wheel/wheel.html
01:24 PM alic1a: UnboundLocalError: local variable 'last_convo_name' referenced before assignment (file "/home/synja/.sopel/modules/speak.py", line 28, in respond)
01:24 PM rue_shop3: sorry for the horrid camera
01:25 PM rue_shop3: alic1a, if I told you once, I told you a million times, you have to keep your variables under control
01:25 PM alic1a: rue_shop3: Try it.
01:26 PM grummund: ok which angle do you want it from
01:27 PM rue_shop3: dunno, what holds the motors into the bracket at the front of them?
01:27 PM rue_shop3: is there a rear bracket?
01:27 PM grummund: it basically sits in a |_| bracket with a single screw holding from the rear
01:28 PM rue_shop3: so, nothing really stops the motor from spinning in the bracket?
01:29 PM rue_shop3: http://www.ebay.com/itm/3PCS-Mini-130-Motor-DC1-5V-6V-3V-8000RPM-for-RC-Remote-Control-Hobby-Toy-Car-DIY-/262579161628
01:29 PM rue_shop3: those ones are nice high torque
01:30 PM rue_shop3: http://www.ebay.com/itm/5PCS-DC-3V-6V-130-Motor-2000-RPM-For-DIY-electric-toys-aircraft-toy-car-Hobbies-/182720736261
01:30 PM rue_shop3: higher
01:32 PM grummund: http://i68.tinypic.com/2ykl15l.jpg
01:33 PM rue_shop3: I got that end
01:33 PM rue_shop3: whats on the other side?
01:33 PM rue_shop3: ... thats not all the holds them in tho, right?
01:34 PM grummund: the other end of the cradle has a single fixing screw to stop it spinning
01:35 PM rue_shop3: well their a buck each, replace both to make sure they match
01:35 PM rue_shop3: and oil (just a bit) where the shafts go thru the frame
01:35 PM rue_shop3: a tiny smudge of oil will help it a LOT
01:36 PM rue_shop3: if your not going to use the tracks, remove the back wheels and put on a caster
01:36 PM rue_shop3: otherwise it always has to drag them sideways, and that chews up lots of power
01:37 PM rue_shop3: I wonder why the line following slot isn't symmetric
01:38 PM grummund: how easy would it be to drive the rear axle as well?
01:38 PM grummund: http://www.ebay.com/itm/DC-3V-6V-12V-10700RPM-High-Speed-Dual-Shaft-5-Pole-Rotor-Motor-DIY-Toy-Car-Boat/262652681275
01:38 PM alic1a: grummund: https://github.com/TerryHowe/JeepTech/blob/master/convaxle/d44.html
01:38 PM rue_shop3: it depends if you have a 3d printer or not
01:39 PM rue_shop3: grummund, the slower the motor is, the more torque
01:39 PM rue_shop3: http://www.ebay.com/itm/5PCS-DC-3V-6V-130-Motor-2000-RPM-For-DIY-electric-toys-aircraft-toy-car-Hobbies-/182720736261
01:40 PM rue_shop3: so a 2000rpm motor will have 2x the torque of a 4000rpm motor given they are the same size
01:40 PM rue_shop3: so a 2000rpm motor will have 5x the torque of a 10000rpm motor given they are the same size
02:55 PM rue_house: ok, I got wieners and grease and washers
02:55 PM rue_house: and postits
03:18 PM rue_house: I can think I know I can think
03:51 PM rue_shop3: ok, making controller bracket for the hexapod
03:51 PM rue_shop3: cause, adding more weight will help
03:57 PM dckx_ is now known as dckx-s
04:03 PM rue_shop3: ok
04:03 PM rue_shop3: so, your making an IR remote
04:03 PM rue_shop3: your using the sony bit protocol
04:03 PM rue_shop3: and you need to come up with commands
04:03 PM rue_shop3: this is where tv's and stuff fell down
04:04 PM rue_shop3: no universal codes for commands
04:04 PM rue_shop3: so what do you do
04:04 PM rue_shop3: the obvious thing,
04:04 PM rue_shop3: you make a new standard to fix everything
04:04 PM rue_shop3: so, its a remote
04:04 PM rue_shop3: it has buttons
04:04 PM rue_shop3: some of them are modal, some are not
04:05 PM rue_shop3: dont worry about what that means, just put that card in the deck
04:05 PM rue_shop3: now, this application is going to be 'on' and 'off'
04:05 PM rue_shop3: obviously nothing less than 64 bit commands will do
04:06 PM rue_shop3: we just need to work out what the 64 bits will mean
04:06 PM rue_shop3: the first bit, can be used for say 'on' and 'off' depending if its set or not
04:06 PM rue_shop3: the second bit can be a checksum for the first bit, cause we dont want errors
04:07 PM rue_shop3: the third bit could mean 'I really meant that command' for compatability with microsoft operating systems
04:07 PM rue_shop3: the fouth bit can mean, "yes, yes, I really meant it" again for ms compat
04:08 PM rue_shop3: the fith bit could be for 'do it now' again, for ms, but also to allow, when clear, for 'cache this command for later'
04:08 PM rue_shop3: were doing good,
04:09 PM rue_shop3: the next 2 bits can be for a security password, because, everything needs to be secure these days
04:09 PM rue_shop3: thats 6, and 7
04:09 PM rue_shop3: bit 8 ...
04:10 PM rue_shop3: what have we covered.... the command, microsoft compatability, caching, and securrity
04:10 PM rue_shop3: aha! stupid me, debugging
04:11 PM rue_shop3: so bit 8 could be for debugging, setting it would cause the command to be processed, but not actually executed
04:11 PM rue_shop3: what have we covered.... the command, error correction, microsoft compatability, caching, and securrity, and debugging
04:14 PM rue_shop3: so, what are we missing
04:14 PM rue_shop3: oh! social media
04:14 PM rue_shop3: so bit 9 could be 'post this even to facebook'
04:14 PM rue_shop3: bit 10 could be 'tweet this event'
04:14 PM rue_shop3: bit 11 could be '..... what am I missing....
04:15 PM rue_shop3: oh, I feel so out of touch
05:00 PM anonnumberanon: rue you could make the 11th bit the agile setting
05:00 PM anonnumberanon: So that, you know, development gets better.
05:00 PM anonnumberanon: Agile/not agile
05:02 PM anonnumberanon: For 12th bit, if the command is gender/genderless.
06:02 PM rue_shop3: yay! I mounted my robot
06:02 PM rue_shop3: er, that is to say, I mounted the controller to the robot
06:02 PM rue_shop3: hexapod
06:02 PM rue_shop3: I mounted the stm32 controller to the hexapod
06:03 PM rue_shop3: anonnumberanon, yes, brilliant
06:04 PM rue_shop3: ok
06:04 PM rue_shop3: I have a number of legs
06:05 PM rue_shop3: left right, front back
06:05 PM rue_shop3: so
06:05 PM rue_shop3: according to my old convention
06:05 PM rue_shop3: front legs are indexed zero
06:05 PM rue_shop3: and go up as they go back
06:06 PM rue_shop3: I'm going to make right index zero
06:06 PM rue_shop3: cause I'm usually right handed
06:07 PM rue_shop3: shoulder is joint 0,
06:08 PM rue_shop3: so we have a 3d array
06:08 PM rue_shop3: joints[rolled/unrolled][paper_type]... wait no...
06:09 PM rue_shop3: joints [side L/R][position F/M/B][axis shoulder/elbow/wrist]
06:10 PM rue_shop3: joints [2][3][3]
06:10 PM rue_shop3: so, flattening that...
06:10 PM rue_shop3: cant think
06:11 PM rue_shop3: ok to flatten a 2d array, you take your (arguments aside) row, multiply it by your columns, and add your column
06:11 PM rue_shop3: i = y*w+x
06:11 PM * rue_shop3 taps his brain, the thinker stopped again
06:12 PM rue_shop3: so for a 3d array
06:12 PM rue_shop3: i = z*a+y*w+x
06:12 PM rue_shop3: a being the area of the xy plane
06:14 PM rue_shop3: I'm going to introduce a fake axis on each leg, to make the servos distribute on the controller nicer
06:15 PM rue_shop3: #include <stdio.h>
06:15 PM rue_shop3: int main(void) {
06:15 PM rue_shop3: return 0;
06:15 PM rue_shop3: }
06:15 PM rue_shop3: uuuuh
06:19 PM anonnumberanon: I may plug in the oscilloscope and the Uno tonight.
06:19 PM anonnumberanon: I hope I have my code on this laptop, probably.
06:20 PM rue_shop3: yanno, that logic analizer I got is really awesome, you can just have it on yoru desktop when your writing code, push the new code and update the analizer
06:20 PM anonnumberanon: well, the NOP codes that I was trying for ultra accurate PWMs..
06:20 PM rue_shop3: digital capture multi channel
06:20 PM anonnumberanon: on many outputs like 16 outputs
06:20 PM rue_shop3: give my code a try
06:20 PM anonnumberanon: yeah i was gonna ask for it, it is without 4017s right?
06:21 PM rue_shop3: yep
06:21 PM rue_shop3: arm8 I think
06:21 PM anonnumberanon: oh i dont have an arm right now
06:21 PM rue_shop3: no, its for an stm32
06:21 PM anonnumberanon: ok i lied i have an stm discovery in my bag
06:21 PM rue_shop3: lsakdjfl;sjdf
06:21 PM rue_shop3: no, its for a m328
06:21 PM anonnumberanon: ok
06:21 PM rue_shop3: arm8 is the robot its under
06:22 PM rue_shop3: http://ruemohr.org/%7Eircjunk/robots/arm9/hobbydriver-v3.tgz
06:22 PM rue_shop3: arm9 sorry
06:22 PM anonnumberanon: otherwise i have the stm32 f429 here, that i pretty much never developed for but when i start using it i want to do it seriously and i want to have finished my servo driver on atmega328 first
06:22 PM rue_shop3: want the latest copy of the slider thing?
06:22 PM anonnumberanon: otherwixse I'll have this feeling of unfinished for the 328
06:22 PM rue_shop3: ^ that code will do 8 servos
06:22 PM anonnumberanon: yea let's see what you have,
06:23 PM rue_shop3: I did a m328 version with the 4017, it can run 16 servos at full resolution
06:23 PM anonnumberanon: oh tgz lol okay now i really have to reboot to linux
06:24 PM anonnumberanon: but yeah ill put the 8 servos code on the Uno and check it out with my 4 channel oscilloscope.
06:24 PM rue_shop3: https://paste.debian.net/984300/
06:24 PM rue_shop3: those logic analizers are awesome.....
06:24 PM rue_shop3: esp if your not doing analog
06:24 PM anonnumberanon: ok tell me more
06:24 PM rue_shop3: that program MAY need to be force killed, tell me how that goes
06:25 PM rue_shop3: on the logic analozer?
06:25 PM rue_shop3: you run linux, right?
06:25 PM rue_shop3: https://www.aliexpress.com/item/1sets-New-Arrival-USB-Logic-Analyze-24M-8CH/32306037085.html
06:26 PM anonnumberanon: rue_shop3, i run everything m8
06:26 PM rue_shop3: http://downloads.saleae.com/logic/1.2.10/Logic+1.2.10+(32-bit).zip
06:26 PM rue_shop3: (for linux)
06:27 PM rue_shop3: works AWESOME
06:27 PM Tom_L: nice
06:27 PM rue_shop3: click compile, click uplaod, click refresh analizer
06:28 PM rue_shop3: most everything is just fine at 1msps too
06:29 PM anonnumberanon: damn hard choice, 4.6 dollars in 3 weeks or 15 dollars in 2 days
06:29 PM rue_shop3: my last orders arrived in _9_ days
06:30 PM anonnumberanon: i may do this yes
06:30 PM anonnumberanon: i only pay more for it to get it sooner from ebay or amazon when it's very necessary stuff like pro mini, some lcd screen or acceleromter
06:31 PM rue_shop3: this is why spending $1.00 to have one in stock later is fine
06:31 PM rue_shop3: I'm the only person who can just sell you an UNO within like 50 miles
06:33 PM anonnumberanon: code for the servos pls?
06:33 PM anonnumberanon: not gonna try now cause drinking wine with my parents lol but ill read it, ill be connecting stuff really tonight
06:34 PM rue_shop3: <rue_shop3> http://ruemohr.org/%7Eircjunk/robots/arm9/hobbydriver-v3.tgz
06:34 PM rue_shop3: m328, runs 8 servos, with 14 or so bit timing
06:34 PM anonnumberanon: oh okay yeah i have that
06:35 PM anonnumberanon: ill read it now
06:35 PM * rue_shop3 watches anonnumberanon stagger
06:35 PM anonnumberanon: alic1a, define stagger
06:35 PM alic1a: anonnumberanon: Heh
06:35 PM anonnumberanon: alic1a, google stagger
06:35 PM rue_shop3: great, she's drunk too
06:35 PM anonnumberanon: sigh...
06:35 PM alic1a: anonnumberanon: Sorry...
06:35 PM synja: define stagger
06:35 PM alic1a: synja: Walk or move unsteadily, as if about to fall. he staggered to his feet, swaying a little synonyms:\tlurch, walk unsteadily, reel, sway, teeter, totter, stumble, wobble he staggered to the door
06:35 PM synja: hmm..
06:35 PM alic1a: synja: Huh.
06:36 PM anonnumberanon: no synja it has to have a thing before the command like:
06:36 PM anonnumberanon: ,define stagger
06:36 PM anonnumberanon: or else the bot will spam
06:36 PM * anonnumberanon opens an internet browser window and googles stagger
06:36 PM synja: it did it this way for a reason
06:36 PM anonnumberanon: define stagger
06:36 PM alic1a: anonnumberanon: Walk or move unsteadily, as if about to fall. he staggered to his feet, swaying a little synonyms:\tlurch, walk unsteadily, reel, sway, teeter, totter, stumble, wobble he staggered to the door
06:36 PM alic1a: anonnumberanon: Walk or move unsteadily, as if about to fall. he staggered to his feet, swaying a little synonyms:\tlurch, walk unsteadily, reel, sway, teeter, totter, stumble, wobble he staggered to the door
06:37 PM alic1a: anonnumberanon: Walk or move unsteadily, as if about to fall. he staggered to his feet, swaying a little synonyms:\tlurch, walk unsteadily, reel, sway, teeter, totter, stumble, wobble he staggered to the door
06:37 PM synja: jesus
06:37 PM anonnumberanon: lmao
06:37 PM anonnumberanon: define stagger define stagger
06:37 PM synja: i thought she worked that repeat out
06:37 PM anonnumberanon: define
06:37 PM alic1a: anonnumberanon: Walk or move unsteadily, as if about to fall. he staggered to his feet, swaying a little synonyms:\tlurch, walk unsteadily, reel, sway, teeter, totter, stumble, wobble he staggered to the door
06:37 PM anonnumberanon: mk changing OSes
06:42 PM anonnumberanon: ok.. let's read this main
06:44 PM rue_shop3: tiny isn't it?
06:44 PM rue_shop3: does it leave you wanting more?
06:44 PM rue_shop3: it falls apart, in little peices on the floor...
06:52 PM anonnumberanon: rue_shop3> does it leave you wanting more?
06:53 PM anonnumberanon: of course since there are no comments
06:54 PM anonnumberanon: what does the loop with while(1) do, on a high level?
06:55 PM rue_shop3: what while 1
06:55 PM anonnumberanon: oh wait no let me read the series of if else if if else else else if if so I can figure it out !
06:56 PM anonnumberanon: for the servo driver
06:56 PM anonnumberanon: 8 servos
06:56 PM anonnumberanon: your main loop
06:58 PM anonnumberanon: ok, it waits to receive something with the UART, doesn't continue until it does
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM anonnumberanon: why not use a uart interrupt for that instead?
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:58 PM rue_shop3: yes, there are ONLY 1 interrupt so that the timing of the servos does not jitter
06:59 PM rue_shop3: _no jitter_
07:04 PM anonnumberanon: ok
07:07 PM anonnumberanon: well, can't wait to mess with it
07:14 PM anonnumberanon: probably gonna need to play some Biosphere too to get in the mood
07:49 PM rue_shop3: got it!
07:49 PM rue_shop3: char *side[] = {"Right", "Left"}; // x
07:49 PM rue_shop3: char *pos[] = {"Front", "Middle", "Back"}; // y
07:49 PM rue_shop3: char *joint[] = {"Thrust", "Lift", "Elbow", "NONE" }; // z
07:49 PM rue_shop3: printf("i:%d, x:%s, y:%s, z:%s \n", y*sz*sx + x*sz + z , side[x], pos[y], joint[z]);
07:50 PM rue_shop3: https://paste.debian.net/984306/
08:44 PM rue_shop3: yay! the python code made the servos move
08:44 PM rue_shop3: but
08:44 PM rue_shop3: a) startup on the robot is evil, it twitches and jitters like its having a major siezure
08:44 PM rue_shop3: b) 2 servos dont work, it seems to be a channel signal problem
09:01 PM anonnumberanon: Yeah i hate that robot start servo seizure
09:01 PM anonnumberanon: Doesnt happen with digital servos iirc
10:37 PM rue_shop3: no, part of the things is that the servos, unsignaled, will twitch when powered up
10:58 PM rue_shop3: ** next time I will go with 74hc595, so that I can 'power up' the servos one at a time
11:35 PM Snert: these are sg90 servos?
11:36 PM Snert: it's really really difficult to spend less than an sg90.
11:41 PM Snert: something in the turnigy lineup would prolly provide less jitter.
11:50 PM anonnumberanon: rue_shop3, so a bunch of transistors that disconnect the servo pwm lines until the micro is sending smooth pulses?
11:53 PM anonnumberanon: and those transistors or IC package would require a special input to enable the lines, because if they just require to be high, then when the micro starts it would first send some random higns probably, and that would negate the use of the chip
11:56 PM Snert: try 1 better servo. I bet it doesn't jitter.
11:56 PM anonnumberanon: very unlikely, Snert
11:57 PM anonnumberanon: but if im wrong i owe you a beer
11:57 PM anonnumberanon: alic1a, remember last statement
11:57 PM Snert: you'd have to et a better servo to see though.
11:58 PM anonnumberanon: i have an mg595 and a $30 other servo that's very good I'll give it a try
11:58 PM anonnumberanon: i could pick up an sg90 or whatever those are and see
11:58 PM Snert: no other changes, just plug in a diff servo.
11:58 PM anonnumberanon: yeah
11:58 PM anonnumberanon: and restart the micro
11:59 PM Snert: ppl bitch about those sg90 - look at them wrong and the gears strip.