augroup ft_ros
autocmd! BufNewFile,BufRead */ros/*.py setfiletype python.rospy
+ autocmd! BufNewFile,BufRead */ros/*.cfg setfiletype python.roscfg
autocmd! BufNewFile,BufRead */ros/*.cpp setfiletype cpp.roscpp
autocmd! BufNewFile,BufRead */ros/*.h setfiletype cpp.roscpp
autocmd! BufNewFile,BufRead */ros/*.cfg setfiletype python.roscfg
--- /dev/null
+snippet add "Add a new reconfigure parameter" b
+gen.add("${1:Name}", ${2:int_t}, ${3:0}, "${4:$1}", default=${5:None}, min=${6:None}, max=${7:None})
+endsnippet
--- /dev/null
+snippet debug "Log Debug" b
+rospy.logdebug(${0:"message"})
+endsnippet
+
+snippet info "Log Info" b
+rospy.loginfo(${0:"message"})
+endsnippet
+
+snippet warn "Log Warning" b
+rospy.logwarn(${0:"message"})
+endsnippet
+
+snippet err "Log Error" b
+rospy.logerr(${0:"message"})
+endsnippet
+
+snippet fatal "Log Fatal" b
+rospy.logfatal(${0:"message"})
+endsnippet