forked from dji-sdk/Onboard-SDK-ROS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated ROS with latest Core API. Change to DJI_Hardriver to implemen…
…t default Getdevicestatus
- Loading branch information
Showing
14 changed files
with
297 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file currently only serves to mark the location of a catkin workspace for tool integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,7 @@ | |
|
||
#include "DJI_Type.h" | ||
|
||
|
||
|
||
#endif // DJI_LINK_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** @file DJI_Logging.h | ||
* @version 3.1.9 | ||
* @date August 15th, 2016 | ||
* | ||
* @brief | ||
* Implement logging functions for the SDK. | ||
* | ||
* @copyright 2016 DJI. All right reserved. | ||
* | ||
*/ | ||
|
||
#ifndef ONBOARDSDK_DJI_LOGGING_H | ||
#define ONBOARDSDK_DJI_LOGGING_H | ||
|
||
#include "DJI_API.h" | ||
#include "DJI_Type.h" | ||
|
||
namespace DJI { | ||
namespace onboardSDK { | ||
|
||
typedef struct __Command { | ||
uint8_t set_id; | ||
uint8_t id; | ||
} __Command; | ||
|
||
typedef struct __ActivationGetProtocolVersionCommand { | ||
uint8_t set_id; | ||
uint8_t id; | ||
uint8_t val; | ||
} __ActivationGetProtocolVersionCommand; | ||
|
||
enum __ActivationGetProtocolVersionAckCodes { | ||
AUTOPILOT_ACTIVATED = 0x0000, | ||
AUTOPILOT_NOT_ACTIVATED = 0xFF01 | ||
}; | ||
|
||
typedef struct __ActivationGetProtocolVersionAck { | ||
__ActivationGetProtocolVersionAckCodes status; | ||
uint32_t crc; | ||
uint8_t version[32]; | ||
} __ActivationGetProtocolVersionAck; | ||
|
||
void printFrame(HardDriver *hardDriver, Header *header, bool toAircraft); | ||
} | ||
} | ||
|
||
#endif // ONBOARDSDK_DJI_LOGGING_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.