-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feature/ublox navpvt (#123) * sub ublox_msg & pub rtk_msg * eagleye works well for T4 rosbags * add enu2xyz_vel.cpp for ublox_msgs::NavPVT * rename ublox_node to navpvt2rtk_node * geographiclib handles angles as degree * remove personal config & modify fix2kml for color option * Fix bun in pose (#126) * Fix/foxy build error (#130) * Fix build error in foxy * Use nullptr instead of optional * Add CI for ros foxy * Fix build.yml * Fix build.yml * Update README.md * Feature/evaluation script ros2 (#141) * Add evaluation_script * Support south and west * Feature/canless ros2 (#144) * Update eagleye_core * Update eagleye_rt * Fix yaml error * Change the node to screen output * Remove pkg_check_modules * Remove pkg_check_modules in CMakeLists.txt * Feature/ros2 csv output (#145) * Fixed for data name * Fixed a name change error * Add log output in eagleye_rt * Fix conflict Co-authored-by: YutaHoda <[email protected]> * Add processing when input twist does not come in for a certain amount of time (#146) * Add covariance output (#147) * Add converted imu (#148) Co-authored-by: Kento Yabuuchi <[email protected]> Co-authored-by: YutaHoda <[email protected]>
- Loading branch information
1 parent
4d38e16
commit 951defe
Showing
77 changed files
with
4,953 additions
and
902 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
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 @@ | ||
.vscode/ |
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,23 @@ | ||
# Contributing to Eagleye | ||
## Repository branch structure | ||
- main-ros1 | ||
This is the latest stable version of Eagleye ROS1. It is updated every three months. | ||
- **develop-ros1** | ||
If contributors wish to add functionality to eagleye, they should create a new branch from this develop branch and submit a pull request. | ||
- main-ros2 | ||
This is the latest stable version of Eagleye ROS2. It is updated every three months. | ||
- develop-ros2 | ||
This is a branch to reflect changes in develop-ros1 to ros2 as well. | ||
MapIV develops eagleye functions mainly in ROS1, but if you are using eagleye in ROS2 and want to submit a PR, | ||
please submit a PR in this branch. | ||
- feature/<feature_name> | ||
Branches for new features and improvements | ||
- fix/<bug_name> | ||
Branch for fixing non-hotfix bugs | ||
- hotfix/<bug_name> | ||
Branch for fixing serious bugs in main branch | ||
## Pull Request | ||
When making a pull request, please describe what the pull request is about and how the reviewer can verify that it works. | ||
If you find after submitting a PR that it cannot be merged because it needs to be corrected, add [WIP] to the title of the PR and remove [WIP] from the title as soon as the correction is complete. | ||
## Coding Rule | ||
Please refer to the coding rules in the [ROS developer's guide](http://wiki.ros.org/DevelopersGuide) |
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
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,44 @@ | ||
// Copyright (c) 2019, Map IV, Inc. | ||
// All rights reserved. | ||
// | ||
// Redistribution and use in source and binary forms, with or without | ||
// modification, are permitted provided that the following conditions are met: | ||
// * Redistributions of source code must retain the above copyright notice, | ||
// this list of conditions and the following disclaimer. | ||
// * 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. | ||
// * Neither the name of the Map IV, Inc. 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 LIMITED TO, THE IMPLIED | ||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
// DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY | ||
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
#include "eagleye_coordinate/eagleye_coordinate.hpp" | ||
#include <GeographicLib/Geocentric.hpp> | ||
#include <eigen3/Eigen/StdVector> | ||
|
||
void enu2xyz_vel(double enu_vel[3], double ecef_base_pos[3], double xyz_vel[3]) | ||
{ | ||
using namespace GeographicLib; | ||
Geocentric earth(Constants::WGS84_a(), Constants::WGS84_f()); | ||
|
||
std::vector<double> rotation(9); | ||
double llh[3]; | ||
earth.Reverse(ecef_base_pos[0], ecef_base_pos[1], ecef_base_pos[2], llh[0], llh[1], llh[2], rotation); | ||
|
||
Eigen::Matrix3d R(rotation.data()); | ||
Eigen::Vector3d v_enu(enu_vel); | ||
|
||
Eigen::Map<Eigen::Vector3d> v_xyz(xyz_vel); | ||
v_xyz = R.transpose() * v_enu; | ||
} |
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
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.