We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4df4940 commit 6fc9949Copy full SHA for 6fc9949
1 file changed
stow/zsh/.config/.pickle.sh
@@ -163,6 +163,18 @@ function kr70fk() {
163
docker exec -it dill_devcontainer python -c "from app.arm.kuka.kinematics.kinematics import make_kr70_kin; kin = make_kr70_kin(None); print(kin.forward(${q}))"
164
}
165
166
+
167
+# `rosbag` function run through rosbridge
168
+function rbag() {
169
+ bag_path=""
170
+ if [ "$#" -ge 2 ]; then
171
+ host_path=$(realpath "${2}" --relative-to="${HOME}/pickle_data_v1")
172
+ bag_path="/app/${host_path}"
173
+ fi
174
175
+ docker run -it --rm --network=host -v ${HOME}/pickle_data_v1:/app rosbridge:latest bash -c "rosbag $1 ${bag_path} ${@:3}"
176
+}
177
178
#######################################
179
# Dev container setup
180
0 commit comments