Code Monkey home page Code Monkey logo

hw1's Introduction

The file with instructions must be a .txt file and must contain (at least):

- Student ID ("Person Code"), name and surname of all team members
    10634706 Massimo Del Tufo
    10716950 Praneeth Reddy Arikatla
    
- small description of the files inside the archive
    parameters.cfg             configuration file for dynamic parameter to select integration method
    hw1.launch                 launch file set paramiter for init pose and run nodes
    Odom.msg                   custom message to pusblish odometry and integration method infos
    chiparam_approx.cpp        approximates chi parameter (for apparent baseline), it takes the mean value of all reasonable values
    filter_msg.cpp             synchronizes motor messages and convert them rpm -> rad/s, pusblish topic /scout_speeds
    gearratio_approx.cpp       approximates gearration taking the mean of all reasonable values (between 1/40 1/35)
    odometry.cpp               computes pose ("euler" "rk"), sets init pose, publish topics (/custom_message, /odom_approx) subs to /scout_speeds, service server ("set_odometry")
    odometry_tf.cpp            broadcasts TF robot child of odom frame
    reset_od_client.cpp        client to reset (0,0,0) pose
    set_od_client.cpp          client to set (x,y,th) pose
    SetOdometry.srv            declare service parameters

- name and meaning of the ROS parameters
    /initial_pose                    initial pose of the scout
    /odometry/integration_method     dynamic param to choose between integration methods "Euler" 0 or "Runge Kutta" 1

- structure of the TF tree
    /odom
        /robot

- structure of the custom message
    nav_msgs/Odometry odom
    std_msgs/String method

- description of how to start/use the nodes
    roslaunch hw1 hw1.launch                                                    to launch all the needed nodes
    rosrun dynamic_reconfigure dynparam set /odometry integration_method 0|1    "0" euler "1" rk
    rosrun hw1 set_od_client x y th                                             set robot's pose to a (x,y,th) position
    rosrun hw1 reset_od_client                                                  reset robot's pose to (0,0,0) position
    rosrun hw1 chiparam_approx                                                  computes the mean of a sequence of values derived from bags' topic /scout_odom
    rosrun hw1 gearratio_approx                                                 computes the mean of a sequence of values derived from bags' topic /scout_odom

- info you think are important/interesting
    for the computation of gear ratio and apparent baseline I've used the method suggested by prof. Cudrano, all values resulting from the computation (in a reasonable interval) were used to compute a mean value,
    so every value outside a given range were not considered, [1/40, 1/35] for gear ratio, [1.5, 2] for chi parameter. To visualize with 'rviz' use 'odom' as fixed frame.

hw1's People

Contributors

0xviking avatar kennyrotella avatar

Watchers

 avatar

hw1's Issues

remove global variables for gear ratio and chi

from P.Cudrano "remember that one of the key concepts in robotic middlewares is reusability. Remember also that ROS provides a specific way of dealing with customizable parameters. I would use a global variable for PI, for example, as it's never going to change, but I would prefer a ROS parameter for a value that might change if I change robot or modify the current one", better using static parameters within launch file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.