by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 07 06:50

    rmackay9 on master

    RPI2/Ubuntu: rename 1_create_ba… RPI2/Ubuntu: 1_Setup_user_and_u… RPI2/Ubuntu: simplify stage 2 … and 12 more (compare)

  • Jul 07 06:50
    rmackay9 closed #52
  • Jul 07 06:50
    rmackay9 commented #52
  • Jul 03 05:44
    rmackay9 labeled #52
  • Jul 03 05:44
    rmackay9 edited #52
  • Jul 03 05:43
    rmackay9 opened #52
  • Jun 12 07:06
    rmackay9 commented #51
  • Jun 12 06:21
    davidbuzz commented #51
  • Jun 12 05:48

    rmackay9 on master

    RPI2/Ubuntu: swap order of uhub… Common/Ubuntu: always use lates… Common/Ubuntu: add scripts to s… and 1 more (compare)

  • Jun 12 05:48
    rmackay9 closed #51
  • Jun 12 05:48
    rmackay9 commented #51
  • Jun 12 05:15
    rmackay9 opened #51
  • Mar 24 05:17

    rmackay9 on master

    Common/Ubuntu: add uhubctl inst… RPI2/Ubuntu: add clean-for-imag… RPI2/Ubuntu: all scripts made e… and 15 more (compare)

  • Mar 24 05:17
    rmackay9 closed #50
  • Mar 24 03:41
    rmackay9 commented #50
  • Mar 24 03:40
    rmackay9 synchronize #50
  • Mar 23 12:32
    rmackay9 commented #50
  • Mar 23 12:22
    rmackay9 synchronize #50
  • Mar 23 12:16
    rmackay9 synchronize #50
  • Mar 23 11:57
    rmackay9 synchronize #50
patrickpoirier51
@patrickpoirier51
@hughhugh you can use mavproxy to redirect serial to UDP (or TCP) over WIFI
arnav dhamija
@shortstheory
Hey, is there an APSync build for the Pi4 yet?
patrickpoirier51
@patrickpoirier51
@shortstheory yes here, see link at bottom
arnav dhamija
@shortstheory
Great, thanks.
I've been working a bit on touching up APStreamline these days and was wondering if anyone would like to give a hand with the refactor.
andriots
@andriots
do i need to calibrate radio and sensors so i would see information in apweb interface connected to TELEM2 port? I set up apweb on Jetson Xavier NX developer board(RPI ubuntu scripts) but i see no information in ardupilot web interface.

pixhawk2 cube is freshly flashed and just connected to the RX and TX pins via TELEM2 and configured according to reccommended Jetson TX2 setup. I understand that Gyro and such is not calibrated, but it should at least report voltage of the flight board?

the cube is just sitting on my table, not connected to drone at all.

