dartros 0.0.3+8 dartros: ^0.0.3+8 copied to clipboard
A Dart implementation of a ROS 1 Client Library
import 'package:dartros/dartros.dart' as dartros;
Future<void> main(List<String> args) async {
final nh = await dartros.initNode('ros_node_1', args);
await nh.getMasterUri();
print(await nh.getParam('/foo'));
print(await nh.setParam('/foo', 'value'));
print(await nh.getParam('/foo'));
}