safe_drive 0.4.3

safe_drive: Formally Specified Rust Bindings for ROS2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: msg.rs

.SUFFIXES: .rs .c

all: msg.rs rcl.rs
	cp msg.rs ../../src/msg/$(ROS_DISTRO)/runtime_c.rs
	cp rcl.rs ../../src/rcl/$(ROS_DISTRO).rs

.c.rs:
	bindgen --blocklist-function atexit $< -o $@ -- -I/opt/ros/$(ROS_DISTRO)/include
	sed -i -e 's/"\* */"\* /'  $@

msg.rs: msg.c
	bindgen --blocklist-function atexit $< -o $@ -- -I/opt/ros/$(ROS_DISTRO)/include
	sh sed_crate.sh $@

clean:
	rm -f *.rs