nparafe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nparafe has joined #beagle
nslu2-log has joined #beagle
set_ has quit [Ping timeout: 248 seconds]
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #beagle
Guest36 has joined #beagle
<Guest36> Hello!
<Guest36> Does anyone have knowledge on the beaglebone ai?
Guest36 has quit [Client Quit]
set_ has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
Shadyman has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 276 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
ikarso has joined #beagle
ft has quit [Quit: leaving]
mag has quit [Remote host closed the connection]
mag has joined #beagle
starblue has quit [Ping timeout: 276 seconds]
starblue has joined #beagle
Shadyman has quit [Quit: Leaving.]
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #beagle
<zmatt> what an odd question
otisolsen70 has joined #beagle
Guest53 has joined #beagle
<Guest53> what are the uses of BeaglePlay? its application??
Guest53 has quit [Quit: Client closed]
balrog has quit [Quit: Bye]
balrog has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
vagrantc has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
starblue has joined #beagle
brook has joined #beagle
ft has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
vagrantc has quit [Remote host closed the connection]
vagrantc has joined #beagle
mattb0ne has joined #beagle
<mattb0ne> i think i have unlocked a new speed of on the PRU
<mattb0ne> 4 times faster
<mattb0ne> or something is wrong with my code
<mattb0ne> lol
starblue has quit [Ping timeout: 246 seconds]
otisolsen70 has quit [Quit: Leaving]
<zmatt> mattb0ne: ?
<zmatt> mattb0ne: your code was never dependent on the speed of the PRU
<zmatt> it spent almost all of its time waiting on the load cell
<zmatt> but, maybe if you want feedback you should clarify what you've actually observed :P
<mattb0ne> right
<mattb0ne> which is what is so weird
<mattb0ne> i should of put /s
<mattb0ne> but it seems to be running 4 times faster than it should
<mattb0ne> i can paste bin a plot
<mattb0ne> one second
<zmatt> you're talking about the time between samples?
<zmatt> based on pru timestamps or based on time measured by the arm?
<zmatt> like, are you actually getting a higher rate of samples, or are the timestamps wrong?
<zmatt> and of course, what did you change between when it worked as expected and when it no longer did?
<zmatt> :P
mattb00ne has joined #beagle
<mattb0ne> if I plot this it appears to goingthrough the 600 points faster
<mattb0ne> or it is resettting
<mattb0ne> here is a plot
<zmatt> unrelated, so did you fix the communication issue you were having with the load cell?
<mattb0ne> i believe so
<mattb0ne> seperate PSU
<mattb0ne> cleaned it up
<zmatt> btw when you pastebin code, could you bother to select the correct language from the "Syntax Highlighting" popup? :P
<mattb0ne> i did not know you could do that
<mattb0ne> will do
<mattb0ne> the green is the input signal
<mattb0ne> the major difference is me taking out the encoder read
<mattb0ne> but the encoder was not my limiting step
<zmatt> I don't really know what I"m looking at
<mattb0ne> i have the pru code for the PID loop
<mattb0ne> the second is the recoreded information comping from the the PRU
<zmatt> your program is outputting 600 messages per second, corresponding to the 600 Hz samplerate of the load cell
<mattb0ne> right
<mattb0ne> but the plot says otherwise
<mattb0ne> what is weird is the green trace
<mattb0ne> which is the control signal
<mattb0ne> it repeats 4 times in a second
<mattb0ne> I should only be able to make one trace
<mattb0ne> so it is either not getting to the end
<mattb0ne> or something
<mattb0ne> i am just started looking at it
<mattb0ne> btb
<mattb0ne> brb
<zmatt> what's the signal_length you're communicating via shmem?
<mattb0ne> 600
<mattb0ne> so I have a 1 second period
<zmatt> you sure?
<mattb0ne> i guess I could pass it back out to make sure
<mattb0ne> good trouble shooting
<zmatt> I notice you're putting the cycle_count in each message, maybe include that in your log
<mattb0ne> ok
<mattb0ne> let me try that
brook has quit [Remote host closed the connection]
<zmatt> also why are your control_signal commented out? that seems like a bad idea
<zmatt> *control_signal limits
<zmatt> and is there a particular reason you keep the PRU running after it hits the cycle_limit ?
Shadyman has joined #beagle
starblue has joined #beagle
brook has joined #beagle
<zmatt> mattb0ne: btw it's probably a good idea to disable the motor (EPWM1A = 0;) in abort_at() before halting the pru core
<zmatt> also, currently your signal period is signal_length+1 instead of signal_length because your wrap condition is wrong... you're using counter > signal_length but it should be counter >= signal_length
<mattb0ne> back
<mattb0ne> oh
<mattb0ne> ok I will gix
<mattb0ne> fix
<mattb0ne> one question I did have is currently I only use P9_14 for the ehrpwm1
<mattb0ne> if I wanted full power would I need to use P9_16 as well
<zmatt> ???
<zmatt> "full power" ? they're just two separate PWM outputs
<mattb0ne> so you could control two devices
<mattb0ne> one on each pin?
<zmatt> ... they're two separate PWM outputs. what you do with them is up to you. if you don't need the second output you don't need to pinmux it, the overlay is just an example that muxes both output pins of the pwm controller
<mattb00ne> ok
mattb00ne has quit [Ping timeout: 260 seconds]
<zmatt> btw, I asked earlier but you haven't responses: why are your control_signal limits commented out? that seems like a bad idea