Git Product home page Git Product logo

Comments (10)

DanHert avatar DanHert commented on May 25, 2024

Hello, so we use the RTK a bit different, in all our applications, we have the radio receiver for RTK corrections connected straight to the RTK board, and the RTK board then sends the RTK position to the main computer, avoiding the Pixhawk completely. Our odometry node then subscribes the RTK messages (topic rtk_gps/global), which are used in the estimator.

We have not tried pushing the corrections through pixhawk, or getting the RTK position back from pixhawk, but it is definetly possible.

Dan H.

from mrs_uav_system.

maxhofidrone avatar maxhofidrone commented on May 25, 2024

Hi @DanHert,
thanks for the clarification. So basically, I could have any source of a RTK solution (own processing, Pixhawk...) and just need to assure, that I publish this solution to rtk_gps/global. the mrs_uav_odometry package will accept it as valid input then?

Best regards,

Max

from mrs_uav_system.

DanHert avatar DanHert commented on May 25, 2024

Yes, that is correct.

Cheers, Dan H.

from mrs_uav_system.

maxhofidrone avatar maxhofidrone commented on May 25, 2024

I now successfully set up a ublox F9P with a NTRIP correction service (source). According your last reply, I am now planing to write a simple publisher like void RtkRepublisher::callbackTersus(const mrs_msgs::BestposConstPtr &msg) to publish the mrs_msgs/RtkGps.msg. As I understand it based on the RtkRepublisher::callbackTersus, I don't need to provide the twist and pose within my RTK solution (which I don't have as it is a RTK only solution...). So I am wondering, what the original purpose of these twist/pose message parts you are using in
void RtkRepublisher::timerMain(const ros::TimerEvent &event)
is? Is it only when "simulating" RTK in Gazebo or does it have any further use in mrs_odometry?

Cheers,

Max

from mrs_uav_system.

DanHert avatar DanHert commented on May 25, 2024

Hi, you do not need to provide the twist and pose, lat and lon is enough. The twist and pose is intended to be used with UTM coordinates, so if you for some reason have the UTM instead of lat and lon, just fill out the frame id as UTM and use the pose and twist (some GPS/RTK receivers will give you position and speed, so that is the reason for the twist, also the quaternion in pose is not used at all).

And yes, the timerMain is only for simulation, it can also do random jumps in the RTK position (this can happen with the real RTK if you change from RTK Float to RTK Fix for example). So it is for testing failures of the RTK.

Dan H.

from mrs_uav_system.

maxhofidrone avatar maxhofidrone commented on May 25, 2024

ok.
Thank you very much for the help and clarification!

from mrs_uav_system.

maxhofidrone avatar maxhofidrone commented on May 25, 2024

Hello,
I integrated RTK within ROS and MRS with my custom publisher to /uav1/rtk_gps/global.
For actually using it I still have one question:
Where are the lever arms defined in MRS? (@DanHert you mentioned the Z-Offset in #43 (comment))
Or do I need to correct for the lever arms befor sending the positions to the MRS odometry fusion?

And just for clarification: I can use the RTK state estimation by just setting the lateral_estimator to RTK right?

Thanks for any help in advance!

from mrs_uav_system.

klaxalk avatar klaxalk commented on May 25, 2024

Hey, before flying, pull the uav_core. We have had a bad remapping of the RTK topic into the rtk_republisher node's launch.

from mrs_uav_system.

maxhofidrone avatar maxhofidrone commented on May 25, 2024

Hi,
I will do, but I don't understand why the rtk_republisher is relevant here for me? I am not using the Tersus RTK. I am using a ublox F9P and publishing its solution already to rtk_gps/global. My question concerns how to apply the lever arm of the RTK. Is it done inside MRS or should I correct it before publishing it to MRS.

from mrs_uav_system.

DanHert avatar DanHert commented on May 25, 2024

Hi, yeah you do not need the rtk_republisher. The lever arm is not handled at all by the system, so if you want to be as precise as possible, you need to correct it yourself.

Dan H.

from mrs_uav_system.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.