**** BEGIN LOGGING AT Sat Aug 17 03:00:04 2019 Aug 17 03:38:31 RagnarRainMaker: Heh? Aug 17 03:38:43 BBBlue and flight? Aug 17 03:38:45 hi Aug 17 03:38:58 Are you trying to get your BBBlue in the air and stay there? Aug 17 03:39:02 yah, I just ordered the remainder of the hardware Aug 17 03:39:06 Nice. Aug 17 03:39:24 I am upset w/ ArcGIS for now. I want to learn how to fly my BBBlue still. Aug 17 03:39:24 yah, trying to get 1.5 lbs useful load, with a gimbal camera and solar cells. Aug 17 03:39:30 Nice. Aug 17 03:39:43 Have you tried anything yet outside of hardware? Aug 17 03:39:55 What do you mean? Aug 17 03:40:17 Software like Px4, Dronekit, um, and ArduPilot? Aug 17 03:40:22 I've flown R/C for years, and I have my VFR if that's what you mean Aug 17 03:40:27 oh I see Aug 17 03:40:29 No. Aug 17 03:40:37 Like...what software if any are you using? Aug 17 03:40:53 Instead of programming everything yourself, are you using a "known" workaround? Aug 17 03:41:03 I have looked over INav, ArduPilot, and a few others. But, decided upon PX4 Aug 17 03:41:10 Oh. Aug 17 03:41:11 oh yah, for sure. Aug 17 03:41:16 Nice. Aug 17 03:41:27 I tried ArduPilot and failed for years. Aug 17 03:41:47 I am thinking of trying the librobotcontrol next. Aug 17 03:42:05 Oh yah? I read that PX4 is a takeoff from ArduPilot. Aug 17 03:42:32 haven't heard of librobotcontrol until now Aug 17 03:42:36 Oh. Aug 17 03:42:42 Let me get you a link. Aug 17 03:42:42 is it for robotics? Aug 17 03:42:46 Yes. Aug 17 03:43:15 https://github.com/StrawsonDesign/librobotcontrol. Aug 17 03:43:24 Obviously, that is their github page. Aug 17 03:43:36 They have another page online dedicated to their source. Aug 17 03:44:22 There are python bindings and some other source dedicated to that library. Aug 17 03:45:19 that project looks pretty cool. I dig that it has posix functions Aug 17 03:45:31 oh nice, Python is my jam Aug 17 03:45:47 http://strawsondesign.com/docs/librobotcontrol/ is the info. I used a year back to test some of their source. Aug 17 03:45:54 It works! Aug 17 03:46:30 sweet!! Aug 17 03:46:34 RagnarRainMaker: I tried the PDB w/ the BBBlue and there was nothing. I tried w/ a arduino and my motors and ESCs worked. Aug 17 03:47:00 Man, I'm glad you shared that info. I'm definitely gonna see what it can do for my project. Aug 17 03:47:12 From what I understand, it is not easy to just throw someone else's source together and have it work. Aug 17 03:47:23 ahh good to know Aug 17 03:47:25 i.e. ArduPilot and such. Aug 17 03:47:53 Do you have pics of your project? Aug 17 03:47:56 It is not easy to get support since everyone is on to their own projects. Aug 17 03:48:24 No. It does not work. Not only does it not work, I cannot get my ESCs to work w/ my motors. Three Phase! Aug 17 03:48:34 oh bummer Aug 17 03:48:52 I wonder if I'll have the same issue, because that's exactly the hardware I'm trying to connect Aug 17 03:48:58 For the life of me, I cannot get the ESCs to show power on the motor side. Aug 17 03:49:00 Who knows? Aug 17 03:49:07 huh, that's weird Aug 17 03:49:12 Now, if... Aug 17 03:49:40 I use the BBBlue w/ the link I provided, the Servo moves around and shows signs of life. Aug 17 03:49:53 From the Servo Headers. Aug 17 03:50:31 I was thinking of typing up my own software on this ordeal. I can make ground movement a thing but flight might be more difficult. Aug 17 03:50:40 pitch, yay, roll, and etc... Aug 17 03:50:49 yay = yah Aug 17 03:51:01 hmmm, yah Aug 17 03:51:04 Yep. Aug 17 03:51:32 could it be some kind of incompatability in the driver software?? Aug 17 03:51:52 I'm just thinking path of least work :-) Aug 17 03:52:10 RagnarRainMaker: I have heard everything on ArduPilot's side w/ the stories. They do not have time for me and my jargon. Aug 17 03:52:18 ... Aug 17 03:52:20 lol Aug 17 03:52:42 I was thinking...if you can do it, I might be able to also. Who knows? Aug 17 03:52:53 Well, if I have the same problem maybe we can link up on the typetty-type of some new software Aug 17 03:53:04 RagnarRainMaker: Are you planning on coming back here? Aug 17 03:53:05 Yea boy! Aug 17 03:53:09 I can definitely share whatever I find Aug 17 03:53:13 :-D Aug 17 03:53:18 Happy days await! Aug 17 03:54:15 I wonder some things. 20A 4-in-1 ESC, Four "three phase" motors, and the BBBlue. Aug 17 03:54:20 My goal is to build a VTOL inline-wing bi-plane. Kind of like an Osprey, but with two wings, one in front of the other Aug 17 03:54:28 Oh. Aug 17 03:54:29 Nice. Aug 17 03:54:39 yah? what's that? Aug 17 03:54:47 I was trying a quad. Aug 17 03:54:51 yaw? Aug 17 03:54:54 sorry. Aug 17 03:55:01 I typed yah. Aug 17 03:55:04 lol Aug 17 03:55:10 pitch! roll! Aug 17 03:55:16 Yep. Aug 17 03:55:29 you were saying you were wondering? Aug 17 03:55:46 I know. How hard could this task actually be? Aug 17 03:56:12 Is there any possibility you got a bad 4-in-1 ESC? Aug 17 03:56:16 or other bad hardware? Aug 17 03:56:20 Just spitballin Aug 17 03:56:23 I am still wondering why I just do not use my DC motors for this task. Aug 17 03:56:26 Could be. Aug 17 03:56:41 But...that would be two bad ESC packages back to back. Aug 17 03:56:54 ahh, yah. seems unlikely then Aug 17 03:57:06 I just threw out four ESCs b/c I thought they were bunk. Aug 17 03:57:13 oh man Aug 17 03:57:38 that is pretty weird, because it seems like you should just wire up the power and control leads and your off! Aug 17 03:57:49 I was receiving no power to the motors. I tested them. I receive no power on the farside of my ESCs to the motors (ever). Aug 17 03:57:50 what motors do you have? Aug 17 03:57:51 Right. Aug 17 03:57:55 Let me check. Aug 17 03:57:57 Please hold. Aug 17 03:57:59 woah, weird Aug 17 03:58:13 Aug 17 03:59:01 HobbySky 2204 Aug 17 03:59:08 I got four of them. Aug 17 03:59:10 They work. Aug 17 03:59:34 I just cannot get my ESC to talk to them. Technical Diff. for now. Aug 17 03:59:51 W/ the BBBlue and arduPilot. Aug 17 04:00:23 that is really weird. But, you were able to get them working with that other project? Aug 17 04:00:28 I can try another viable alternative. I just do not know what source would work and how. Aug 17 04:00:39 Well...I used an Arduino to test them. Aug 17 04:00:46 I wanted to make sure they worked. Aug 17 04:01:06 gotcha Aug 17 04:01:26 The 5v from the Arduino was easy. I found a simple set of commands and a source online. Aug 17 04:01:35 well, sorry about your troubles, and don't take this the wrong way, but I sure hope I can get mine to work Aug 17 04:01:46 Bam. Motors damn near got me a heartattack. Aug 17 04:01:49 Nice! Aug 17 04:02:03 can you paste me the commands? I want to do the same thing. I got a motor tester ordered, but it won't be here for a couple days. Aug 17 04:02:07 lol Aug 17 04:02:13 It's alive!! Aug 17 04:02:33 RagnarRainMaker: I am not taking anything the wrong way. If you can do it, more power to you. Aug 17 04:02:47 I like the BBBlue and the BBBW too. Aug 17 04:02:55 Always have. Most likely, always will. Aug 17 04:03:00 Well, if I get them to work, I can share what I find out Aug 17 04:03:17 Anyway, let me find that link. Aug 17 04:03:22 This is my first one, but the BBBlue seems like good hardware Aug 17 04:03:42 It is nice hardware. Nice processor. TI! Aug 17 04:04:03 Have you taken a look at their TRM? Aug 17 04:04:18 no, what's that? Aug 17 04:04:28 Technical Ref. Manual. Aug 17 04:04:40 ahhh lol Aug 17 04:04:42 for the processor. Aug 17 04:04:46 no, I haven't yet Aug 17 04:04:56 Dang. You and I have many years of work to accomplish. Aug 17 04:05:04 That TRM is bound full of info. Aug 17 04:06:12 https://www.instructables.com/id/ESC-Programming-on-Arduino-Hobbyking-ESC/. Aug 17 04:06:22 That is for testing one ESC only. Aug 17 04:06:35 Not the 4-in1 ESC. I had to change the source to get them to work. Aug 17 04:07:06 Now, I am pretty sure that is the diagram and info. I used. Aug 17 04:07:15 Wishy-Washy? Aug 17 04:07:20 Thanks, I'm gonna try that out tomorrow. Aug 17 04:07:36 I noticed it reads, "The ESC has a 5v(not used), GND and Signal Pin like a Servo" Aug 17 04:07:49 just wondering if that has something to do with it not working with the 4-in-1 Aug 17 04:08:13 maybe the 4in1 is outputting to the 5V?? Aug 17 04:08:25 Aw. Aug 17 04:08:28 Maybe. Aug 17 04:08:40 So, I need to not plug in power? Aug 17 04:08:51 5v = power? Aug 17 04:09:03 Oh. I got you now. Aug 17 04:09:31 perhaps. I'm thinking the high power leads you'd plug in, and only plug in the signal and gnd cables. Aug 17 04:09:40 Okay. Aug 17 04:09:47 So, that was it. Aug 17 04:09:47 Hey! Aug 17 04:09:55 Each of the three wires are all black. Aug 17 04:09:59 I read that with some ESCs the third wire (5V) should not be connected Aug 17 04:10:10 Oh. Aug 17 04:10:16 is it working now? Aug 17 04:10:51 I need to go and check. So, it may be that the "third wire," this 5v source, could be the issue? Aug 17 04:11:04 it's worth a shot Aug 17 04:11:28 Okay. Let me try another day. Aug 17 04:11:38 So, no 5v supply to my ESC. got it. Aug 17 04:11:39 I think some servos use the 5V as the power source. But, on higher powered motors, they use two larger red/black wires Aug 17 04:11:51 Hope it works! Aug 17 04:11:55 Hey. Aug 17 04:12:03 Let me go and check my ESC. Aug 17 04:12:05 Please hold! Aug 17 04:12:07 yea boy! Aug 17 04:12:16 Aug 17 04:13:10 doot, doot, doot. Aug 17 04:13:24 dah, dah, dah Aug 17 04:13:39 All my wires are black from the ESC to motors and all my motor wires are black too. Aug 17 04:13:47 Aw! Aug 17 04:14:03 oh man, great color scheme Aug 17 04:14:06 Right! Aug 17 04:14:08 Aw! Aug 17 04:14:17 so what then? Trial and error? Aug 17 04:14:22 I guess so. Aug 17 04:14:25 yikes Aug 17 04:14:40 plug the wrong two, it might start smoking Aug 17 04:14:44 I know. I need to make sure that the BBBlue does not get damaged. Aug 17 04:14:59 that would be bad mojo Aug 17 04:15:38 Yep. Instead of set_ taking flight, set_ goes to the garden hose. Aug 17 04:16:10 lol Aug 17 04:16:22 RagnarRainMaker: I can test them. Aug 17 04:16:34 I can use a multimeter for the...oh. Aug 17 04:16:55 I forgot that the signal is so low that there is no way to tell what voltage is coming out. Aug 17 04:16:59 multimeter, what's that? I just plug mine into the wall socket, if they pop it was the wrong lead Aug 17 04:17:10 he he he Aug 17 04:17:12 Yep, yep. Aug 17 04:18:01 RagnarRainMaker: Hey. How can I make sure I am using the correct wiring when promoting flight from my BBBlue? Aug 17 04:18:13 I found this video where a 3 wire servo is plugged into the BBBlue Aug 17 04:18:14 https://youtu.be/TZYydLRmh2g?t=159 Aug 17 04:18:18 Oh! Aug 17 04:18:22 Let me see. Brb. Aug 17 04:19:07 Yes. That is from librobotcontrol. Aug 17 04:19:14 ahhh Aug 17 04:19:17 It works. Aug 17 04:19:35 Man and to think, all I want to do is loiter. Sheesh. Aug 17 04:19:41 he he he Aug 17 04:20:11 RagnarRainMaker: Start a Github repo for it. I will co-sponsor it. We can work together. Aug 17 04:20:14 what 4in1 ESC do you have? Aug 17 04:20:19 done! Aug 17 04:20:24 Racestar 20A Aug 17 04:20:41 researching, stand by... Aug 17 04:20:45 Otay! Aug 17 04:22:18 earlier when you were saying all the wires are black, were you talking about the wires from the ESC to the motors? Aug 17 04:22:34 Yes. Aug 17 04:22:52 There are A, B, and C on them listed for "understanding." Aug 17 04:23:04 gotcha. I don't think those should matter. I'm no expert, but I seem to recall reading that you can plug them in any order. Aug 17 04:23:12 So, since there are 4, it would be like a1, b1, c1, and etc... Aug 17 04:23:19 Oh. Aug 17 04:23:23 switching the order might reverse the motor direction, but that should be it. Aug 17 04:23:45 my guess is the ESC isn't receiving the right control signal from the BBBlue Aug 17 04:24:04 Oh. Aug 17 04:24:09 I saw an article on how to wire up 4in1 in a "special" way, let me see if I can fine it Aug 17 04:24:20 Okay. Aug 17 04:25:04 Oh I think I see the issue. Aug 17 04:25:51 The 4-in-1 ESC you're using supports Dshot150 and Dshot300, but Dshot is not supported by the BBBlue Aug 17 04:26:24 Or maybe I mispoke. Dshot is not supported by Dronecode, which is PX4, which is derived from ArduPilot Aug 17 04:26:28 Check this out: Aug 17 04:26:28 https://docs.px4.io/v1.9.0/en/peripherals/esc_motors.html Aug 17 04:26:36 Okay. Aug 17 04:26:49 second paragraph, "PX4 supports ESCs that take a PWM input, ESCs that use the ESC OneShot standard, UAVCAN ESCs, PCA9685 ESC (via I2C), and some UART ESCs (from Yuneec). At time of writing PX4 does not support the DShot protocol." Aug 17 04:27:19 it would seem the fligtht controller software does not know how to speak Dshot to your ESC Aug 17 04:28:05 I ordered this one, because while it supports Dshot, it also support OneShot Aug 17 04:28:06 https://www.amazon.com/gp/product/B07TQL327M/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 Aug 17 04:28:07 Oh. Aug 17 04:28:53 Mine supports OneShot42. Is that the same thing? Aug 17 04:29:09 hmmm, I'm not sure Aug 17 04:30:06 Oh well. Aug 17 04:30:15 I will just get some other ESC again. Aug 17 04:30:19 Aw! Aug 17 04:30:28 where are you seeing your ESC support OneStar42? Aug 17 04:30:34 I will show you. Aug 17 04:30:41 I'm trying to find the manual, but haven't found it yet Aug 17 04:30:56 https://www.racerstar.com/racerstar-rs20ax4-20a-4-in-1-blheli_s-opto-esc-2-4s-support-dshot150-dshot300-for-rc-fpv-racing-drone-p-64.html Aug 17 04:31:56 ahh, I see that now Aug 17 04:32:00 I was looking at wrong one Aug 17 04:33:02 Well, if you wired motors up to Arduino and it worked, and assuming the 4-in-1 ESC is not bad, then it's gotta be the way the BBBlue is communicating with the 4-in-1 Aug 17 04:33:03 Oh. OneShot42 is analogue while Dshot is pwm/digital. Aug 17 04:33:12 right Aug 17 04:33:23 I need to use digital. Aug 17 04:34:49 Why you need digital? Aug 17 04:36:40 Um. No clue! Aug 17 04:36:46 he he he Aug 17 04:37:27 I guess I could set up the BBBlue and wire it to the ESC via ADC. Aug 17 04:37:42 Maybe that is it. Aug 17 04:37:43 seems like it might work Aug 17 04:37:53 I might just test this theory. Aug 17 04:40:48 So, the firmware that is on the RaceStar 20A is blheli_s and not blheli_32. Aug 17 04:40:49 Blah. Aug 17 04:40:54 I hate me. Aug 17 04:40:58 bah Aug 17 04:41:10 So, I guess I can use the ADC now. Aug 17 04:41:35 I'm guessing you might have already seen this, since you're using the same ESC, but... Aug 17 04:41:43 https://gist.github.com/jadonk/6080ca92d6e225eb89d33ad7744e1775 Aug 17 04:41:46 Yea. Aug 17 04:41:51 That is me. silver2row. Aug 17 04:42:20 I kept harassing him. I needed answers. Aug 17 04:42:20 oh he he he Aug 17 04:42:31 He knew more and I knew less. Aug 17 04:42:41 I wonder how he got that bird in the air? Aug 17 04:42:52 did you upgrade to the latest linux kernel? Aug 17 04:43:05 if you did, that might be the problem Aug 17 04:43:11 Yes. Well. 4.14.x or 4.19.x. Aug 17 04:43:14 I have tested both. Aug 17 04:43:26 have you tried other auto pilot software? Aug 17 04:43:43 I can get ArduCopter...heh? Aug 17 04:43:51 You mean what exactly? Aug 17 04:44:21 I was thinking this one Aug 17 04:44:21 https://docs.px4.io/v1.9.0/en/ Aug 17 04:44:22 oh. Like, Qgroundcontrol? Aug 17 04:44:29 Oh. yea. Aug 17 04:44:33 PX4 is based on ArduPilot Aug 17 04:44:36 ahh Aug 17 04:44:57 I have compiled arducopter and got it working on my BBBlue on kernel 4.14.x and 4.19.x. Aug 17 04:45:01 Now. I know the reason. Aug 17 04:46:04 The 32-bit processor, the am335x, cannot chat w/ the 20A ESC I have b/c the blheli_s only supports 8-bits instead of 32 like blheli_32. Aug 17 04:46:05 Right? Aug 17 04:46:24 based on what you're saying, that sounds right Aug 17 04:46:29 Odd! Aug 17 04:46:59 I need a new ESC again, again, and, again! Aug 17 04:47:27 well, don't you have the exact same ESC as in Jadonk's Github? Aug 17 04:47:38 You know. I might have already erased the current kernel w/ the compiled arduCopter on my BBBlue b/c I was too foolish to see this a year ago. Aug 17 04:47:39 Yes. Aug 17 04:47:45 That is why I think something is up. Aug 17 04:48:01 Like, what does he know? Aug 17 04:48:02 You know. Aug 17 04:48:12 Well, if you have the same exact hardware, and the hardware is good, then it must be the configuration. Aug 17 04:48:22 He must have done something unfamiliar to me to get it working. Aug 17 04:48:26 Right. Aug 17 04:48:43 I saw the section in the gist you posted. Aug 17 04:49:20 I'd recommend re-installing the OS from scratch, and follow the exact same steps Jadonk posted in his Github. If you don't deviate from those steps, it should work. Aug 17 04:49:22 There were a bunch of markings that mean absolutely nothing to me. Aug 17 04:49:45 Okay. Good idea. Aug 17 04:50:19 He's just writing directly to the file ArduCopter.stg. I don't understand them either, but if it worked for him... Aug 17 04:50:28 Yep. Aug 17 04:50:29 I know. Aug 17 04:51:01 either he wrote it down incorrectly, or you typed it differently Aug 17 04:51:09 Right. Aug 17 04:51:11 I can't think of any other possible explanations Aug 17 04:51:17 That is probably it. Aug 17 04:51:25 Who knows? Not me. Aug 17 04:51:30 and definitely don't upgrade the kernel Aug 17 04:51:34 Okay. Aug 17 04:51:52 I read that some newer kernels don't support all the hardware on the BBBlue Aug 17 04:52:01 Hey. Are you still going to make the github repo? Aug 17 04:52:04 oh I was just joking about that Aug 17 04:52:08 Hmm. Oh, like 5.0+? Aug 17 04:52:09 Okay. Aug 17 04:52:20 No issue. Aug 17 04:52:27 I thought we were just playing around :-D Aug 17 04:52:34 I understand less than you think. Aug 17 04:52:52 But, in the next week or so, I'll be assembling mine. If i get it working I'll definitely ping you. Aug 17 04:53:20 Yea. just hit me up and let me know if the Flying BBBlue can land too. Aug 17 04:53:30 he he you got it Aug 17 04:53:42 well, hey great chatting with you. I gotta get some dinner! Aug 17 04:53:51 Okay. Enough of us taking over #beagle. Aug 17 04:53:54 Got it. Aug 17 04:53:57 lol Aug 17 04:54:11 Peace! Aug 17 04:54:16 see ya Aug 17 14:46:24 Hi! How do i use pin h17 in bonescript? Aug 17 15:47:29 Or GPIO 1_25 Aug 17 15:47:38 I can’t see any way to use those pins **** BEGIN LOGGING AT Sat Aug 17 16:18:59 2019 Aug 17 17:46:21 god the terrible pin naming mess on the blue Aug 17 17:50:21 @zmatt: Do you know of any good resources for learning C++ on the BBB family of boards? Aug 17 17:51:03 I mean... Aug 17 17:51:18 I don't think you even understand python yet, I'm not sure trying to learn C++ is the best idea :P Aug 17 17:51:30 C++ is a complicated language Aug 17 17:51:45 I need to learn how to resort back to the TRM and the RM for the BBB while programming. Aug 17 17:51:49 I am lacking this skill still. Aug 17 17:52:23 the information in TRM is extremely unlikely to be of any use to you Aug 17 17:52:41 I have more C++ books than Python books. I just thought it would be nice to try the samples from Adafruit_BBIO when trying software as a starter. Aug 17 17:52:52 I mean. Aug 17 17:53:02 none of it is relevant when programming C++ applications on the BBB except in rare circumstances Aug 17 17:53:14 I know I need .h files when trying to use those "libraries" in C++. Aug 17 17:53:26 or preproccesor directives. Aug 17 17:53:51 that's calling "learning C++" and has nothing to do with the beaglebone Aug 17 17:54:06 I just do not know how to reference the TRM yet when programming the chip. Aug 17 17:54:13 generally speaking, you don't Aug 17 17:54:21 the TRM is mostly relevant to people who work on the kernel Aug 17 17:54:51 @zmatt: Oh. I saw this fellow program a small chip online and I was wondering if the am335x was similar in this respect. Aug 17 17:54:53 (and kernel programming is something I'd definitely recommend you to stay away from) Aug 17 17:55:02 Okay, Okay. Sheesh. Aug 17 17:56:25 @zmatt: Just give me one or two books that are worth the read for programming the chips in C++. Aug 17 17:57:10 I mean. If I start out w/ Atmel chips, fine. But...I would rather start out w/ the 32-bit am335x. Aug 17 17:57:21 I don't even know what you mean by that, and I don't know of any books... the only book I've read in years is "Ignition!" (which is a great book btw) Aug 17 17:57:40 Okay. Aug 17 17:57:42 the beaglebone is a linux system, not a microcontroller Aug 17 17:57:48 Okay... Aug 17 17:58:05 So, there has to be some driver in b/t the two of those things. Aug 17 17:58:06 Right? Aug 17 17:58:12 if you want to get a book on writing linux applications, get a book on writing linux applications... Aug 17 17:58:18 Got it. Aug 17 17:58:54 So, there is actually no way of programming the BBB outside of using the .h and includes, right (in C++)? Aug 17 17:58:54 I mean, there are ways to directly access peripherals from userspace, but there's definitely no book about that, and it requires a fair bit of care Aug 17 17:59:03 (py-uio does so for example) Aug 17 17:59:57 I am understanding that specific kernels offer specific files. These files can be used to program the BBB (a linux machine) in C++. Aug 17 18:00:47 as usual your questions are so strange and confused that merely reading them is causing my brain to slowly start dribbling out my left ear, so I think I'm off for now :P Aug 17 18:01:22 Fine! Aug 17 18:01:36 I will remember my C++ excursions into the BBB and get back to you. Aug 17 18:01:42 I will learn! **** ENDING LOGGING AT Sun Aug 18 02:59:57 2019