ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Add and use AP_GRIPPER_ENABLED

Open peterbarker opened this issue 3 years ago • 3 comments

This tidies many vehicle's existing GRIPPER_ENABLED define so we also remove random library functions which are gripper-related.

peterbarker avatar Sep 20 '22 07:09 peterbarker

remember any option we change we need to change the build_options.py and rebuild the features.txt, right?

Hwurzburg avatar Sep 20 '22 20:09 Hwurzburg

remember any option we change we need to change the build_options.py and rebuild the features.txt, right?

Yep. I'll be setting a cronjob up tomorrow to update the server every hour or something.

peterbarker avatar Sep 21 '22 12:09 peterbarker

dont think it needs to be every hour if its a load issue....every day or so should do if it is

Hwurzburg avatar Sep 21 '22 12:09 Hwurzburg

need to work out why Pixhawk1-1M saves flash space with this change

tridge avatar Sep 26 '22 23:09 tridge

need to work out why Pixhawk1-1M saves flash space with this change

Previously gripper was removed at the vehicle level, but the compiler was unable to remove the library functions. Now they're explicitly cut out based on the define: image image

peterbarker avatar Sep 27 '22 01:09 peterbarker