This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def say_my_name(name): | |
| """ | |
| Print the current widget value in short sentence | |
| """ | |
| print(f'My name is {name}') | |
| widgets.interact(say_my_name, name=["Jim", "Emma", "Bond"]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # will need to be tweaked for your project | |
| make_minimum_required(VERSION 3.5) | |
| project(test_ros_pb11) | |
| # Default to C99 | |
| if(NOT CMAKE_C_STANDARD) | |
| set(CMAKE_C_STANDARD 99) | |
| endif() | |
| # Default to C++14 |
NewerOlder