Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merging 4.0 from upstream #1

Open
wants to merge 10,000 commits into
base: master
Choose a base branch
from
Open

Conversation

ajshank
Copy link
Member

@ajshank ajshank commented Jul 2, 2020

Migration to ChibiOS and a host of other features/bug fixes from 4.0 release.

andyp1per and others added 29 commits December 13, 2024 11:07
RunCam parameter conversion
add RunCam camera settings and control
correct camera info message and defend against -1
panic adds this within the HAL layer.
panic adds this within the HAL layer.
panic adds this within the HAL layer.
panic adds this within the HAL layer.
panic adds this within the HAL layer.
panic adds this within the HAL layer.
panic adds this within the HAL layer.
we take the square of this in the only use of it
the AP_CANManager::log_text() gets called from debug logging in
AP_DroneCAN. It is a method on a common AP_CANManager object which is
shared by multiple AP_DroneCAN threads.

if two threads call the debug log messages at the same time then we
can end up with _log_pos greater than LOG_BUFFER_SIZE (1024) and
overwrite past the end of the buffer

in the crash_dump we have for this case the next piece of memory was
hal.can[0], and the overwrite of the buffer had corrupted the
MessageRam_ structurre in the ChibiOS CAN interface code. That led to
a hardfault on receive of a CAN message

Note that this issue only happens if CAN_LOGLEVEL is set to greater
than zero, and the default is zero. So users can avoid the bug by
checking they have not changed CAN_LOGLEVEL.

Also, this is likely an issue that only happens on startup, as once
the two AP_DroneCAN threads are fully running they have the same
thread priority so can't pre-empt each other. During startup some
messages are sent from the main thread which has a different priority
to the AP_DroneCAN threads, and can thus trigger this issue
Hopefully makes it less likely for conflicts to happen and makes it
easier to find free indices.
Hasn't been released yet so let's not add more conflicts.
muramura and others added 30 commits January 2, 2025 23:22
that "f" in front of an f-string is important
* WSL is missing the default fonts
* Without this, the xterm font size is unusably small on high DPI
  displays
* xfonts-base is already installed on standard ubuntu versions

Signed-off-by: Ryan Friedman <[email protected]>
Update README.md: add bluetooth introduction to features

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about SERIAL8

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about RC

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: add description about "LED" pin

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about Loading Firmware

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about update firmware

Co-authored-by: Henry Wurzburg <[email protected]>

remove defaults.parm and defined default params in hwdef file

Update README.md: fix description about osd

Co-authored-by: Henry Wurzburg <[email protected]>

remove parameter define about serial4

Update README.md: add a section about BlueTooth
Update README.md: add bluetooth introduction to features

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about SERIAL8

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about RC

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: add description about "LED" pin

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about Loading Firmware

Co-authored-by: Henry Wurzburg <[email protected]>

Update README.md: fix description about update firmware

Co-authored-by: Henry Wurzburg <[email protected]>

remove defaults.parm and defined default params in hwdef file

Update README.md: fix description about osd

Co-authored-by: Henry Wurzburg <[email protected]>

remove parameter define about serial4

Update README.md: add a section about BlueTooth
* Prepare for more compile time features in soaring

Signed-off-by: Ryan Friedman <[email protected]>
The relevant linker flag needed to be put in the CMake script.
The relevant linker flag needed to be put in the CMake script.
Explain more thoroughly how the test works using lessons learned from
studying the compiled bytecode and function data.

Tested that it still fails after reverting the patches in PR #27652.
We haven't had non-recursive semaphores since PR #13323
(commits 1284f1b).
- FreeRTOS task functions must not return or exit.
- vTaskDelete(NULL) deletes the calling task.

Signed-off-by: Rhys Mainwaring <[email protected]>
- Resolve variable may be uninitialised error when compiling for ESP32.
- Exclude definition of clock_gettime for HAL_BOARD_ESP32
- Use #if not #ifdef for AP_DDS_GOAL_PUB_ENABLED
- Format #endif AP_DDS_GOAL_PUB_ENABLED
- Use #if not #ifdef for AP_DDS_STATUS_PUB_ENABLED
- Enclose rx_dynamic_transforms_topic declaration in #if ... #endif
- Enclose quaternion initializer in #if ... #endif
- AP_DDS_GOAL_PUB_ENABLED must also have AP_SCRIPTING_ENABLED

Signed-off-by: Rhys Mainwaring <[email protected]>

AP_DDS: configuration fixes

Signed-off-by: Rhys Mainwaring <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.