-
Notifications
You must be signed in to change notification settings - Fork 103
Ported the ROS2 fox drivers to ROS1 Noetic #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
VineetTambe
wants to merge
20
commits into
f1tenth:main
Choose a base branch
from
VineetTambe:noetic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f075df8
[IMU]: added madgwick imu filter
VineetTambe dee9a72
added car.launch
Shreyas120 fc021e2
[Madgwick Fusion]: Added a new ros packages that convers VESC IMU mes…
VineetTambe c2ac089
[IMU Filter]: added remap params to launch file | added frame_id to p…
VineetTambe 5d140e7
Update README.md
VineetTambe 1817c25
[IMU parser] updated frame ids for transforms
VineetTambe c04814e
Update README.md
VineetTambe e13d321
removed car.launch, which was used for testing purposes
VineetTambe b2ae047
removed vesc_imu_msg_parser package and dependency on imu_tools
VineetTambe ed42c65
removed imu_tools from package.xml
VineetTambe 5f37bb2
restored package.xml to the version 1.1.0
VineetTambe 42ae666
restored CHANGELOG.rst
VineetTambe 6f1ea6b
reverted ackerman msgs CmakeList
VineetTambe de3c916
restored ros_lint build dependency for vesc_ackermann
VineetTambe c78c44f
autoformatted code
VineetTambe bf6e4d0
restored liscences to all files
VineetTambe 92bb299
revered exec_depend to depend
VineetTambe 0d0bf86
reverted license change
VineetTambe 424ef1d
removed commented out / unused code
VineetTambe 6f22df8
reverted madgwick filter for imu
VineetTambe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| *.swp | ||
| .vscode/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| # Veddar VESC Interface | ||
| # ROS1 VESC Package | ||
|
|
||
|  | ||
|
|
||
| Packages to interface with Veddar VESC motor controllers. See https://vesc-project.com/ for details | ||
|
|
||
| The ```noetic``` branch contains the ROS2 branch back ported to ROS1 such that it is compatible with VESC (tested on the VESC EDU) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
|
|
||
| # erpm (electrical rpm) = speed_to_erpm_gain * speed (meters / second) + speed_to_erpm_offset | ||
| speed_to_erpm_gain: 5420 #4614 | ||
| speed_to_erpm_offset: 0.0 | ||
|
|
||
| # Set gains for converting acceleration to current and brake control values | ||
| accel_to_current_gain: 100 | ||
| accel_to_brake_gain: -80 | ||
|
|
||
| tachometer_ticks_to_meters_gain: 0.00225 | ||
| # servo smoother - limits rotation speed and smooths anything above limit | ||
| max_servo_speed: 3.2 # radians/second | ||
| servo_smoother_rate: 75.0 # messages/sec | ||
|
|
||
| # servo smoother - limits acceleration and smooths anything above limit | ||
| max_acceleration: 2.5 # meters/second^2 | ||
| throttle_smoother_rate: 75.0 # messages/sec | ||
|
|
||
| # servo value (0 to 1) = steering_angle_to_servo_gain * steering angle (radians) + steering_angle_to_servo_offset | ||
| steering_angle_to_servo_gain: -1.2135 | ||
| steering_angle_to_servo_offset: 0.55 #0.5304 | ||
|
|
||
| # publish odom to base link tf | ||
| vesc_to_odom/publish_tf: false | ||
|
|
||
| # car wheelbase is about 25cm | ||
| wheelbase: .256 | ||
|
|
||
| vesc_driver: | ||
| port: /dev/sensors/vesc | ||
| duty_cycle_min: 0.0 | ||
| duty_cycle_max: 0.0 | ||
| current_min: 0.0 | ||
| current_max: 100.0 | ||
| brake_min: -20000.0 | ||
| brake_max: 200000.0 | ||
| speed_min: -23250 | ||
| speed_max: 23250 | ||
| position_min: 0.0 | ||
| position_max: 0.0 | ||
| servo_min: 0.15 | ||
| servo_max: 0.85 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,13 +14,18 @@ | |
| <author email="[email protected]">Michael T. Boulet</author> | ||
| <author email="[email protected]">Joshua Whitley</author> | ||
|
|
||
| <url type="website">http://www.ros.org/wiki/vesc</url> | ||
| <url type="repository">https://github.mit.edu/racecar/vesc</url> | ||
| <url type="bugtracker">https://github.mit.edu/racecar/vesc/issues</url> | ||
|
|
||
| <buildtool_depend>catkin</buildtool_depend> | ||
|
|
||
| <exec_depend>vesc_driver</exec_depend> | ||
| <exec_depend>vesc_msgs</exec_depend> | ||
| <exec_depend>vesc_ackermann</exec_depend> | ||
| <depend>vesc_driver</depend> | ||
| <depend>vesc_msgs</depend> | ||
| <depend>vesc_ackermann</depend> | ||
|
|
||
| <export> | ||
| <metapackage/> | ||
| </export> | ||
|
|
||
| </package> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several of these changes are breaking changes (removing existing parameters and renaming others). This means a new major version would have to be released. Not that I won't do it, just giving you a heads-up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will take a closer look and run some fixes for the noetic branch!
Thanks for the feedback! Very helpful to have another set of eyes on the code!