mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
* feat(rover): add high level encoder support Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fix(rover): add gz mixing interface to output encoder position Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fix(rover): add wheel encoder to logged topics, high rate sensors Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fix(rover): fix wheel encoder division by zero and stream iteration Corrected Roboclaw driver to initialize counts_per_rev, fixed wheel encoder stream to iterate over multiple wheels, and added trapezoidal integration to GZMixingInterfaceWheel. Removed unused RO_WHEEL_RAD from position controllers and restricted the wheel encoder stream to rover targets. Assisted-by: Qwen-Code Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fix(rover): adjust wheel radius default for SITL Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * Update src/lib/rover_control/rovercontrol_params.yaml Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * Update src/lib/rover_control/rovercontrol_params.yaml Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * Update msg/WheelEncoders.msg Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * chore(rover): fixes to decimal and constrained flash mavlink message Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * chore(gz): update encoder counts reference Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * chore(rover): fix to outdated encoder pos reference * fix(rover): update uorb message to account for 4 wheel encoders Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * Update msg/WheelEncoders.msg Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * fix(roboclaw): add in encoder position, counts per rev. Msg desc update Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * chore(wheel_encoders): add description to top of msg file for docs Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * chore(sim): fixes to initialize wheel pos m, rename wheel_encoder to wheel_distance Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * Update src/lib/rover_control/rovercontrol_params.yaml Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * Update src/modules/mavlink/streams/WHEEL_DISTANCE.hpp Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * Update src/modules/simulation/gz_bridge/GZMixingInterfaceWheel.cpp Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * Update src/modules/simulation/gz_bridge/GZMixingInterfaceWheel.hpp Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> * chore(rover): update wheel encoder msg, fixes to gz bridge Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * chore(rover): Apply batched suggestions from code review Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com> --------- Signed-off-by: dirksavage88 <dirksavage88@gmail.com> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Co-authored-by: Michael Fritsche <64464652+Frigiii@users.noreply.github.com>