thiemok / ros_rccar

An RC Car based on ROS indigo and the Raspberry Pi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ros_rccar

An RC Car based on ROS indigo and the Raspberry Pi.

###Requirements

Currently driving is possible via ros geometry_msgs/Twist to rc_car/cmd_vel or via joystick using joystick_control_node. Using the rc_car_lights_node requires sudo. The launch files are prepared for this, but you need to configure your environment to keep required environment variables when using sudo

Control via rc_car/cmd_vel

Use linear.x for throttle (to drive in reverse use negative values), linear.y is used for braking and angular.z for steering.

Control via joystick_control_node

Configure the node for your joystick via the launch file.
The node uses two trigger axes for throttle and brake, one axis for steering and a button to switch between gears and another button to switch between foward and backward driving directions.
Gear switching is done between HI and LOW gears, with configurable ratios. The gears are simply a modifier applied to the throttle value for finer control.

To configure the nodes use the included launch files.

The Readme will be extended as the project progresses.

About

An RC Car based on ROS indigo and the Raspberry Pi.

License:MIT License


Languages

Language:C++ 81.5%Language:CMake 18.5%