Turtlebot2 power for laptop
Hello,
I would like to use the battery of the Kobuki base of my turtlebot to give power to the laptop. I would like the laptop to take power from the Kobuki only when the Kobuki base is on the loading station. For that I need to activate or not the external power for the Kobuki. I found a function "Command Command::SetExternalPower(const DigitalOutput &digital_output, Command::Data ¤t_data)" in the file kobuki_driver/src/driver/command.cpp. And if I am right, this function allows us to activate or not the external power of the Kobuki. But I don't know how to use this function. Is there any documentation somewhere ? or examples ? Or should I use another function ?
Thanks for help. Caroline