Skip to content

Instantly share code, notes, and snippets.

View WenchaoDing's full-sized avatar

Wenchao DING WenchaoDing

View GitHub Profile
@WenchaoDing
WenchaoDing / Carla ros helper
Last active December 21, 2018 15:03
Carla ros
#!/usr/bin/env python
from __future__ import print_function
#import ros packages
import roslib; roslib.load_manifest('carlaros_client')
import rospy
from sensor_msgs.msg import Joy
#self define ros msgs
from carla_msgs.msg import CarOdom
@WenchaoDing
WenchaoDing / Agent.msg
Last active December 1, 2017 13:15
Some message example
Header header
geometry_msgs/Pose pose
geometry_msgs/Point box_extent
uint32 agent_type
uint32 state
float64 vel
float64 theta #orientation
@WenchaoDing
WenchaoDing / simp_model.py
Created September 12, 2019 13:07
simp model
'''
# Filename : model.py
# Author : Wenchao Ding
# Date : 2018-06-25
'''
import math
import matplotlib.pyplot as plt
import numpy as np
import torch