JoonK
November 14, 2022, 12:37am
1
I2C communication is used to receive correction information from ublox f9p and operate RTK. However, when f9p is connected to px4, the i2c setting is changed to none, so correction information cannot be received.
Is there any way to make the i2c settings not change when connecting to px4?
where are you seeing none written in px4. Is it through the parameters section of the ground control software
It isn’t the parameter section but PX4 firmware to make the I2C of ubx disable.
/****************************************************************************
*
* Copyright (c) 2012-2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name PX4 nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
This file has been truncated. show original
In this page, the line from 655 to 659 which make the I2C of ubx disable should be disabled.
I think this part isn’t required because we can customize that as needed.
So if you can modify the firmware, please do that.
Thank you for your answer!