Skip to content
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

Transfer math to Eigen #319

Closed
14 tasks done
vooon opened this issue Jun 28, 2015 · 3 comments
Closed
14 tasks done

Transfer math to Eigen #319

vooon opened this issue Jun 28, 2015 · 3 comments

Comments

@vooon
Copy link
Member

vooon commented Jun 28, 2015

We already have some matrix math done by hand and TF bullet.
Also other dev's use Eigen with TF2, so seems that it required for #71.

TODO:

  • imu_pub
  • global_position
  • local_position
  • safety_area
  • setpoint_accel
  • setpoint_attitude
  • setpoint_position
  • setpoint_velocity
  • mocap_pose_estimate
  • px4flow
  • vision_pose_estimate
  • vision_speed_estimate
  • visualization
  • UAS class
@TSC21
Copy link
Member

TSC21 commented Jun 28, 2015

👍 finally! Just let me know what's needed.

vooon added a commit that referenced this issue Jul 1, 2015
vooon added a commit that referenced this issue Jul 1, 2015
vooon added a commit that referenced this issue Jul 2, 2015
* master:
  plugin: imu_pub fix #320: move constants outside class, else runtime linkage error.
  plugin: imu_pub #320: first attempt
  eigen #319: handy wrappers.
  eigen #319: add euler-quat function.
  test #321: remove duplicated test cases, separate by library.
  test #321: testing eigen-based transforms.
  mavros #319: Add Eigen dependency and cmake rule.
  0.12.0
  Prepare release 0.12
  test: import launch for imu testing
  test: apm sitl and imu test reproduction steps
  test: test for UAS::transform_frame_attitude_rpy() (ERRORs!)
  test: test for UAS::transform_frame_xyz()
  test: Initial import test_frame_conv
  test: Add test_marvros package stub
vooon added a commit that referenced this issue Jul 2, 2015
I don't think that PX4 support any other frame than LOCAL_NED.
So i removed comment.

Also style fix in setpoint_velocity.
@vooon vooon self-assigned this Jul 2, 2015
@vooon
Copy link
Member Author

vooon commented Jul 9, 2015

Ok, all code without tf listener are moved.
Exception is visualization because #336.

vooon added a commit that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 10, 2015
@vooon
Copy link
Member Author

vooon commented Jul 10, 2015

Ok, #71 now closed. So most of tf::Vector3 and tf::Quaternion are gone.

But i find strange code at distance_sensor, @TSC21 how RPY-Q may work if you give degrees to that function?
It wants radians. I think to refactor orientation enum.
I don't see where really may be needed euler angles (in degrees), while quaternions may be useful.
(even in your code - single usage of method - converts to q).

vooon added a commit that referenced this issue Jul 10, 2015
* master:
  fix #71: replace depend tf to tf2_ros.
  extras: distance_sensor #71: Purt to TF2.
  plugin: Use UAS::syncronized_header() for reduce LOC.
  lib #319: use similar names for covariances as eigen vector
  lib #319: transform_frame() for Covariance3x3
  lib #319: remove unused bullet based transform_frame()
  extras: vision_pose #71: Use TF2 listener.
  plugin #71: Implement TF2 listener. Change param names.
  uas #71: Use single TF2 objects for broadcasting and subscription.
  launch: Update configs.
  extras: viz #336: convert plugin to node.
  lib: Add UAS::quaternion_to_rpy()
  extras: vision_speed #319: use eigen based transform
  extras: vibration: Use UAS::synchronized_header()
  extras: px4flow #319: change transform_frame()
  extras: mocap #319: use eigen based transform
  plugin: safety_area #319: Change transform_frame()
  plugin: local_position #71 #319: port to TF2 and Eigen
  lib: Add UAS::synchonized_header()
  plugin: command: Add command broadcasting support.
vooon added a commit that referenced this issue Jul 10, 2015
tf::Vector3 and other tf1-bullet still in use.
vooon added a commit that referenced this issue Jul 10, 2015
* master:
  Can not remove tf package before #319 is done.
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
TSC21 pushed a commit to TSC21/mavros that referenced this issue Jul 12, 2015
vooon added a commit that referenced this issue Jul 23, 2015
@vooon vooon closed this as completed Jul 23, 2015
vooon added a commit that referenced this issue Jul 23, 2015
* master: (87 commits)
  package: comment-out c++03 related flags
  package: Replace YouCompleteMe config with @galou gist
  scripts: fix mavwp
  test: add test cases for new sensor orientation functions
  remove tf1 dep
  lib #319: Remove TF types from UAS
  plugin: param: new message type: ParamValue
  msgs: Move MAV_CMD values to separate msg
  plugin: command: fix build
  fix whitespaces in python scripts
  Added launch file for PX4 posix sitl to launch gcs_bridge node for bridging posix and gazebo
  scripts: mavftp: little speed up by aligning access to payload length
  launch: Add optional log_output arg
  distance_sensor #342: correct orientation parameter handling.
  lib #342: try to convert numeric value too
  Update iris_empty_world_offboard_ctl.launch
  px4_config: adapt to distance_sensor params to new features
  distance_sensor: restructure orientation matching and verification
  lib #342: Added sensor orientation string repr.
  test: fix prerelease building
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants