Difference between revisions of "Lentin Joseph's chefbot Code"

From wikidb
Jump to: navigation, search
(Motor Control C++ Source)
Line 19: Line 19:
 
= Motor Control C++ Source =
 
= Motor Control C++ Source =
  
   cd ~/ros_packages/LentinJoseph/mastering_ros/chapter_9_codes/_cpp/src
+
   cd ~/ros_packages/LentinJoseph/mastering_ros/chapter_9_codes/chefbot_navig_cpp/src
 
   ls  
 
   ls  
 
       bkup  diff_tf.cpp  twist_to_motor.cpp
 
       bkup  diff_tf.cpp  twist_to_motor.cpp
  
 
* twist_to_motor.cpp takes nav twist and converts to motor velocities
 
* twist_to_motor.cpp takes nav twist and converts to motor velocities

Revision as of 22:59, 22 September 2017

Code

Location

 ~/ros_packages/LentinJoseph/mastering_ros/

Motor Control Python Scripts

 cd ~/ros_packages/LentinJoseph/mastering_ros/chapter_9_codes/chefbot/chefbot_bringup/scripts
 ls
     bkup_working        pid_velocity.py        simple_navig_goals.py
     chefbot_teleop_key  robot_gui.py           twist_to_motors.py
     diff_tf.py          SerialDataGateway.py
     launchpad_node.py   SerialDataGateway.pyc
  • pid_velocity.py takes wheel velocity commands and does pid power
  • twist_to_motors.py takes navigation twist and converst to motor velocities

Motor Control C++ Source

 cd ~/ros_packages/LentinJoseph/mastering_ros/chapter_9_codes/chefbot_navig_cpp/src
 ls 
     bkup  diff_tf.cpp  twist_to_motor.cpp
  • twist_to_motor.cpp takes nav twist and converts to motor velocities