**** BEGIN LOGGING AT Tue Mar 05 02:59:57 2019 Mar 05 07:08:04 I'm trying to get Taranis SBUS protocol to work on DSM-interface. Got strange behaviour, shortly after the receiver started communicating the root file system started to go haywire. Seems like the receiver was pulling too much current from 3.3V, causing the flash to do "funny" stuff... Mar 05 07:08:19 Now powering from Servo rails, and that seems stable :) Mar 05 11:21:55 Right... - Now I have SBUS support working on librobotcontrol 1.0.4. I'm not experienced in making pull requests - I could use some guidance. Mar 05 11:22:51 I've cloned from origin/master, added 4 commits into a new branch, pulled latest changes from origin/master, rebased, and now need to create a pull request for the branch. Mar 05 11:23:07 if you haven't already, fork the project on github, commit and push to your fork (consider making a separate branch for it), then use the web interface to make that into a pull request Mar 05 11:23:54 * Knaldgas is forking now Mar 05 11:25:04 the reason for using a separate branch is because you can amend/revise your pull request by pushing to or otherwise changing that branch after doing the pull request Mar 05 11:27:35 Already branched, but I'm not (yet) familiar with fork, branch, push, pull-request :) Mar 05 11:28:09 "fork" and "pull-request" are github-specific concepts, not git in general Mar 05 11:28:20 fork basically means server-side clone Mar 05 11:29:09 pull-request is literally a request to pull changes, and is a collaboration feature Mar 05 11:31:11 so, since you already have a local repository, you'll probably want to do the following: Mar 05 11:31:27 git remote rename origin upstream Mar 05 11:31:30 Already forked, and pushed Mar 05 11:31:35 ok nm Mar 05 11:31:37 :D Mar 05 11:34:19 static int running; should be volatile-qualified since it is modified by a signal handler Mar 05 11:34:44 So, forked and 4 commits pushed to that fork, then what should I do? Mar 05 11:35:30 Right, probably also something that should be done with channels Mar 05 11:35:31 if you look at https://github.com/Knaldgas/librobotcontrol/tree/taranis_sbus_support you'll see there's a "Pull request" button Mar 05 11:36:01 AHH!!! :D Mar 05 11:36:06 Great, thanks Mar 05 11:36:22 Should probably modify those volatiles first... Mar 05 11:36:45 so are you using SBUS -> inverter -> uart in? Mar 05 11:37:16 Not exactly: SBUS (before inverter) -> uart in Mar 05 11:37:34 I wrote up a description in sbus.c on how to Mar 05 11:37:37 uhh, how can that work? my understanding was that SBUS is an inverted uart signal Mar 05 11:38:23 hmm Mar 05 11:38:30 It is, but the actual board has an explicit inverter to get the signal inverted. On the board there is an unpopulated 4-pin connector that actually has the un-inverted signal :) Mar 05 11:38:44 lol Mar 05 11:39:14 The SBUS specification must have been made with one paramount requirement: be as incompatible as absolutely possible! Mar 05 11:39:28 there is an actual specification? :P Mar 05 11:40:01 but ok, so this should also work with actual sbus -> inverter -> uart in Mar 05 11:40:01 2 stop-bits, even parity, nonstandard baudrate (100000 baud), and then electrically inverted... *sigh* Mar 05 11:40:11 I'm sure it will Mar 05 11:40:18 heh Mar 05 11:40:45 2 stop bits probably to make it easier for the receiving side when it's an el cheapo microcontroller Mar 05 11:40:50 (with badly written software) Mar 05 11:42:17 I've worked for a company that makes DMX controllers, and we actually had to add a feature in the firmware that increases the number of stop bits (when you configure the number of channels below a certain value) since some cheaper devices would otherwise behave erratically Mar 05 11:43:46 Ok Mar 05 11:44:14 Actually a bit surprised that they didn't go for 5 data bits and 1.5 stopbits :-p Mar 05 11:44:23 lol Mar 05 11:44:47 quite a few microcontrollers support 9-bit data Mar 05 11:44:58 that would be great Mar 05 11:50:01 SBUS 16 x 11 bits packed, not exactly pretty C code for handling that... Mar 05 11:50:59 shouldn't be too bad? Mar 05 11:51:52 Compared to the Ada equivalent? Mar 05 11:52:22 compared to some RTC I've used a while ago where the bit-endianness varied per field Mar 05 11:52:32 pfff :) Mar 05 11:52:37 :D Mar 05 11:53:56 I'm not sure, but Ada might actually be able to do that elegantly... hmm. Mar 05 12:05:20 I should probably fix the dsm.c volatiles as well... Mar 05 12:16:20 zmatt, thanks for assistance again: Pull request added successfully (as far as I can see :-)) Mar 05 15:21:19 Hey, guys, is there a github repo for the source code to the beaglebone debian userland? As in, can you build a full beaglebone image completely from source? Mar 05 15:29:52 n8vi: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Build_Instructions Mar 05 15:33:21 literally just found that and was about to post it back here Mar 05 15:33:22 thanks Mar 05 16:02:32 n8vi, you mean librobotcontrol? Mar 05 17:38:39 https://libreboot.org/docs/install/bbb_setup.html I cannot find Mar 05 17:42:06 https://libreboot.org/docs/install/bbb_setup.html I cannot understand these instructions. Can you tell how I wire the beaglebone black and soic16 clip? Pin b Mar 05 17:43:07 pin numbers shown here https://linuxhint.com/wp-content/uploads/2018/01/dd-1.png https://components101.com/sites/default/files/component_pin/Beaglebone-Black-Pinout.png Mar 05 21:21:30 Mardi Gras/Fat Tue. is upon us and the Bot will be commanded! Mar 05 21:22:56 "command me," set_! Mar 05 22:54:31 you're french set_ ? Mar 05 23:01:53 No. Mar 05 23:01:56 I am not. Mar 05 23:02:05 I am in the USA! Mar 05 23:02:32 The French brought Mardi Gras to Louisiana in 18xx. Mar 05 23:02:39 Some dude from France. Mar 05 23:03:25 mawk: Are you French? Mar 05 23:04:11 ... Mar 05 23:04:35 mawk: I am getting ready to hold a booth w/ this BBBW and MotorCape. Mar 05 23:04:51 I have this fancy bot I put together recently w/ the electronics from beagleboard.org. Mar 05 23:05:50 Currently, I am waiting for a USB to jack wiring so I can use the MotorCape on WiFi. Mar 05 23:07:49 I could have made it but I do not have the correct stuff on me. Mar 05 23:09:05 At least, I think I am out right now. I should have checked before getting happy. Mar 05 23:10:14 Speaking of cutting wires and setting up new connections...why are the wires so small in circumference on the jacks? Mar 05 23:10:52 I could not find the right size wire enscasement remover for the wires on those jacks. Mar 05 23:13:19 They are well below 22 AWG. Mar 05 23:13:41 yeah I'm french set_ Mar 05 23:13:44 Oh. Mar 05 23:13:46 Nice! Mar 05 23:14:01 Do you speak English well? Mar 05 23:14:16 I am American. Mar 05 23:14:30 I think, yes Mar 05 23:14:34 Cool! Mar 05 23:14:42 I raised myself with the internet, more or less Mar 05 23:14:46 and the internet speaks english Mar 05 23:14:50 Oh. Yea. Mar 05 23:15:24 Hey mawk: Have you ever stripped wires before when they were above 22 AWG? Mar 05 23:16:04 I think Mar 05 23:16:11 Okay. How did you go about it? Mar 05 23:16:31 it's a bit tricky to not cut any copper Mar 05 23:16:34 I have a manual tool Mar 05 23:16:40 Me too. Mar 05 23:16:45 I keep cutting wiring. Mar 05 23:17:13 The encasement comes off but so does the wiring. They have like five wires in the encasement for the wire jacks. Mar 05 23:18:00 What is so simple is giving me shivers at night. Mar 05 23:19:25 It is one of the easiest tasks in the electronics world. Bam! Unsuccessful at 100% for more than 8 tries. Mar 05 23:19:45 Luckily, my jack leads are very long. Mar 05 23:20:40 14 AWG = no issue at all; even 22 AWG = no issue; wire jack leads = %*#&! Mar 05 23:21:04 ... Mar 05 23:21:37 mawk: Do you think that if I was to power the BBBW via jack to usb to power bank, I could power on my BBBW? Mar 05 23:23:09 I say, yes. It can. It will and I will be satisfied. I will see. Mar 05 23:24:36 yeah set_ Mar 05 23:24:41 Okay. Mar 05 23:24:45 Good. I was out of options. Mar 05 23:24:46 the bbb doesn't have much current needs Mar 05 23:24:50 Okay. Mar 05 23:25:52 I have a powerbank that powers the BBB via sys_ but I have not tried it w/ the vdd_ (jack). Mar 05 23:28:11 All bets are off until that fancy bot listens. It is either that idea or I will resort to an older bot. Mar 05 23:29:29 So far, I am worried that the bot may be too fast on the ground. Mar 05 23:29:54 90 RPM. I know this is slow but I wanted it slower. Mar 05 23:30:05 I will indoors (I think). Mar 05 23:30:39 >be< Mar 05 23:33:04 https://www.robotshop.com/en/ghm-02-spur-gear-motor.html is the motor. It is actually 120 RPM on this motor. I was wrong. Mar 05 23:42:25 welp...bbl. **** ENDING LOGGING AT Wed Mar 06 02:59:57 2019