forked from cra-ros-pkg/robot_localization
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ROS1 recent feature port (cra-ros-pkg#613)
* navsat_transform diagram to address cra-ros-pkg#550 (cra-ros-pkg#570) * add diagram for navsat_transform Signed-off-by: Mabel Zhang <mabel@openrobotics.org> * add diagram to tutorial Signed-off-by: Mabel Zhang <mabel@openrobotics.org> * Fix frame id of imu in differential mode, closes cra-ros-pkg#482 * Added local Cartesian option to navsat_transform * Fix navsat_transform issue with starting on uneven terrain * Fix typo in navsat_transform_node.rst (cra-ros-pkg#588) "prodives" -> "provides" * Fix sign error in dFY_dP in transfer function jacobian * Making repeated state publication optional (cra-ros-pkg#595) * PR feedback * Fixing build issues * Fixing stamp issues * Linting and uncrustifying Co-authored-by: Mabel Zhang <mabel.m.zhang@gmail.com> Co-authored-by: Jeffrey Kane Johnson <jeff@mapless.ai>
- Loading branch information
Showing
15 changed files
with
385 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
\documentclass{standalone} | ||
\usepackage{tikz} | ||
\usetikzlibrary{positioning} | ||
|
||
\begin{document} | ||
|
||
\sffamily | ||
|
||
\begin{tikzpicture}[>=stealth, | ||
node distance = 3cm, | ||
box/.style={shape=rectangle,draw,rounded corners},] | ||
% Nodes | ||
\node (wheel) [box] {Wheel Odometry}; | ||
\node (imu) [box, right =of wheel]{IMU}; | ||
\node (ekfLocal) [box, below =of wheel]{EKF Local}; | ||
\node (ekfGlobal) [box, below =of imu]{EKF Global}; | ||
\node (navsat) [box, right =7cm of ekfGlobal]{navsat\_transform}; | ||
\node (gps) [box, above =of navsat]{GPS}; | ||
% Coordinates for edges pointing to empty space | ||
\node (gpsF) [right =of navsat]{}; | ||
\node (tfLocal) [below =of ekfLocal]{}; | ||
\node (odomLocal) [left =of ekfLocal]{}; | ||
\node (tfGlobal) [below =of ekfGlobal]{}; | ||
% Edges | ||
\draw[->] (wheel.270) -- (ekfLocal.90); | ||
\draw[->] (wheel.315) -- (ekfGlobal.135) | ||
node [fill=white, pos=0.2, align=center] {\ttfamily"/wheel/odometry"\\nav\_msgs/Odometry}; | ||
\draw[->] (imu.225) -- (ekfLocal.45); | ||
\draw[->] (imu.315) -- (navsat.135); | ||
\draw[->] (imu.270) -- (ekfGlobal.90) | ||
node [fill=white, pos=0.2, align=center] {\ttfamily"/imu/data"\\sensor\_msgs/Imu}; | ||
\draw[->] (gps.270) -- (navsat.90) | ||
node [fill=white, pos=0.2, align=center] {\ttfamily"/gps/fix"\\sensor\_msgs/NavSatFix}; | ||
\draw[->, transform canvas={yshift=1mm}] (ekfGlobal) -- (navsat) | ||
node [fill=white, above=1mm, pos=0.5, align=center] {\ttfamily"/odometry/filtered/global"\\nav\_msgs/Odometry}; | ||
\draw[->, transform canvas={yshift=-1mm}] (navsat) -- (ekfGlobal) | ||
node [fill=white, below=1mm, pos=0.5, align=center] {\ttfamily"/odometry/gps"\\nav\_msgs/Odometry}; | ||
% Outputs not cycled back into the graph | ||
\draw[->, dashed] (navsat) -- (gpsF) | ||
node [fill=white, above=1mm, pos=1.0, align=center] {\ttfamily"/gps/filtered"\\sensor\_msgs/NavSatFix}; | ||
\draw[->, dashed] (ekfLocal) -- (tfLocal) | ||
node [fill=white, pos=0.7, align=center] {\ttfamily"/tf" odom -> base\\tf2\_msgs/TFMessage}; | ||
\draw[->, dashed] (ekfLocal) -- (odomLocal) | ||
node [fill=white, above=1mm, pos=1.0, align=center] {\ttfamily"/odometry/filtered/local"\\nav\_msgs/Odometry}; | ||
\draw[->, dashed] (ekfGlobal) -- (tfGlobal) | ||
node [fill=white, pos=0.7, align=center] {\ttfamily"/tf" map -> odom\\tf2\_msgs/TFMessage}; | ||
\end{tikzpicture} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.