How to edit full-m0052.config file?
-
What do I need to do to edit the /etc/modalai/full-m0052.config file?
I have an RB5 here, I made the settings for it to connect to our wifi network (it is connected) but I am not able to connect through the QGC. Simply nothing happens, both on pc and mobile.
I have already disabled the firewall but it had no effect.
-
Is this the contents of the file? Is correct?
#!/bin/sh # PX4 commands need the 'px4-' prefix in bash. # (px4-alias.sh is expected to be in the PATH) . px4-alias.sh uorb start muorb start # Sleep a little here. A lot happens when the uorb and muorb start # and we need to make sure that it all completes successfully to avoid # any possible race conditions. sleep 1 # IMU (accelerometer / gyroscope) # Start this first because it gets the high rate interrupts coming in to the # DSP. Without this the DSP will oversleep and miss critical timeouts. # TODO: Why is that the case? qshell icm42688p start -s sleep 1 # Load in all of the parameters that have been saved in the file param load
-
@Djalma-Ribeiro Can you share what version of software you're running with
rb5-flight-versions
? -
@Djalma-Ribeiro And have you modified
rb5-net-check
to reflect your network's configuration:https://docs.modalai.com/Qualcomm-Flight-RB5-user-guide-px4/#system-bootup-behavior
-
@tom said in How to edit full-m0052.config file?:
rb5-flight-versions
Oh my gosh! I went to check the contents of the file and to my surprise it is not as described in the documentation!
[Unit] Description=rb5-net-check After=sscrpcd.service Requires=sscrpcd.service [Service] Type=oneshot ExecStart=/usr/bin/rb5-net-check wlan0 10.188 RemainAfterExit=yes [Install] WantedBy=multi-user.target
I changed it to 192,168 and now it connected!
-
@tom said in How to edit full-m0052.config file?:
@Djalma-Ribeiro Can you share what version of software you're running with
rb5-flight-versions
?I was unable to run this command.
-
@tom Firmware version 1.2.2alpha from QGC.
-
@Djalma-Ribeiro Glad to hear you got it going!
rb5-flight-versions
must not be included in the version of software you're on, all good -
@Djalma-Ribeiro Could you do an
ls /home
on your RB5 so I can see which software version is installed? -
@tom said in How to edit full-m0052.config file?:
@Djalma-Ribeiro Could you do an
ls /home
on your RB5 so I can see which software version is installed?linaro rb5-flight-sdk-1.0.5 testsig-util-0.2.tar.gz mavlink-routerd rb5-flight-sdk-1.1.3
rb5-flight-sdk-1.1.3 = I uploaded the folder yesterday but didn't update.
It's very old? do i need to update?
-
@Djalma-Ribeiro Awesome thank you, just wanted to make sure your RB5 had the SDK loaded properly, which it does.
It's not absolutely necessary to upgrade the SDK, if you do want to you can follow the steps here: https://docs.modalai.com/Qualcomm-Flight-RB5-sdk-installation/#how-to-upgrade
One note, if you try to upgrade the SDK while PX4 is running it will fail. So in order to upgrade the SDK you would have to disable PX4 from starting
systemctl disable rb5-px4-start
and then reboot your drone before upgrading your SDK.