andriots
@andriots
nvm got it working, RPI2 automated scripts work for Xavier XN
Kieran Skelly
@kieranskelly
Hi, what is the network manager that APSync uses? I recall it used to be nmcli but that is no longer present on the Ubuntu image for Raspberry Pi. What I would like to connect to an existing wifi network instead of broadcasting "ArduPilot"
Randy Mackay
@rmackay9
Hi there, more and more discussion is moving to discord so you are all invited to join us over there! https://ardupilot.org/discord
Bo Shang
@cnpcshangbo
Hi I tried the APSync image for Ubuntu on Raspberry Pi 4-B. The system says it need newer software. Do you have an image that works for raspberry pi 4-b or is there’s some method that I can build my own system with APSync? Does that image equal to Ubuntu Mate and pip installed APSync?
Bo Shang
@cnpcshangbo
I just noticed @patrickpoirier51 has answered this question earlier. Thanks. https://discuss.ardupilot.org/t/easier-setup-for-intel-realsense-t265/53991/25
darkratio
@darkratio
hi!, I want to use Nvidia TX2 development board with pixhawk 4 using UART1 of TX2 through telem2 of pixhawk but I am not able to establish the connection between then, any suggestions will be highly appreciated thanks!!
auturgy
@auturgy
andriots
@andriots
@darkratio note the rx-->tx connection and also you need the ground to be connected
darkratio
@darkratio
@andriots yes I checked that link, I am using Nvidia tx2 development board and trying to connect it to pixhawk directly through that, on the given UART1 port but I am not able to determine whether the connection is established or not between pixhawk telem2 port and tx2 UART1 port.
andriots
@andriots
what are you using in linux as the port? iirc i debugged it to /dev/TTYTHS0
I didn't fully debug it because Xavier NX arrived and I migrated to that
darkratio
@darkratio
it is assigned to /dev/ttyTHS2
but I can not send or receive any msg
check this thread, maybe it helps, I'm currently far from pc, can't check stuff. maybe tomorrow i can look into it
also I used a connecttech carrier board, official dev board should be easier to debug
darkratio
@darkratio
thank you @andriots, I will try to work with this, for now, let's hope it works!!
i used earlier connecttech carrier board but it had the same issue so I had to switch back to the original
Jaime Machuca
@jmachuca77
Run the scripts from the companion repo to set it up
darkratio
@darkratio
ok sure i will try
There are several things you need to do, like disable the console on that port. All that is done by the scripts
darkratio
@darkratio
sorry I am not expert with working on tx2 so I am bit confused.
sorry for the silly question, will this work on connecttech carrier board or also on the tx2 development board?
Bo Shang
@cnpcshangbo
@darkratio Can you show a photo so we can have a look at your connection?
Clear-feng
@Clear-feng
Hello,Can I use the TX2 not the Auvidea J120 board to connect to the PIXHAWK?
Clear-feng
@Clear-feng
I solve this problem now.
@Clear-feng Are you using tx2 development board?
darkratio
@darkratio
@cnpcshangbo I followed this https://github.com/DiegoHerrera1890/Pixhawk-connected-to-Jetson-Tx2-devkit to set up my connection but it didn't work out for me .
darkratio
@darkratio
@jmachuca77 I tried step by step according to the link you provided but still, I am not able to establish a connection between tx2 dev board and pixhawk telem2 port. please help me out in this. thanks!!
Jaime Machuca
@jmachuca77
What’s the output of ‘screen -list’ and ‘ps -e | grow tty’? Also what are the parameters on the flight controller for SERIAL2? Have you tried connecting MAVproxy directly? ‘mavproxy.py --master /dev/tryTHS1,921600’?
It’s “ps -e | grep tty”
Bo Shang
@cnpcshangbo
@darkratio It seems your baud rate of telem2 is not set to 921600.
Clear-feng
@Clear-feng
@Bo Shang hello, I’am using tx2 development board,but I didn't install APSync .According to the https://ardupilot.org/dev/docs/apsync-intro.html#apsync-intro , APSync is so important.
@darkratio helllo,I share my connection methods,hope to help you.Firstly,conenct the telem2 port to TX2's J17 UART by cable directly(Gnd to Gnd,RX to Tx,Tx to RX ).Secondly, git clone mavros https://github.com/Clear-feng/mavros to your TX2. Thirdly,conect pixhawk to computer by USB,open the mission planner,set the paramter SERIAL2_PROTOCOL = 1 SERIAL2_BAUD = 57 .At last , open the
TX2's terminal, one terminal typing : roscore; two terminal typing :roslaunch mavros apm.launch fcu_url:=/dev/ttyTHS2:57600.
The baud rate 57600 is consistent to your paramter of SERIAL2_BAUD in the MP
Clear-feng
@Clear-feng
Bo Shang
@cnpcshangbo
@Clear-feng I did not install APSYNC either.
Bo Shang
@cnpcshangbo
@darkratio Have you solved the connection issue?
darkratio
@darkratio
@cnpcshangbo I tried the above method suggested by @Clear-feng but when I try to check for the mavlink its just blank, not able to detect whether the connection is established or not.
can anyone please help me with some viable solution for the tx2 dev board connection with pixhawk using mavlink, it's been weeks I am stuck with the same issue not able to find any workable solution, please any suggestion or help with be appreciated thanks .
@Clear-feng I am using QGC with px4 firmware, mainly the solution I find is related to ardupilot which tends to not work in my case .