New Forum Software: https://forum.piboso.com/index.php?topic=6568
Started by PiBoSo, July 18, 2018, 04:01:57 PM
Quote from: h106frp on November 01, 2018, 09:13:20 PMGot this working to read the data on a remote PC on my LAN via wireless edit proxy_udp[params]enable = 1port = 30000;ip = 127.0.0.1:30001; original localhostip = 192.168.1.20:30001 ;the IP of the client on the LANdelay = 1modify the line below in the original processing codeudp= new UDP(this,PORT_RX,HOST_IP);to readudp = new UDP (this,PORT_RX);very cool Should be able to make an e-dash using the raspberry pi now
Quote from: D4rw1n on April 25, 2019, 06:16:21 PMHowever, my intent in last post was mostly to get how to read & understand the rotation matrix values.
Quote from: D4rw1n on April 18, 2019, 11:31:05 AM@Piboso:I have updated my code that is pulling matrix elements from the payload with offsets as you have shown in your last post, but I keep getting different angle values between what is given from m_fYaw, m_fPitch and m_fRoll offsets and what I calculate from the matrix.Example:Condition: Motorcycle at rest (vertical, stopped).m_fYaw, m_fPitch & m_fRoll I get:Yaw: -37.37Pitch: 1.32Roll: -2.51Whilst matrix I get is:[ 0.79 -0.04 0.61 ][ 1.00 0.04 1.32 ][ 0.79 -2.51 0.06 ]Considering that following elements:[ R11 R12 R13 ][ R21 R22 R23 ][ R31 R32 R33 ]are mapped like so:R11 @offset 73R12 @offset 85R13 @offset 97R21 @offset 77R22 @offset 89R23 @offset 101R31 @offset 81R32 @offset 93R33 @offset 105