fix ros compile errors

This commit is contained in:
Thomas Gubler
2014-11-26 12:45:03 +01:00
parent 0474908e1c
commit 818a49b5a8
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -32,9 +32,9 @@ using namespace px4;
/**
* This tutorial demonstrates simple receipt of messages over the PX4 middleware system.
*/
void rc_channels_callback(const PX4_TOPIC_T(rc_channels) *msg)
void rc_channels_callback(const PX4_TOPIC_T(rc_channels) &msg)
{
PX4_INFO("I heard: [%lu]", msg->timestamp_last_valid);
PX4_INFO("I heard: [%lu]", msg.timestamp_last_valid);
}
namespace px4
{