Scanning for heartbeat messages & using AT commands(?)

I have several questions about the 3DR radios that I was hoping some developers might be able to answer to facilitate my thesis research...

[1] The 3DR wiki says 8 parameters must be the same for two 3DR radios to communicate, but I cannot find a fixed possible parameter value for two of these parameters (firmware version & LBT_RSSI)... can there be an infinite possible values for these parameters?

[2] I've tried using AT commands in the Linux terminal to change the values of these parameters, but I am getting no response at all from the 3DR ground-module... what are the proper Linux terminal commands (or other process, e.g. bash scripting) to modify individual parameters of the 3DR (USB) ground module?? Here's what I tried that elicited no response from the 3DR ground-module:

user@linux:~/MAVProxy# stty < /dev/ttyUSB0

speed 57600 baud; line = 0;

min = 0; time = 0;

-brkint -icrnl -imaxbel

-opost

-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

user@linux:~/MAVProxy# echo "+++" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATi" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATI" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATi5" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATI5" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATi+++" > /dev/ttyUSB0

always: nothing

[3] Could a 3DR ground-module be used to manually broadcast a heartbeat message? (e.g. using the the 3DR radio as an interface for Scapy to broadcast the MAVLink heartbeat message with rapidly changing & widely varying GPS data)

I would immensely appreciate answers to any/all of these, is it will greatly aid in conducting my experiments... THANKS!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    Hi Joe,

    I'd recommend you install and use mavproxy on Linux. Do this:

      apt-get install python-pip

      pip install pymavlink mavproxy

    The to connect to the radios use:

      mavproxy --baudrate 57600 --master /dev/serial/by-id/FTDI* --setup

    then use +++ followed by enter to get the OK prompt

    Then try:

    ATI

    and follow the rest of the commands from the docs

    Re your other questions. Firmware version is a 32 bit number, so 4 billion possible values. LBT_RSSI can only be in the range 0 to 255.

    The 3DR radios are point to point, and don't currently have the concept of a broadcast.

    Cheers, Tridge

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…