vagrantc has quit [Quit: leaving]
<set_> Hello...I am learning about PX4 autopilot now (along w/ other things). Does librobotcontrol work w/ this software?
<set_> or the BBBlue in general?
<set_> I saw a listing in their 1.12-stable docs. about BBBlue. So, I am just assuming it may work.
Patel has joined #beagle
<Patel> what is the code to check the python version on my beaglebone black?
<set_> python or python3
<zmatt> python3 --version
<zmatt> (python is still a link to python2, which is obsolete, deprecated, and unmaintained)
<Patel> I have my programs 2 years old coded in python 2, so will that be a problem while I run them on my BBB which has python 3
<zmatt> you can obviously continue to use python2, though I'd recommend working on migrating your code to python3, there are both guides and automated tools that can make the process easier
<Patel> Also a general question, the libraries that I had used earlier are obsolete and when I install the updated libraries can that effect the code/
<zmatt> (the end of life for python2 was originally scheduled for 2015 and later delayed to january 2020.)
<zmatt> I mean, that depends on the module I guess? this isn't really a python help channel... none of this has anything to do with the BBB specifically
<zmatt> many projects have dropped support for python2
<Patel> My BBB has three led's on all the time, I can login as debian and can run some code using that. But I wanted to check with you is there a problem because earlier I had a couple of LED's going on and off
<zmatt> ehhhh
<zmatt> which three leds?
<Patel> power, WL and BT
<zmatt> the BBB has no WL/BT leds, you probably mean the BBBW ?
<Patel> Those all three LED's are in a sequence
<Patel> R125, R124
xet7 has quit [Remote host closed the connection]
xet7 has joined #beagle
<zmatt> not really, the power led is next to the power plug, the wifi/bt leds are just put somewhere where there happened to be space near the wifi/bt chip
<zmatt> the power led indicates the system is powered, the wifi and bt leds indicate those functions are enabled (powered on, not necessarily in use)
<zmatt> earlier you said you had a "BBB rev C" (which doesn't have wifi or bt) so my understanding was you were talking about the user leds that light up during boot
<Patel> I have a BBB rev c and I have connected it to the wifi
<zmatt> no you don't
<zmatt> the BBB has ethernet, not wifi
<Patel> I have used the following code
<Patel> sudo connmanctl
<Patel> enable wifi
<Patel> scan wifi
<Patel> agent on
<Patel> services
<zmatt> the BBB (BeagleBone Black) and BBBW (BeagleBone Black Wireless) are different devices, be more precise. (the BBBW has no rev C)
<zmatt> please don't spam all that in chat
<Patel> sorry
<Patel> ya I do have BBBW, my bad
<Patel> just checked
<zmatt> if you followed a guide, just link to that. if you want to share a list of steps you performed and its output, use a paste service like pastebin.com
<Patel> Okay
<Patel> Since its a BBBW what about the three LED's
<zmatt> I already answered that
<zmatt> 02:58 <@zmatt> the power led indicates the system is powered, the wifi and bt leds indicate those functions are enabled (powered on, not necessarily in use)
<Patel> Cool
<Patel> How to check if I have Adafruit library on my BBB
<zmatt> it's installed by default
CrazyEddy has joined #beagle
<Patel> How can I install numpy
<zmatt> btw, beware that Debian Buster is the last debian release that supports python2, it is no longer supported in Debian Bullseye. I don't know when the official beagleboard.org images will transition from buster to bullseye, my guess is it'll still take a while, but just be aware that python2 is dead
<Patel> Thanks for the information
<zmatt> oh actually, Adafruit-BBIO is only preinstalled for python3 on the current image, not python2
<zmatt> numpy is also preinstalled, for python3
<Patel> I have this general question, do we have different libraries for different python versions?
<zmatt> usually not no
<zmatt> I don't think there's ever a reason to have different versions of a library for python2 and 3 (instead of one library that supports both), but I'm not a python expert
<zmatt> oh, numpy has dropped support for python2
<Patel> Is there a way to check if a library exist on my BBB
<Patel> Thanks for the numpy info. I will keep that in mind
<zmatt> you can get a list of installed python3 packages with: pip3 list
<zmatt> actually I'm not sure whether that also lists python libraries installed as debian packages
thinkfat_ has joined #beagle
thinkfat has quit [Ping timeout: 252 seconds]
<Patel> I used pip3 list and I can see all the libraries
<Patel> earlier I did install serial library but what I see is pyserial in that list
<Patel> Not sure if serial and pyserial are different
<zmatt> "pyserial" is a library for using serial ports, "serial" is a "A framework for serializing/deserializing JSON/YAML/XML into python class instances and vice versa" (and appears to be abandoned)
<Patel> Can you mention some automated tools that will help me convert my code from python2 to python3?
<zmatt> is google down?
<Patel> Since you were helping me out so much I thought you would have some good recommendation'=D
Shadyman has joined #beagle
set_ has quit [Quit: I thought I saw a puddy-cat...]
Patel has quit [Quit: Client closed]
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #beagle
set_ has joined #beagle
set_ has quit [Quit: I thought I saw a puddy-cat...]
set_ has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
ikarso has joined #beagle
insurgent has quit [Read error: Connection reset by peer]
insurgent has joined #beagle
CrazyEddy has quit [Quit: Reconnecting]
<set_> https://docs.px4.io/master/en/tutorials/linux_sbus.html shows a schematic of inverting via BJT NPN.
<set_> So, would I still have to port a TX pin (UART) from the BBBlue to the RX pin on the schematic to handle the 'inverted' SBus pin?
<set_> I ask b/c they are saying USB to TTL but I will not be using this converter on the schematic.
mothblur_ has joined #beagle
set_ has quit [Ping timeout: 252 seconds]
giort has joined #beagle
mothblur_ has quit [Quit: I thought I saw a puddy-cat...]
Shadyman has quit [Remote host closed the connection]
set_ has joined #beagle
giort has quit [Ping timeout: 260 seconds]
zjason` is now known as zjason
ikarso has quit [Quit: Connection closed for inactivity]
starblue has quit [Ping timeout: 260 seconds]
starblue has joined #beagle
giort has joined #beagle
buzzmarshall has joined #beagle
giort has quit [Quit: giort]
<zmatt> set_: the librobotcontrol sbus receiver uses pru-ecap instead of uart rx and doesn't need an inverter
<zmatt> (and you'd definitely never connect it to an uart tx (output) pin, that would probably destroy the beaglebone)
charlie5 has quit [Ping timeout: 260 seconds]
starblue has quit [Ping timeout: 252 seconds]
giort has joined #beagle
Patel has joined #beagle
<Patel> Is minimalmodbus supported in python 2
<zmatt> Patel: why don't you just do what anyone who reads this question would do: just google minimalmodbus. the first seach result is its documentation, one of the first things in the table of contents is "Dependencies"
Patel has quit [Quit: Client closed]
starblue has joined #beagle
charlie5 has joined #beagle
vd has quit [Quit: Client closed]
<set_> Okay...thank you.
<set_> I did notice the SiP getting really heated and the board would ultimately shutdown on its own.
<set_> Phew.
<set_> It still boots!
russ has quit [Ping timeout: 260 seconds]
vd has joined #beagle
russ has joined #beagle
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #beagle
sshrubber has joined #beagle
giort has quit [Quit: giort]
vagrantc has joined #beagle
Shadyman has joined #beagle
GenTooMan has quit [Ping timeout: 260 seconds]
GenTooMan has joined #beagle
GenTooMan has quit [Excess Flood]
GenTooMan has joined #beagle
russ has quit [Ping timeout: 265 seconds]
russ has joined #beagle