Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: decawave_network.cpp
- Revision:
- 3:1caa9d659257
- Parent:
- 2:fb2268373246
- Child:
- 5:0a6df7e647f3
- Child:
- 6:fcb5b7ec8ab2
- Child:
- 9:c70c81b4692f
--- a/decawave_network.cpp Thu Feb 16 17:44:29 2017 +0000
+++ b/decawave_network.cpp Thu May 25 17:21:11 2017 +0000
@@ -230,7 +230,7 @@
mavlink_msg_heartbeat_decode(&msg,&hb_msg);
printf("System ID %d Comp ID %d \r\n",msg.sysid,msg.compid);
nodes_in_range[msg.sysid]= msg.compid;
- last_heartbeat[msg.sysid]=LocalTimer.read();
+ last_heartbeat[msg.sysid]=LocalTimer.read();
// dwm_LED = !dwm_LED;
}
/* if(msg.msgid==MAVLINK_MSG_ID_FUSED_IMU) {
@@ -268,7 +268,7 @@
if(msg.msgid == MAVLINK_MSG_ID_LOCAL_POSITION_NED) {
mavlink_local_position_ned_t pose_msg;
mavlink_msg_local_position_ned_decode(&msg,&pose_msg);
- printf("System ID %d Comp ID %d \r\n",msg.sysid,msg.compid);
+ //printf("System ID %d Comp ID %d \r\n",msg.sysid,msg.compid);
node_pose[msg.sysid] = pose_msg;
}