Robotics StackExchange | Archived questions

Spoofing GPS on ardupilot using gmapping

I've been working on creating a quadrotor that can autonomously navigate an obstacle course. Thus far, I have a neato xv-11 lidar and IMU data that goes into laserscanmatchernode. Out of laserscanmatcher comes the baselink to odom transform. This transform feeds into slamgmapping along with the scan data to build a map of the local environment. Here is a link to an rqtgraph of what I have running so far: www.dropbox.com/s/7scqst4brhwl7lh/diagram.png

My question is this: Does anyone know of a good way to take the Pose2d estimate from laserscanmatcher and send it to the ardupilot through the GPS port? I want to convince the ardupilot that it has a good GPS lock using the positional estimate. I believe the APM looks for NMEA messages.

I am completely at a loss as to how I should go about this. Any help would be very appreciated.

Asked by locustcox on 2014-03-27 13:46:35 UTC

Comments

Hi locustcox, I just thought this might be a useful info for you:

"... theĀ 3DR uBlox LEA-6 GPS is setup to deliver position and status data in a binary format, not in the NMEA sentence structure ..."

from https://sites.google.com/site/wayneholder/self-driving-car---part/evaluating-the-3dr-ublox-lea-6-gps

:)

Asked by Arif Rahman on 2014-03-27 21:54:50 UTC

Answers