mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 17:37:34 +08:00
Camera trigger: use double per interface spec
This commit is contained in:
@@ -486,7 +486,7 @@ CameraTrigger::test()
|
||||
struct vehicle_command_s cmd = {};
|
||||
cmd.timestamp = hrt_absolute_time();
|
||||
cmd.command = vehicle_command_s::VEHICLE_CMD_DO_DIGICAM_CONTROL;
|
||||
cmd.param5 = 1.0f;
|
||||
cmd.param5 = 1.0;
|
||||
|
||||
orb_advert_t pub;
|
||||
pub = orb_advertise_queue(ORB_ID(vehicle_command), &cmd, vehicle_command_s::ORB_QUEUE_LENGTH);
|
||||
|
||||
Reference in New Issue
Block a user