Open fselius opened 9 years ago
Can we use this to change the camera position?
Yes!
i think this command should be followed with a param indicating which servo you would like to trigger.
Correct, it takes two parameters - the servo pin as you mentioned and the output value 1000 to 2000.
ok then. I'll implement it as a service call 'set_servo' is the string value. also, the channel number and the passed value (param1,param2) will be defined inside NavConfig.json.
Is it possible to set the passed values (param 1 & 2) when you call the service?
To activate the servo and drop the ball we'd like to call set_servo(param1 = 1, param2 = 1800)
, to stop the servo we'd like to call set_servo(param1 = 1, param2 = 1500)
. To change the camera orientation we'd call set_servo(param1 = 2, param2 = 2000)
etc.
Yup
On Sunday, August 16, 2015, fselius notifications@github.com wrote:
Is it possible to set the passed values (param 1 & 2) when you call the service?
To activate the servo and drop the ball we'd like to call set_servo(param1 = 1, param2 = 1800), to stop the servo we'd like to call set_servo(param1 = 1, param2 = 1500). To change the camera orientation we'd call set_servo(param1 = 2, param2 = 2000) etc.
— Reply to this email directly or view it on GitHub https://github.com/fselius/qtcopter/issues/62#issuecomment-131612238.
we need to keep in mind it might not be instantly, have to check it carefully
2015-08-16 22:47 GMT+03:00 Noam Yogev notifications@github.com:
Yup
On Sunday, August 16, 2015, fselius notifications@github.com wrote:
Is it possible to set the passed values (param 1 & 2) when you call the service?
To activate the servo and drop the ball we'd like to call set_servo(param1 = 1, param2 = 1800), to stop the servo we'd like to call set_servo(param1 = 1, param2 = 1500). To change the camera orientation we'd call set_servo(param1 = 2, param2 = 2000) etc.
— Reply to this email directly or view it on GitHub https://github.com/fselius/qtcopter/issues/62#issuecomment-131612238.
— Reply to this email directly or view it on GitHub https://github.com/fselius/qtcopter/issues/62#issuecomment-131612902.
ball drop servo
guys, are there any configurations that need to take place in the mission planner regarding the servo? still stuck on that issue. http://copter.ardupilot.com/wiki/common-optional-hardware/common-servo/
is there any chance that the numbering of the channels are not 1-1? maybe aux 1 is channel 8 ? @serbuh @shadows89
In order to drop the ball on target the Odroid needs to be able to control the AUX port of the Pixhawk. The mavlink command
MAV_CMD_DO_SET_SERVO
seems to do just that, need to figure out how to issue the command and verify that it does activate the servo.@efiShtain @noamyogev84