Patrick Hammer
  • Hoboken, NJ
  • United States
Share Twitter

Patrick Hammer's Friends

  • Tom

Patrick Hammer's Groups

Patrick Hammer's Discussions

How to publish Ardupilot information to ROS topic

Started this discussion. Last reply by Chris Anderson Jun 28, 2011. 3 Replies

I'm trying to publish my Ardupilot's state information over serial (usb or xbee) to my computer running a ROS node listening to those serial messages and publishing the corresponding topic.I am…Continue

Tags: ardupilot, mavlink-ros, publish, mavlink, ROS

 

Patrick Hammer's Page

Latest Activity

David Jones left a comment for Patrick Hammer
"Hey Patrick, I was wondering if you were available to answer a couple questions for me.  I am trying to do something very similar to you with ROS and I am wondering what all you have achieved so that I don't have to reinvent the wheel, so…"
Jul 1, 2012
David Jones replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"Our idea is to be able to use collision avoidance algorithms on our planes while still running the ArduPlane software in the ROS enviornment.  Currently, we have developed a simulation within ROS to test our collision avoidance algorithms.…"
Jun 21, 2012
Patrick Hammer replied to Dom's discussion Where are the CAD files located?
"Do you know where to find these beutiful models? "
Feb 21, 2012
Patrick Hammer left a comment for Patrick Hammer
"I am looking for one also."
Feb 5, 2012
Francesco Muscio left a comment for Patrick Hammer
"No, I never get the APM flow chart.  Why should I ask them if I had them already? May be I don't understand your question."
Feb 5, 2012
Patrick Hammer replied to Alan Kitching's discussion Airborne Software Functional Description
"Did this ever get done? I could really use a nice diagram to show others how the code works."
Feb 2, 2012
Patrick Hammer replied to Alan Kitching's discussion Airborne Software Functional Description
"Did this ever get done? I could really use a nice diagram to show others how the code works. "
Feb 2, 2012
Patrick Hammer left a comment for Francesco Muscio
"Did you ever get the flow chart?"
Feb 2, 2012
Patrick Hammer replied to ljbha007's discussion Flying Android in the group ArduPlane User Group
"I agree that the PhoneDrone board is ideal for this. You should check out ROSJava to do your robot control and ground station interaction. It can run on Android."
Dec 16, 2011
Patrick Hammer replied to Garry Qualls's discussion Is this a group effort? in the group ROS User Group
"I found I could either hack together a mavlink solution using http://www.ros.org/wiki/mavlink-ros-pkg or integrate http://www.ros.org/wiki/rosserial into APM. I decided I would prefer the latter so I'm currently trying…"
Nov 4, 2011
Tom replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"Where is ArduinoHardware.h located? I don't have it in my rosserial package, or is it a part of ArduPilotMega code? Unfortunately I can't tell you where exactly to insert ros.h for your code to compile in ArduinoIDE, the reason being…"
Sep 24, 2011
Patrick Hammer replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"ArduinoHardware.h includes <HardwareSerial.h> Not sure the best way to modify this to use FastSerial.h instead."
Sep 23, 2011
Patrick Hammer replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"Ardupilot Mega compiles beautifully alone. As soon as I type #include<ros.h> I get a ton of errors which I will paste below: In file included from ArduPilotMega.cpp:28:/home/hammer/sketchbook/libraries/FastSerial/FastSerial.h:47:3: error:…"
Sep 23, 2011
Tom replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"Hi Patrick, check serial_fx.h in ROSSerial Arduino library, make sure this uses FastSerial and not the standard Arduino serial library. I guess that's what's not working. Maybe try including ros.h somewhere later, to make sure FastSerial…"
Sep 22, 2011
Patrick Hammer replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"Thanks for the reply. See my reply to Tom below   |  |  v"
Sep 22, 2011
Tom replied to Patrick Hammer's discussion ROSSerial compatibility with APM in the group ROS User Group
"Hi Patrick, sorry to reply so late, have you already solved your problem? I think I could help, I've been using ROSSerial with APM since it's available (also used avr_bridge before). What exactly is does the compiler say?"
Sep 20, 2011

Profile Information

About Me:
CS/ME Student in New York city doing robotics research
patrickhammer.com
github.com/pathammer
Tell us a bit about your UAV interest
Programing autonomous UAV

Patrick Hammer's Photos

Loading…
  • Add Photos
  • View All

Comment Wall (3 comments)

At 5:14pm on February 5, 2012, Francesco Muscio said…

No, I never get the APM flow chart.  Why should I ask them if I had them already?

May be I don't understand your question.

At 6:30pm on February 5, 2012, Patrick Hammer said…

I am looking for one also.

At 8:00am on July 1, 2012, David Jones said…

Hey Patrick, I was wondering if you were available to answer a couple questions for me.  I am trying to do something very similar to you with ROS and I am wondering what all you have achieved so that I don't have to reinvent the wheel, so to speak.  I am going to have a ROS node sending waypoints (as MAVlink messages) to our APM via XBEE serial comm.  Also, my ROS node will be listening for GPS coords (as MAVlink messages) that will be sent from the APM to ROS.  Have you been able to get row-mavlink-pkg running? Have you figured out the best way to send MAV messages from the APM?

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

  • X8

    X8

    130 members

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service