forked from Archive/PX4-Autopilot
WIP, move some ORB defines
This commit is contained in:
parent
b93fcca433
commit
356e6f1eeb
|
@ -125,7 +125,7 @@ typedef intptr_t orb_advert_t;
|
||||||
* node in /obj if required and publishes the initial data.
|
* node in /obj if required and publishes the initial data.
|
||||||
*
|
*
|
||||||
* Any number of advertisers may publish to a topic; publications are atomic
|
* Any number of advertisers may publish to a topic; publications are atomic
|
||||||
* but co-ordination between publishers is not provided by the ORB.
|
* but co-ordination between publishers is not provided by the ORB.
|
||||||
*
|
*
|
||||||
* @param meta The uORB metadata (usually from the ORB_ID() macro)
|
* @param meta The uORB metadata (usually from the ORB_ID() macro)
|
||||||
* for the topic.
|
* for the topic.
|
||||||
|
@ -261,4 +261,11 @@ extern int orb_set_interval(int handle, unsigned interval) __EXPORT;
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
/* Diverse uORB header defines */ //XXX: move to better location
|
||||||
|
#define ORB_ID_VEHICLE_ATTITUDE_CONTROLS ORB_ID(actuator_controls_0)
|
||||||
|
ORB_DECLARE(actuator_controls_0);
|
||||||
|
ORB_DECLARE(actuator_controls_1);
|
||||||
|
ORB_DECLARE(actuator_controls_2);
|
||||||
|
ORB_DECLARE(actuator_controls_3);
|
||||||
|
|
||||||
#endif /* _UORB_UORB_H */
|
#endif /* _UORB_UORB_H */
|
||||||
|
|
|
@ -139,10 +139,3 @@ typedef param_t px4_param_t;
|
||||||
|
|
||||||
/* wrapper for rotation matrices stored in arrays */
|
/* wrapper for rotation matrices stored in arrays */
|
||||||
#define PX4_R(_array, _x, _y) PX4_ARRAY2D(_array, 3, _x, _y)
|
#define PX4_R(_array, _x, _y) PX4_ARRAY2D(_array, 3, _x, _y)
|
||||||
|
|
||||||
/* Diverese uORB header defiens */ //XXX: move to better location
|
|
||||||
#define ORB_ID_VEHICLE_ATTITUDE_CONTROLS ORB_ID(actuator_controls_0)
|
|
||||||
ORB_DECLARE(actuator_controls_0);
|
|
||||||
ORB_DECLARE(actuator_controls_1);
|
|
||||||
ORB_DECLARE(actuator_controls_2);
|
|
||||||
ORB_DECLARE(actuator_controls_3);
|
|
||||||
|
|
Loading…
Reference in New Issue