Ask Your Question
0

hector slam and arduino help please

asked 2016-07-18 08:40:47 -0500

Emilien gravatar image

updated 2016-07-18 09:18:43 -0500

hi, i install ros kinetic on raspberry pi3 and i configure kinect with hector slam and all work well. now i want to implémante arduino to make a robot with 2 wheels, i install rosserial and i don't know how can i relate hector slam with arduino to control motors. i know that hector slam provide odometry. can you help me please? i don't know how can i control motors with hector slam

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-07-18 10:05:27 -0500

Hector_slam is used for mapping, not autonomous control. You could try taking a look at hector_exploration_planner.

Normally the way it works is a path planner will publish a set of velocities for the robot as a whole. You will need to write a node that will use the inverse kinematic equations for your particular robot to determine the individual wheel velocities required to achieve the desired motion.

edit flag offensive delete link more

Comments

thanks, i write a node arduino that publish rpm and subscribe to cmd_vel with ros serial, and i can control my robot with teleop_twist_keyboard. and also i create a package with hector slam that visualise a map. now i want to add odometry to hector_slam for autonomous mapping . what can i do please?

Emilien gravatar image Emilien  ( 2016-07-19 09:08:25 -0500 )edit

Hector_slam does not require odomtry

Icehawk101 gravatar image Icehawk101  ( 2016-07-19 09:34:16 -0500 )edit

so what can i do please? i dont found explication on hector navigation

Emilien gravatar image Emilien  ( 2016-07-19 17:14:14 -0500 )edit

Ok, so you've built a map using hector_slam and now you want to autonomously drive around that map? Is that right?

Icehawk101 gravatar image Icehawk101  ( 2016-07-20 07:26:37 -0500 )edit

nn i can build a map with hector slam but i move kinect with my hand. now i create a robot with 2 motors and arduino (i can controle manually motors with teleop_twist_keyboard) and i want to navigate with this motor autonomously to create a map. can you help me for this?

Emilien gravatar image Emilien  ( 2016-07-20 08:22:52 -0500 )edit

@Emilien I replied to you on another similar post you created.

@Icehawk101 Youve helped me before and i really appreciate your help. Could you please provide your insight on a couple things on hector navigation please?

http://answers.ros.org/question/23985...

RoSPlebb gravatar image RoSPlebb  ( 2016-07-21 12:41:18 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-07-18 08:40:47 -0500

Seen: 551 times

Last updated: Jul 18 '16