Ask Your Question
1

How can I control RC car ?

asked 2015-11-11 00:02:39 -0500

Kazuki Kadonaka gravatar image

Hello. Please help me. I'm sorry in poor English.

I want to remote control RC car by using PS3 joystick. RC car by Raspberry Pi 2 PS3 joystick by PC

joystick: rosrun joy joy_node

Problem is a program for controlling RC car by using ROS is I do not know. but I can control RC car by using wiringPi. Please teach me.

Raspberry Pi 2 ubuntu14.04 xubuntu ROS indigo

PC ubuntu 14.04 LTS ROS indigo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-01-03 15:14:27 -0500

rossi gravatar image

I think, it will be easier to connect an Arduino to your Raspberry pi. The arduino get the Information from the pi and will send it to the Servomotors.

The same like here: http://answers.ros.org/question/19404...

There is also the code to send the Infos to your Arduino. You need to install rosserial on your pi(including the arduino IDE, see tutorial http://wiki.ros.org/rosserial/Tutorials ) and copy the code from the Servo-controller-example for your motors. You need to extend the code for your setup.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-11 00:02:39 -0500

Seen: 1,855 times

Last updated: Jan 03 '16